Commit 8994781a authored by 杨伊博's avatar 杨伊博

add package plugin

parent 7cd4fab2
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</parent> </parent>
<properties> <properties>
<start-class>com.us.Application</start-class> <start-class>com.us.example.Application</start-class>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
...@@ -76,5 +76,23 @@ ...@@ -76,5 +76,23 @@
</dependencies> </dependencies>
<build>
<plugins>
<!--&lt;!&ndash;打依赖包&ndash;&gt;-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment