|
@@ -180,25 +180,56 @@
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
+
|
|
|
+
|
|
|
<build>
|
|
|
- <finalName>recommend-server-service</finalName>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.8.1</version>
|
|
|
<configuration>
|
|
|
- <layout>ZIP</layout>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <source>11</source>
|
|
|
+ <target>11</target>
|
|
|
</configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
+ <version>3.2.1</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
+ <phase>package</phase>
|
|
|
<goals>
|
|
|
- <goal>repackage</goal>
|
|
|
+ <goal>shade</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</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>
|