|
7 | 7 | <version>2.0</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | | - <parent> |
11 | | - <groupId>org.sonatype.oss</groupId> |
12 | | - <artifactId>oss-parent</artifactId> |
13 | | - <version>7</version> |
14 | | - </parent> |
15 | | - |
16 | 10 | <properties> |
17 | 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
18 | 12 | </properties> |
|
39 | 33 | < url> [email protected]:ipinfo/java.git</ url> |
40 | 34 | < connection>scm:git: [email protected]:ipinfo/java.git</ connection> |
41 | 35 | < developerConnection>scm:git: [email protected]:ipinfo/java.git</ developerConnection> |
42 | | - </scm> |
| 36 | + <tag>HEAD</tag> |
| 37 | + </scm> |
| 38 | + |
| 39 | + <distributionManagement> |
| 40 | + <snapshotRepository> |
| 41 | + <id>ossrh</id> |
| 42 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 43 | + </snapshotRepository> |
| 44 | + <repository> |
| 45 | + <id>ossrh</id> |
| 46 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 47 | + </repository> |
| 48 | + </distributionManagement> |
43 | 49 |
|
44 | 50 | <developers> |
45 | 51 | <developer> |
|
105 | 111 | </resources> |
106 | 112 |
|
107 | 113 | <plugins> |
| 114 | + <plugin> |
| 115 | + <groupId>org.sonatype.plugins</groupId> |
| 116 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 117 | + <version>1.6.8</version> |
| 118 | + <extensions>true</extensions> |
| 119 | + <configuration> |
| 120 | + <serverId>ossrh</serverId> |
| 121 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 122 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 123 | + </configuration> |
| 124 | + </plugin> |
108 | 125 | <plugin> |
109 | 126 | <groupId>org.apache.maven.plugins</groupId> |
110 | 127 | <artifactId>maven-compiler-plugin</artifactId> |
|
141 | 158 | </execution> |
142 | 159 | </executions> |
143 | 160 | </plugin> |
| 161 | + <plugin> |
| 162 | + <groupId>org.apache.maven.plugins</groupId> |
| 163 | + <artifactId>maven-release-plugin</artifactId> |
| 164 | + <version>2.5.3</version> |
| 165 | + <configuration> |
| 166 | + <goals>deploy</goals> |
| 167 | + </configuration> |
| 168 | + </plugin> |
| 169 | + <plugin> |
| 170 | + <groupId>org.apache.maven.plugins</groupId> |
| 171 | + <artifactId>maven-gpg-plugin</artifactId> |
| 172 | + <version>1.5</version> |
| 173 | + <executions> |
| 174 | + <execution> |
| 175 | + <id>sign-artifacts</id> |
| 176 | + <phase>verify</phase> |
| 177 | + <goals> |
| 178 | + <goal>sign</goal> |
| 179 | + </goals> |
| 180 | + </execution> |
| 181 | + </executions> |
| 182 | + </plugin> |
144 | 183 | </plugins> |
145 | 184 | </build> |
146 | 185 | </project> |
0 commit comments