|
@@ -69,41 +69,6 @@
|
|
|
<directory>src/main/resources</directory>
|
|
<directory>src/main/resources</directory>
|
|
|
<filtering>true</filtering>
|
|
<filtering>true</filtering>
|
|
|
</resource>
|
|
</resource>
|
|
|
- <resource>
|
|
|
|
|
-
|
|
|
|
|
- <targetPath>${project.build.directory}/classes</targetPath>
|
|
|
|
|
-
|
|
|
|
|
- <directory>src/main/resources</directory>
|
|
|
|
|
-
|
|
|
|
|
- <filtering>true</filtering>
|
|
|
|
|
-
|
|
|
|
|
- <includes>
|
|
|
|
|
-
|
|
|
|
|
- <include>**/*.xml</include>
|
|
|
|
|
-
|
|
|
|
|
- <include>**/*.properties</include>
|
|
|
|
|
-
|
|
|
|
|
- </includes>
|
|
|
|
|
-
|
|
|
|
|
- </resource>
|
|
|
|
|
-
|
|
|
|
|
- <resource>
|
|
|
|
|
-
|
|
|
|
|
- <targetPath>${project.build.directory}/classes/META-INF/spring</targetPath>
|
|
|
|
|
-
|
|
|
|
|
- <directory>src/main/resources/</directory>
|
|
|
|
|
-
|
|
|
|
|
- <filtering>true</filtering>
|
|
|
|
|
-
|
|
|
|
|
- <!-- 这个是主配置,把他打包到META-INF/spring/ 其他的xml都在spring-all.xml里面包含了 当然名字自定义-->
|
|
|
|
|
-
|
|
|
|
|
- <includes>
|
|
|
|
|
-
|
|
|
|
|
- <include>spring-all.xml</include>
|
|
|
|
|
-
|
|
|
|
|
- </includes>
|
|
|
|
|
-
|
|
|
|
|
- </resource>
|
|
|
|
|
</resources>
|
|
</resources>
|
|
|
<plugins>
|
|
<plugins>
|
|
|
<plugin>
|
|
<plugin>
|
|
@@ -116,83 +81,35 @@
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
<plugin>
|
|
<plugin>
|
|
|
-
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
-
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
-
|
|
|
|
|
- <version>2.5</version>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <version>2.6</version>
|
|
|
<configuration>
|
|
<configuration>
|
|
|
-
|
|
|
|
|
<archive>
|
|
<archive>
|
|
|
-
|
|
|
|
|
<manifest>
|
|
<manifest>
|
|
|
-
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
<addClasspath>true</addClasspath>
|
|
|
-
|
|
|
|
|
- <classpathPrefix>lib</classpathPrefix>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <classpathPrefix>lib/</classpathPrefix>
|
|
|
<mainClass>com.zheng.upms.rpc.service.ZhengUpmsRpcServiceApplication</mainClass>
|
|
<mainClass>com.zheng.upms.rpc.service.ZhengUpmsRpcServiceApplication</mainClass>
|
|
|
-
|
|
|
|
|
- <useUniqueVersions>false</useUniqueVersions>
|
|
|
|
|
-
|
|
|
|
|
</manifest>
|
|
</manifest>
|
|
|
-
|
|
|
|
|
</archive>
|
|
</archive>
|
|
|
-
|
|
|
|
|
</configuration>
|
|
</configuration>
|
|
|
-
|
|
|
|
|
</plugin>
|
|
</plugin>
|
|
|
-
|
|
|
|
|
<plugin>
|
|
<plugin>
|
|
|
-
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
-
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
-
|
|
|
|
|
- <version>2.5</version>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <version>2.10</version>
|
|
|
<executions>
|
|
<executions>
|
|
|
-
|
|
|
|
|
<execution>
|
|
<execution>
|
|
|
-
|
|
|
|
|
<id>copy-dependencies</id>
|
|
<id>copy-dependencies</id>
|
|
|
-
|
|
|
|
|
- <phase>pre-package</phase>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <phase>package</phase>
|
|
|
<goals>
|
|
<goals>
|
|
|
-
|
|
|
|
|
- <goal>copy</goal>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
</goals>
|
|
</goals>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<configuration>
|
|
<configuration>
|
|
|
-
|
|
|
|
|
- <artifactItems>
|
|
|
|
|
-
|
|
|
|
|
- <artifactItem>
|
|
|
|
|
-
|
|
|
|
|
- <groupId>com.demo.dubbox.service</groupId>
|
|
|
|
|
-
|
|
|
|
|
- <artifactId>demo_order_api</artifactId>
|
|
|
|
|
-
|
|
|
|
|
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
|
-
|
|
|
|
|
- <overWrite>true</overWrite>
|
|
|
|
|
-
|
|
|
|
|
- </artifactItem>
|
|
|
|
|
-
|
|
|
|
|
- </artifactItems>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
</configuration>
|
|
</configuration>
|
|
|
-
|
|
|
|
|
</execution>
|
|
</execution>
|
|
|
-
|
|
|
|
|
</executions>
|
|
</executions>
|
|
|
-
|
|
|
|
|
</plugin>
|
|
</plugin>
|
|
|
</plugins>
|
|
</plugins>
|
|
|
</build>
|
|
</build>
|