Skip to content

Commit 8994781

Browse files
committed
add package plugin
1 parent 7cd4fab commit 8994781

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

springboot-security/pom.xml

+19-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</parent>
1616

1717
<properties>
18-
<start-class>com.us.Application</start-class>
18+
<start-class>com.us.example.Application</start-class>
1919
<maven.compiler.target>1.8</maven.compiler.target>
2020
<maven.compiler.source>1.8</maven.compiler.source>
2121

@@ -76,5 +76,23 @@
7676

7777

7878
</dependencies>
79+
<build>
80+
<plugins>
7981

82+
<!--&lt;!&ndash;打依赖包&ndash;&gt;-->
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-shade-plugin</artifactId>
86+
<version>2.3</version>
87+
<executions>
88+
<execution>
89+
<phase>package</phase>
90+
<goals>
91+
<goal>shade</goal>
92+
</goals>
93+
</execution>
94+
</executions>
95+
</plugin>
96+
</plugins>
97+
</build>
8098
</project>

0 commit comments

Comments
 (0)