|
@@ -55,14 +55,30 @@
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<build>
|
|
|
|
+ <!--使用Maven编译可执行的jar -->
|
|
<plugins>
|
|
<plugins>
|
|
<plugin>
|
|
<plugin>
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
+ <artifactId/>
|
|
<configuration>
|
|
<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>
|
|
</configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>make-assembly</id>
|
|
|
|
+ <phase>package</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>assembly</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
</plugin>
|
|
</plugin>
|
|
</plugins>
|
|
</plugins>
|
|
</build>
|
|
</build>
|