Skip to content

Commit

Permalink
pom.xml增加打出jar包的配置
Browse files Browse the repository at this point in the history
  • Loading branch information
zhumingxin committed Jan 18, 2019
1 parent 3a5181b commit 0b20c78
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,28 @@
<additionalAppResources>${project.basedir}/src/main/resources</additionalAppResources>
</configuration>
</plugin>
<plugin>
<artifactId> maven-assembly-plugin </artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.zzg.mybatis.generator.MainUI</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 0b20c78

Please sign in to comment.