OSDN Git Service

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