|
@@ -14,12 +14,6 @@
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
- <!--糊涂工具-->
|
|
|
- <dependency>
|
|
|
- <groupId>cn.hutool</groupId>
|
|
|
- <artifactId>hutool-all</artifactId>
|
|
|
- <version>4.0.12</version>
|
|
|
- </dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
@@ -43,4 +37,33 @@
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <appendAssemblyId>false</appendAssemblyId>
|
|
|
+ <descriptorRefs>
|
|
|
+ <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
+ </descriptorRefs>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <!-- 此处指定main方法入口的class -->
|
|
|
+ <mainClass>MinitorApplication</mainClass>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>assembly</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
</project>
|