|
1 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 |
| - <groupId>io.gitea</groupId> |
| 4 | + <groupId>com.github.zeripath</groupId> |
5 | 5 | <artifactId>java-gitea-api</artifactId>
|
6 | 6 | <packaging>jar</packaging>
|
7 | 7 | <name>java-gitea-api</name>
|
8 |
| - <version>1.0.0</version> |
| 8 | + <version>1.0.0-SNAPSHOT</version> |
9 | 9 | <url>https://github.com/zeripath/java-gitea-api</url>
|
10 | 10 | <description>Swagger Java Client for Gitea</description>
|
11 | 11 | <scm>
|
12 | 12 | < connection>scm:git: [email protected]:zeripath/java-gitea-api.git</ connection>
|
13 | 13 | < developerConnection>scm:git: [email protected]:zeripath/java-gitea-api.git</ developerConnection>
|
14 | 14 | <url>https://github.com/zeripath/java-gitea-api</url>
|
| 15 | + <tag>HEAD</tag> |
15 | 16 | </scm>
|
16 | 17 |
|
17 | 18 | <licenses>
|
|
98 | 99 | <configuration>
|
99 | 100 | </configuration>
|
100 | 101 | </plugin>
|
101 |
| - |
102 | 102 | <plugin>
|
103 | 103 | <groupId>org.codehaus.mojo</groupId>
|
104 | 104 | <artifactId>build-helper-maven-plugin</artifactId>
|
|
112 | 112 | </goals>
|
113 | 113 | <configuration>
|
114 | 114 | <sources>
|
115 |
| - <source> |
116 |
| - src/main/java</source> |
| 115 | + <source>src/main/java</source> |
117 | 116 | </sources>
|
118 | 117 | </configuration>
|
119 | 118 | </execution>
|
|
158 | 157 | </execution>
|
159 | 158 | </executions>
|
160 | 159 | </plugin>
|
| 160 | + <plugin> |
| 161 | + <artifactId>maven-deploy-plugin</artifactId> |
| 162 | + <version>2.8.2</version> |
| 163 | + <executions> |
| 164 | + <execution> |
| 165 | + <id>default-deploy</id> |
| 166 | + <phase>deploy</phase> |
| 167 | + <goals> |
| 168 | + <goal>deploy</goal> |
| 169 | + </goals> |
| 170 | + </execution> |
| 171 | + </executions> |
| 172 | + </plugin> |
| 173 | + <plugin> |
| 174 | + <groupId>org.apache.maven.plugins</groupId> |
| 175 | + <artifactId>maven-release-plugin</artifactId> |
| 176 | + <version>2.5.3</version> |
| 177 | + <configuration> |
| 178 | + <localCheckout>true</localCheckout> |
| 179 | + <pushChanges>false</pushChanges> |
| 180 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 181 | + </configuration> |
| 182 | + <dependencies> |
| 183 | + <dependency> |
| 184 | + <groupId>org.apache.maven.scm</groupId> |
| 185 | + <artifactId>maven-scm-provider-gitexe</artifactId> |
| 186 | + <version>1.9.5</version> |
| 187 | + </dependency> |
| 188 | + </dependencies> |
| 189 | + </plugin> |
| 190 | + <plugin> |
| 191 | + <groupId>org.sonatype.plugins</groupId> |
| 192 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 193 | + <version>1.6.7</version> |
| 194 | + <extensions>true</extensions> |
| 195 | + <configuration> |
| 196 | + <serverId>ossrh</serverId> |
| 197 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 198 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 199 | + </configuration> |
| 200 | + </plugin> |
161 | 201 | </plugins>
|
162 | 202 | </build>
|
163 | 203 |
|
|
169 | 209 | <plugin>
|
170 | 210 | <groupId>org.apache.maven.plugins</groupId>
|
171 | 211 | <artifactId>maven-gpg-plugin</artifactId>
|
172 |
| - <version>1.5</version> |
| 212 | + <version>1.6</version> |
| 213 | + <executions> |
| 214 | + <execution> |
| 215 | + <id>sign-artifacts</id> |
| 216 | + <phase>verify</phase> |
| 217 | + <goals> |
| 218 | + <goal>sign</goal> |
| 219 | + </goals> |
| 220 | + </execution> |
| 221 | + </executions> |
| 222 | + </plugin> |
| 223 | + </plugins> |
| 224 | + </build> |
| 225 | + </profile> |
| 226 | + <!-- GPG Signature on release --> |
| 227 | + <profile> |
| 228 | + <id>release-sign-artifacts</id> |
| 229 | + <activation> |
| 230 | + <property> |
| 231 | + <name>performRelease</name> |
| 232 | + <value>true</value> |
| 233 | + </property> |
| 234 | + </activation> |
| 235 | + <build> |
| 236 | + <plugins> |
| 237 | + <plugin> |
| 238 | + <groupId>org.apache.maven.plugins</groupId> |
| 239 | + <artifactId>maven-gpg-plugin</artifactId> |
| 240 | + <version>1.6</version> |
173 | 241 | <executions>
|
174 | 242 | <execution>
|
175 | 243 | <id>sign-artifacts</id>
|
|
211 | 279 | <artifactId>gson-fire</artifactId>
|
212 | 280 | <version>${gson-fire-version}</version>
|
213 | 281 | </dependency>
|
214 |
| - <dependency> |
215 |
| - <groupId>org.threeten</groupId> |
216 |
| - <artifactId>threetenbp</artifactId> |
217 |
| - <version>${threetenbp-version}</version> |
218 |
| - </dependency> |
| 282 | + <dependency> |
| 283 | + <groupId>org.threeten</groupId> |
| 284 | + <artifactId>threetenbp</artifactId> |
| 285 | + <version>${threetenbp-version}</version> |
| 286 | + </dependency> |
219 | 287 | <!-- test dependencies -->
|
220 | 288 | <dependency>
|
221 | 289 | <groupId>junit</groupId>
|
|
230 | 298 | <version>${javax-annotation.version}</version>
|
231 | 299 | </dependency>
|
232 | 300 | </dependencies>
|
| 301 | + <distributionManagement> |
| 302 | + <snapshotRepository> |
| 303 | + <id>ossrh</id> |
| 304 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 305 | + </snapshotRepository> |
| 306 | + <repository> |
| 307 | + <id>ossrh</id> |
| 308 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 309 | + </repository> |
| 310 | + </distributionManagement> |
233 | 311 | <properties>
|
234 | 312 | <java.version>1.7</java.version>
|
235 | 313 | <maven.compiler.source>${java.version}</maven.compiler.source>
|
|
238 | 316 | <swagger-core-version>1.5.15</swagger-core-version>
|
239 | 317 | <okhttp-version>2.7.5</okhttp-version>
|
240 | 318 | <gson-version>2.8.1</gson-version>
|
241 |
| - <threetenbp-version>1.3.5</threetenbp-version> |
| 319 | + <threetenbp-version>1.3.5</threetenbp-version> |
242 | 320 | <maven-plugin-version>1.0.0</maven-plugin-version>
|
243 | 321 | <junit-version>4.12</junit-version>
|
244 | 322 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
0 commit comments