<?xml version="1.0" encoding="UTF-8"?>
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<parent>
|
<artifactId>hangzhoumesParent</artifactId>
|
<groupId>com.mes</groupId>
|
<version>1.0-SNAPSHOT</version>
|
<relativePath>../pom.xml</relativePath>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>moduleService</artifactId>
|
<packaging>pom</packaging>
|
<modules>
|
<module>CacheGlassModule</module>
|
<module>CacheVerticalGlassModule</module>
|
<module>LoadGlassModule</module>
|
<module>TemperingGlassModule</module>
|
<module>UnLoadGlassModule</module>
|
<module>GlassStorageModule</module>
|
<module>hollowGlassModule</module>
|
</modules>
|
|
<properties>
|
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.target>8</maven.compiler.target>
|
</properties>
|
<dependencies>
|
<!--web 需要启动项目-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.velocity</groupId>
|
<artifactId>velocity-engine-core</artifactId>
|
<version>2.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
</dependency>
|
|
<!--依赖服务的工具类-->
|
<!-- <dependency>-->
|
<!-- <groupId>com.mes</groupId>-->
|
<!-- <artifactId>common</artifactId>-->
|
<!-- <version>1.0-SNAPSHOT</version>-->
|
<!-- </dependency>-->
|
|
<dependency>
|
<artifactId>servicebase</artifactId>
|
<groupId>com.mes</groupId>
|
<version>1.0-SNAPSHOT</version>
|
</dependency>
|
<dependency>
|
<artifactId>springsecurity</artifactId>
|
<groupId>com.mes</groupId>
|
<version>1.0-SNAPSHOT</version>
|
</dependency>
|
|
<!--开发者工具-->
|
<!-- <dependency>-->
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
<!-- <artifactId>spring-boot-devtools</artifactId>-->
|
<!-- <optional>true</optional>-->
|
<!-- </dependency>-->
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
</dependencies>
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<version>2.3.0.RELEASE</version> <!-- 根据你的Spring Boot版本调整 -->
|
<configuration>
|
<layout>ZIP</layout>
|
<includes>
|
<include>
|
<groupId>nothing</groupId>
|
<artifactId>nothing</artifactId>
|
</include>
|
</includes>
|
</configuration>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
<version>3.1.2</version>
|
<executions>
|
<execution>
|
<id>copy-dependencies</id>
|
<phase>package</phase>
|
<goals>
|
<goal>copy-dependencies</goal>
|
</goals>
|
<configuration>
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
<overWriteReleases>false</overWriteReleases>
|
<overWriteSnapshots>false</overWriteSnapshots>
|
<overWriteIfNewer>true</overWriteIfNewer>
|
</configuration>
|
</execution>
|
</executions>
|
</plugin>
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-resources-plugin</artifactId>
|
<version>3.2.0</version>
|
<executions>
|
<execution>
|
<id>copy-resources</id>
|
<phase>package</phase>
|
<goals>
|
<goal>copy-resources</goal>
|
</goals>
|
<configuration>
|
<outputDirectory>${project.build.directory}/config</outputDirectory>
|
<resources>
|
<resource>
|
<directory>src/main/resources</directory>
|
<filtering>true</filtering>
|
</resource>
|
</resources>
|
</configuration>
|
</execution>
|
</executions>
|
</plugin>
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-jar-plugin</artifactId>
|
<version>3.2.0</version>
|
<configuration>
|
<archive>
|
<manifest>
|
<addClasspath>true</addClasspath>
|
<classpathPrefix>lib/</classpathPrefix>
|
<mainClass>${java.run.main.class}</mainClass>
|
</manifest>
|
<manifestEntries>
|
<Class-Path>resources/</Class-Path>
|
</manifestEntries>
|
</archive>
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|