|
@@ -55,14 +55,30 @@
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
+ <!--使用Maven编译可执行的jar -->
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <artifactId/>
|
|
|
<configuration>
|
|
|
- <source>11</source>
|
|
|
- <target>11</target>
|
|
|
+ <appendAssemblyId>false</appendAssemblyId>
|
|
|
+ <descriptorRefs>
|
|
|
+ <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
+ </descriptorRefs>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>com.wzkj.zhai.contact.Application</mainClass>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
</configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>assembly</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|