|
@@ -33,8 +33,6 @@
|
|
<module>rankin-trade-service</module>
|
|
<module>rankin-trade-service</module>
|
|
<module>rankin-cms-web</module>
|
|
<module>rankin-cms-web</module>
|
|
<module>rankin-api-web</module>
|
|
<module>rankin-api-web</module>
|
|
- <module>rankin-api-gateway</module>
|
|
|
|
- <module>rankin-cms-gateway</module>
|
|
|
|
<module>rankin-common-utils</module>
|
|
<module>rankin-common-utils</module>
|
|
<module>rankin-data-api</module>
|
|
<module>rankin-data-api</module>
|
|
<module>rankin-task</module>
|
|
<module>rankin-task</module>
|
|
@@ -71,29 +69,60 @@
|
|
</dependency>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
- <build>
|
|
|
|
- <plugins>
|
|
|
|
|
|
+ <!-- 插件配置 -->
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <!-- compiler插件, 设定JDK版本 -->
|
|
<plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
- <version>2.3.2</version>
|
|
|
|
|
|
+ <version>3.3</version>
|
|
<configuration>
|
|
<configuration>
|
|
- <source>1.8</source>
|
|
|
|
- <target>1.8</target>
|
|
|
|
|
|
+ <source>${java.version}</source>
|
|
|
|
+ <target>${java.version}</target>
|
|
<encoding>UTF-8</encoding>
|
|
<encoding>UTF-8</encoding>
|
|
|
|
+ <showWarnings>true</showWarnings>
|
|
</configuration>
|
|
</configuration>
|
|
</plugin>
|
|
</plugin>
|
|
|
|
+ <!-- source插件, 上传源码 -->
|
|
<plugin>
|
|
<plugin>
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-release-plugin</artifactId>
|
|
|
|
- <version>2.5.3</version>
|
|
|
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
|
+ <version>2.4</version>
|
|
<configuration>
|
|
<configuration>
|
|
- <useReleaseProfile>false</useReleaseProfile>
|
|
|
|
- <autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
|
|
+ <attach>true</attach>
|
|
</configuration>
|
|
</configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <phase>compile</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>jar</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
</plugin>
|
|
</plugin>
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
|
|
+ </plugins>
|
|
|
|
+ <pluginManagement>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
+ <version>1.5.7.RELEASE</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <outputDirectory>./target</outputDirectory>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>repackage</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+
|
|
|
|
+ </pluginManagement>
|
|
|
|
+ <finalName>${project.name}</finalName>
|
|
|
|
+ </build>
|
|
|
|
|
|
<repositories>
|
|
<repositories>
|
|
<repository>
|
|
<repository>
|