|
|
@@ -192,8 +192,43 @@ |
|
|
|
</properties> --> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
<mainClass>com.hp.user.service.UserServiceApplaction</mainClass> |
|
|
|
<executable>true</executable> |
|
|
|
</configuration> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<goals> |
|
|
|
<goal>repackage</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</plugin> |
|
|
|
<!-- <plugin> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
<version>2.6</version> |
|
|
|
<configuration> |
|
|
|
<archive> |
|
|
|
<manifest> |
|
|
|
<addClasspath>true</addClasspath> |
|
|
|
<classpathPrefix>lib/</classpathPrefix> |
|
|
|
<mainClass>com.hp.user.service.UserServiceApplaction</mainClass> |
|
|
|
</manifest> |
|
|
|
</archive> |
|
|
|
</configuration> |
|
|
|
</plugin> --> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
<!-- <plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-shade-plugin</artifactId> |
|
|
|
<version>2.4.1</version> |
|
|
@@ -205,9 +240,9 @@ |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<transformers> |
|
|
|
<!-- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
|
|
|
<mainClass>com.xxg.Main</mainClass> |
|
|
|
</transformer> --> |
|
|
|
</transformer> |
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
|
|
|
<resource>META-INF/spring.handlers</resource> |
|
|
|
</transformer> |
|
|
@@ -218,7 +253,7 @@ |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
</plugin> --> |
|
|
|
|
|
|
|
</plugins> |
|
|
|
</build> |