OSDN Git Service

add a transaction.md file in doc
[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.1</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     <description>SDK for Bytom project in github.</description>
16
17     <licenses>
18         <license>
19             <name>Apache License, Version 2.0</name>
20             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21             <distribution>repo</distribution>
22         </license>
23     </licenses>
24
25
26     <issueManagement>
27         <url>https://github.com/Bytom/bytom-java-sdk/issues</url>
28         <system>GitHub Issues</system>
29     </issueManagement>
30
31     <developers>
32         <developer>
33             <name>successli</name>
34             <email>successli@outlook.com</email>
35             <url>https://github.com/successli</url>
36         </developer>
37     </developers>
38
39     <properties>
40         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41     </properties>
42
43     <dependencies>
44         <dependency>
45             <groupId>junit</groupId>
46             <artifactId>junit</artifactId>
47             <version>4.12</version>
48             <scope>test</scope>
49         </dependency>
50         <dependency>
51             <groupId>log4j</groupId>
52             <artifactId>log4j</artifactId>
53             <version>1.2.17</version>
54         </dependency>
55         <dependency>
56             <groupId>com.squareup.okhttp</groupId>
57             <artifactId>okhttp</artifactId>
58             <version>2.5.0</version>
59         </dependency>
60         <dependency>
61             <groupId>com.squareup.okhttp</groupId>
62             <artifactId>mockwebserver</artifactId>
63             <version>2.5.0</version>
64             <scope>test</scope>
65         </dependency>
66         <dependency>
67             <groupId>com.google.code.gson</groupId>
68             <artifactId>gson</artifactId>
69             <version>2.8.0</version>
70         </dependency>
71         <dependency>
72             <groupId>org.bouncycastle</groupId>
73             <artifactId>bcpkix-jdk15on</artifactId>
74             <version>1.56</version>
75         </dependency>
76     </dependencies>
77
78     <distributionManagement>
79         <snapshotRepository>
80             <id>ossrh</id>
81             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
82         </snapshotRepository>
83         <repository>
84             <id>ossrh</id>
85             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
86         </repository>
87     </distributionManagement>
88
89     <build>
90         <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
91             <plugins>
92                 <plugin>
93                     <artifactId>maven-clean-plugin</artifactId>
94                     <version>3.0.0</version>
95                 </plugin>
96                 <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
97                 <plugin>
98                     <artifactId>maven-resources-plugin</artifactId>
99                     <version>3.0.2</version>
100                 </plugin>
101                 <plugin>
102                     <artifactId>maven-compiler-plugin</artifactId>
103                     <version>3.7.0</version>
104                 </plugin>
105                 <plugin>
106                     <artifactId>maven-surefire-plugin</artifactId>
107                     <version>2.20.1</version>
108                 </plugin>
109                 <plugin>
110                     <artifactId>maven-jar-plugin</artifactId>
111                     <version>3.0.2</version>
112                 </plugin>
113                 <plugin>
114                     <artifactId>maven-install-plugin</artifactId>
115                     <version>2.5.2</version>
116                 </plugin>
117                 <plugin>
118                     <artifactId>maven-deploy-plugin</artifactId>
119                     <version>2.8.2</version>
120                 </plugin>
121                 <plugin>
122                     <groupId>org.apache.maven.plugins</groupId>
123                     <artifactId>maven-source-plugin</artifactId>
124                     <version>2.2.1</version>
125                     <executions>
126                         <execution>
127                             <id>attach-sources</id>
128                             <goals>
129                                 <goal>jar-no-fork</goal>
130                             </goals>
131                         </execution>
132                     </executions>
133                 </plugin>
134                 <plugin>
135                     <groupId>org.apache.maven.plugins</groupId>
136                     <artifactId>maven-javadoc-plugin</artifactId>
137                     <version>2.9.1</version>
138                     <executions>
139                         <execution>
140                             <id>attach-javadocs</id>
141                             <goals>
142                                 <goal>jar</goal>
143                             </goals>
144                         </execution>
145                     </executions>
146                 </plugin>
147             </plugins>
148         </pluginManagement>
149         <plugins>
150             <plugin>
151                 <groupId>org.apache.maven.plugins</groupId>
152                 <artifactId>maven-compiler-plugin</artifactId>
153                 <configuration>
154                     <source>7</source>
155                     <target>7</target>
156                 </configuration>
157             </plugin>
158             <!-- mvn assembly:assembly -Dmaven.test.skip=true -->
159             <!-- mvn javadoc:javadoc -->
160         </plugins>
161         <resources>
162             <resource>
163                 <directory>src/main/resources</directory>
164                 <filtering>true</filtering>
165             </resource>
166         </resources>
167     </build>
168 </project>