Skip to content

Commit f5d6bbd

Browse files
authored
add maven file
1 parent 765bec7 commit f5d6bbd

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

pom.xml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>EquationExploit</groupId>
8+
<artifactId>EquationExploit</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<build>
12+
13+
<plugins>
14+
15+
<plugin>
16+
<artifactId>maven-assembly-plugin</artifactId>
17+
<configuration>
18+
<archive>
19+
<manifest>
20+
<addClasspath>true</addClasspath>
21+
<mainClass>Main</mainClass>
22+
</manifest>
23+
</archive>
24+
<descriptorRefs>
25+
<descriptorRef>jar-with-dependencies</descriptorRef>
26+
</descriptorRefs>
27+
</configuration>
28+
<executions>
29+
<execution>
30+
<id>make-my-jar-with-dependencies</id>
31+
<phase>package</phase>
32+
<goals>
33+
<goal>single</goal>
34+
</goals>
35+
</execution>
36+
</executions>
37+
</plugin>
38+
39+
</plugins>
40+
</build>
41+
42+
<!-- 项目依赖的jar包 -->
43+
<dependencies>
44+
45+
</dependencies>
46+
47+
48+
49+
50+
<!-- 指定工程编码为UTF-8
51+
这样maven install就不会发出警告 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
52+
-->
53+
<properties>
54+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55+
</properties>
56+
57+
</project>

0 commit comments

Comments
 (0)