|
@@ -15,6 +15,11 @@
|
|
|
web服务入口
|
|
|
</description>
|
|
|
|
|
|
+ <properties>
|
|
|
+ <project.name>${project.artifactId}-release-${project.parent.version}</project.name>
|
|
|
+ <project.build.libUrl>${project.build.directory}/${project.name}/${project.name}/lib</project.build.libUrl>
|
|
|
+ </properties>
|
|
|
+
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
@@ -85,40 +90,62 @@
|
|
|
<artifactId>warewms-ams</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.ruoyi</groupId>
|
|
|
+ <artifactId>warewms-hard</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>2.1.1.RELEASE</version>
|
|
|
+ <configuration>
|
|
|
+ <fork>true</fork> <!– 如果没有该配置,devtools不会生效 –>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ <version>3.1.0</version>
|
|
|
+ <configuration>
|
|
|
+ <failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
+ <warName>${project.artifactId}</warName>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
+ </build>-->
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
+
|
|
|
+
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>2.1.1.RELEASE</version>
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ <fork>true</fork> <!– 如果没有该配置,devtools不会生效 –>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
@@ -156,11 +183,30 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <version>2.10</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-dependencies</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <outputDirectory>${project.build.libUrl}</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
+
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>make-assembly</id>
|
|
@@ -168,14 +214,13 @@
|
|
|
<goals>
|
|
|
<goal>single</goal>
|
|
|
</goals>
|
|
|
-
|
|
|
<configuration>
|
|
|
|
|
|
- <finalName>${project.artifactId}</finalName>
|
|
|
+ <finalName>${project.name}</finalName>
|
|
|
|
|
|
<recompressZippedFiles>false</recompressZippedFiles>
|
|
|
-
|
|
|
- <appendAssemblyId>true</appendAssemblyId>
|
|
|
+
|
|
|
+ <appendAssemblyId>false</appendAssemblyId>
|
|
|
|
|
|
<descriptors>
|
|
|
<descriptor>package.xml</descriptor>
|