OSDN Git Service

mofify resetPwd to resetPassword name
[bytom/bytom-java-sdk.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project xmlns="http://maven.apache.org/POM/4.0.0" 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>io.bytom</groupId>
8     <artifactId>bytom-sdk-java</artifactId>
9     <version>1.0-SNAPSHOT</version>
10     <packaging>jar</packaging>
11
12     <name>bytom-sdk-java</name>
13     <!-- FIXME change it to the project's website -->
14     <url>http://www.example.com</url>
15
16     <developers>
17         <developer>
18             <name>successli</name>
19             <email>successli@outlook.com</email>
20             <url>https://github.com/successli</url>
21         </developer>
22     </developers>
23
24     <properties>
25         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26     </properties>
27
28     <dependencies>
29         <dependency>
30             <groupId>junit</groupId>
31             <artifactId>junit</artifactId>
32             <version>4.12</version>
33             <scope>test</scope>
34         </dependency>
35         <dependency>
36             <groupId>log4j</groupId>
37             <artifactId>log4j</artifactId>
38             <version>1.2.17</version>
39         </dependency>
40         <dependency>
41             <groupId>com.squareup.okhttp</groupId>
42             <artifactId>okhttp</artifactId>
43             <version>2.5.0</version>
44         </dependency>
45         <dependency>
46             <groupId>com.squareup.okhttp</groupId>
47             <artifactId>mockwebserver</artifactId>
48             <version>2.5.0</version>
49             <scope>test</scope>
50         </dependency>
51         <dependency>
52             <groupId>com.google.code.gson</groupId>
53             <artifactId>gson</artifactId>
54             <version>2.8.0</version>
55         </dependency>
56         <dependency>
57             <groupId>org.bouncycastle</groupId>
58             <artifactId>bcpkix-jdk15on</artifactId>
59             <version>1.56</version>
60         </dependency>
61     </dependencies>
62
63     <distributionManagement>
64         <snapshotRepository>
65             <id>ossrh</id>
66             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
67         </snapshotRepository>
68         <repository>
69             <id>ossrh</id>
70             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
71         </repository>
72     </distributionManagement>
73
74     <build>
75         <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
76             <plugins>
77                 <plugin>
78                     <artifactId>maven-clean-plugin</artifactId>
79                     <version>3.0.0</version>
80                 </plugin>
81                 <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
82                 <plugin>
83                     <artifactId>maven-resources-plugin</artifactId>
84                     <version>3.0.2</version>
85                 </plugin>
86                 <plugin>
87                     <artifactId>maven-compiler-plugin</artifactId>
88                     <version>3.7.0</version>
89                 </plugin>
90                 <plugin>
91                     <artifactId>maven-surefire-plugin</artifactId>
92                     <version>2.20.1</version>
93                 </plugin>
94                 <plugin>
95                     <artifactId>maven-jar-plugin</artifactId>
96                     <version>3.0.2</version>
97                 </plugin>
98                 <plugin>
99                     <artifactId>maven-install-plugin</artifactId>
100                     <version>2.5.2</version>
101                 </plugin>
102                 <plugin>
103                     <artifactId>maven-deploy-plugin</artifactId>
104                     <version>2.8.2</version>
105                 </plugin>
106                 <plugin>
107                     <groupId>org.apache.maven.plugins</groupId>
108                     <artifactId>maven-source-plugin</artifactId>
109                     <version>2.2.1</version>
110                     <executions>
111                         <execution>
112                             <id>attach-sources</id>
113                             <goals>
114                                 <goal>jar-no-fork</goal>
115                             </goals>
116                         </execution>
117                     </executions>
118                 </plugin>
119                 <plugin>
120                     <groupId>org.apache.maven.plugins</groupId>
121                     <artifactId>maven-javadoc-plugin</artifactId>
122                     <version>2.9.1</version>
123                     <executions>
124                         <execution>
125                             <id>attach-javadocs</id>
126                             <goals>
127                                 <goal>jar</goal>
128                             </goals>
129                         </execution>
130                     </executions>
131                 </plugin>
132             </plugins>
133         </pluginManagement>
134         <plugins>
135             <plugin>
136                 <groupId>org.apache.maven.plugins</groupId>
137                 <artifactId>maven-compiler-plugin</artifactId>
138                 <configuration>
139                     <source>7</source>
140                     <target>7</target>
141                 </configuration>
142             </plugin>
143             <plugin>
144                 <artifactId>maven-assembly-plugin</artifactId>
145                 <configuration>
146                     <!--这部分可有可无,加上的话则直接生成可运行jar包-->
147                     <!--<archive>-->
148                     <!--<manifest>-->
149                     <!--<mainClass>${exec.mainClass}</mainClass>-->
150                     <!--</manifest>-->
151                     <!--</archive>-->
152                     <descriptorRefs>
153                         <descriptorRef>jar-with-dependencies</descriptorRef>
154                     </descriptorRefs>
155                     <!-- mvn assembly:assembly -Dmaven.test.skip=true -->
156                     <!-- mvn javadoc:javadoc -->
157                 </configuration>
158             </plugin>
159         </plugins>
160         <resources>
161             <resource>
162                 <directory>src/main/resources</directory>
163                 <filtering>true</filtering>
164             </resource>
165         </resources>
166     </build>
167 </project>