Skip to content

Commit ca5f75f

Browse files
author
wangxiaoleidz
committed
Add Maven management file
1 parent 1ce334d commit ca5f75f

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

pom.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>org.csource</groupId>
6+
<artifactId>fastdfs-client-java</artifactId>
7+
<version>1.25</version>
8+
<name>fastdfs-client-java</name>
9+
<description>fastdfs client with java</description>
10+
<packaging>jar</packaging>
11+
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15+
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
16+
</properties>
17+
18+
<build>
19+
<sourceDirectory>src</sourceDirectory>
20+
<plugins>
21+
<plugin>
22+
<groupId>org.apache.maven.plugins</groupId>
23+
<artifactId>maven-compiler-plugin</artifactId>
24+
<version>2.5.1</version>
25+
<configuration>
26+
<encoding>UTF-8</encoding>
27+
<skip>true</skip>
28+
<source>1.5</source>
29+
<target>1.5</target>
30+
</configuration>
31+
</plugin>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-jar-plugin</artifactId>
35+
<version>2.4</version>
36+
<executions>
37+
<execution>
38+
<phase>package</phase>
39+
<goals>
40+
<goal>jar</goal>
41+
</goals>
42+
<configuration>
43+
<excludes>
44+
<exclude>**/test/*.class</exclude>
45+
</excludes>
46+
</configuration>
47+
</execution>
48+
</executions>
49+
</plugin>
50+
</plugins>
51+
</build>
52+
</project>

0 commit comments

Comments
 (0)