Browse Source

🎉 优化依赖

test
smallchill 6 years ago
parent
commit
c2ad621894
  1. 2
      blade-example-api/pom.xml
  2. 24
      blade-example/blade-dubbo-consumer/pom.xml
  3. 25
      blade-example/blade-dubbo-provider/pom.xml
  4. 3
      blade-service-api/pom.xml
  5. 12
      blade-service/pom.xml

2
blade-example-api/pom.xml

@ -11,7 +11,7 @@
<artifactId>blade-example-api</artifactId>
<name>${project.artifactId}</name>
<version>${bladex.project.version}</version>
<version>2.0.0.RELEASE</version>
<packaging>pom</packaging>
<description>BladeX 微服务范例API集合</description>

24
blade-example/blade-dubbo-consumer/pom.xml

@ -49,4 +49,28 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy overwrite="true"
tofile="${session.executionRootDirectory}/target/${project.artifactId}.jar"
file="${project.build.directory}/${project.artifactId}.jar" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

25
blade-example/blade-dubbo-provider/pom.xml

@ -48,4 +48,29 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy overwrite="true"
tofile="${session.executionRootDirectory}/target/${project.artifactId}.jar"
file="${project.build.directory}/${project.artifactId}.jar" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

3
blade-service-api/pom.xml

@ -7,11 +7,12 @@
<groupId>org.springblade</groupId>
<version>2.0.0.RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>blade-service-api</artifactId>
<name>${project.artifactId}</name>
<version>${bladex.project.version}</version>
<version>2.0.0.RELEASE</version>
<packaging>pom</packaging>
<description>BladeX 微服务API集合</description>

12
blade-service/pom.xml

@ -4,18 +4,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>blade-service</artifactId>
<name>${project.artifactId}</name>
<version>${bladex.project.version}</version>
<packaging>pom</packaging>
<description>BladeX 微服务集合</description>
<parent>
<groupId>org.springblade</groupId>
<artifactId>BladeX-Biz</artifactId>
<version>2.0.0.RELEASE</version>
</parent>
<artifactId>blade-service</artifactId>
<name>${project.artifactId}</name>
<version>2.0.0.RELEASE</version>
<packaging>pom</packaging>
<description>BladeX 微服务集合</description>
<modules>
<module>blade-demo</module>
</modules>

Loading…
Cancel
Save