|
@@ -183,21 +183,19 @@
|
|
|
|
|
|
|
|
|
<build>
|
|
|
+ <finalName>recommend-server-service</finalName>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.8.1</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-shade-plugin</artifactId>
|
|
|
- <version>3.2.1</version>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <mainClass>com.tzld.piaoquan.recommend.server.dataloader.OfflineAdOutSamplesLoader</mainClass>
|
|
|
+ <layout>ZIP</layout>
|
|
|
+ </configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
- <phase>package</phase>
|
|
|
<goals>
|
|
|
- <goal>shade</goal>
|
|
|
+ <goal>repackage</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
@@ -205,26 +203,4 @@
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
-
|
|
|
-<!-- <build>-->
|
|
|
-<!-- <finalName>recommend-server-service</finalName>-->
|
|
|
-<!-- <plugins>-->
|
|
|
-<!-- <plugin>-->
|
|
|
-<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
-<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
|
-<!-- <configuration>-->
|
|
|
-<!-- <mainClass>com.tzld.piaoquan.recommend.server.dataloader.OfflineAdOutSamplesLoader</mainClass>-->
|
|
|
-<!-- <layout>ZIP</layout>-->
|
|
|
-<!-- </configuration>-->
|
|
|
-<!-- <executions>-->
|
|
|
-<!-- <execution>-->
|
|
|
-<!-- <goals>-->
|
|
|
-<!-- <goal>repackage</goal>-->
|
|
|
-<!-- </goals>-->
|
|
|
-<!-- </execution>-->
|
|
|
-<!-- </executions>-->
|
|
|
-<!-- </plugin>-->
|
|
|
-<!-- </plugins>-->
|
|
|
-<!-- </build>-->
|
|
|
-
|
|
|
</project>
|