OSDN Git Service

Merge pull request #4 from Bytom/retireTx
[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</artifactId>
9     <version>1.0.1</version>
10     <build>
11         <plugins>
12             <plugin>
13                 <groupId>org.apache.maven.plugins</groupId>
14                 <artifactId>maven-compiler-plugin</artifactId>
15                 <configuration>
16                     <source>7</source>
17                     <target>7</target>
18                 </configuration>
19             </plugin>
20         </plugins>
21     </build>
22     <packaging>jar</packaging>
23
24     <name>bytom-sdk-java</name>
25     <url>https://github.com/Bytom</url>
26     <description>SDK for Bytom project in github.</description>
27
28     <licenses>
29         <license>
30             <name>Apache License, Version 2.0</name>
31             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
32             <distribution>repo</distribution>
33         </license>
34     </licenses>
35
36
37     <issueManagement>
38         <url>https://github.com/Bytom/bytom-java-sdk/issues</url>
39         <system>GitHub Issues</system>
40     </issueManagement>
41
42     <developers>
43         <developer>
44             <name>successli</name>
45             <email>successli@outlook.com</email>
46             <url>https://github.com/successli</url>
47         </developer>
48     </developers>
49
50     <scm>
51         <connection>scm:git:git@github.com:Bytom/bytom-java-sdk.git</connection>
52         <developerConnection>scm:git:git@github.com:Bytom/bytom-java-sdk.git</developerConnection>
53         <url>git@github.com:Bytom/bytom-java-sdk.git</url>
54     </scm>
55
56     <properties>
57         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
58     </properties>
59
60     <dependencies>
61         <dependency>
62             <groupId>junit</groupId>
63             <artifactId>junit</artifactId>
64             <version>4.12</version>
65             <scope>test</scope>
66         </dependency>
67         <dependency>
68             <groupId>log4j</groupId>
69             <artifactId>log4j</artifactId>
70             <version>1.2.17</version>
71         </dependency>
72         <dependency>
73             <groupId>com.squareup.okhttp</groupId>
74             <artifactId>okhttp</artifactId>
75             <version>2.5.0</version>
76         </dependency>
77         <dependency>
78             <groupId>com.squareup.okhttp</groupId>
79             <artifactId>mockwebserver</artifactId>
80             <version>2.5.0</version>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>com.google.code.gson</groupId>
85             <artifactId>gson</artifactId>
86             <version>2.8.0</version>
87         </dependency>
88         <dependency>
89             <groupId>org.bouncycastle</groupId>
90             <artifactId>bcpkix-jdk15on</artifactId>
91             <version>1.56</version>
92         </dependency>
93     </dependencies>
94
95     <profiles>
96         <profile>
97             <id>release</id>
98             <build>
99                 <plugins>
100                     <plugin>
101                         <groupId>org.apache.maven.plugins</groupId>
102                         <artifactId>maven-source-plugin</artifactId>
103                         <version>2.2.1</version>
104                         <executions>
105                             <execution>
106                                 <id>attach-sources</id>
107                                 <goals>
108                                     <goal>jar-no-fork</goal>
109                                 </goals>
110                             </execution>
111                         </executions>
112                     </plugin>
113                     <plugin>
114                         <groupId>org.apache.maven.plugins</groupId>
115                         <artifactId>maven-javadoc-plugin</artifactId>
116                         <version>2.9.1</version>
117                         <executions>
118                             <execution>
119                                 <id>attach-javadocs</id>
120                                 <goals>
121                                     <goal>jar</goal>
122                                 </goals>
123                             </execution>
124                         </executions>
125                     </plugin>
126                     <plugin>
127                         <groupId>org.apache.maven.plugins</groupId>
128                         <artifactId>maven-gpg-plugin</artifactId>
129                         <version>1.5</version>
130                         <executions>
131                             <execution>
132                                 <id>sign-artifacts</id>
133                                 <phase>verify</phase>
134                                 <goals>
135                                     <goal>sign</goal>
136                                 </goals>
137                             </execution>
138                         </executions>
139                     </plugin>
140                     <plugin>
141                         <artifactId>maven-assembly-plugin</artifactId>
142                         <version>2.3</version>
143                         <configuration>
144                             <descriptorRefs>
145                                 <descriptorRef>jar-with-dependencies</descriptorRef>
146                             </descriptorRefs>
147                         </configuration>
148                         <executions>
149                             <execution>
150                                 <phase>package</phase>
151                                 <goals>
152                                     <goal>single</goal>
153                                 </goals>
154                             </execution>
155                         </executions>
156                     </plugin>
157                 </plugins>
158             </build>
159         </profile>
160     </profiles>
161
162     <distributionManagement>
163         <snapshotRepository>
164             <id>oss</id>
165             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
166         </snapshotRepository>
167         <repository>
168             <id>oss</id>
169             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
170         </repository>
171     </distributionManagement>
172 </project>