Skip to content

Commit f0e8346

Browse files
committed
Drop to SNAPSHOT
1 parent 51fc369 commit f0e8346

File tree

3 files changed

+96
-63
lines changed

3 files changed

+96
-63
lines changed

.classpath

+3-48
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry output="bin/main" kind="src" path="src/main/java">
3+
<classpathentry kind="src" output="bin/main" path="src/main/java">
44
<attributes>
55
<attribute name="gradle_scope" value="main"/>
66
<attribute name="gradle_used_by_scope" value="main,test"/>
77
</attributes>
88
</classpathentry>
9-
<classpathentry output="bin/test" kind="src" path="src/test/java">
9+
<classpathentry kind="src" output="bin/test" path="src/test/java">
1010
<attributes>
1111
<attribute name="gradle_scope" value="test"/>
1212
<attribute name="gradle_used_by_scope" value="test"/>
1313
</attributes>
1414
</classpathentry>
15+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7/"/>
1516
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
1617
<classpathentry kind="output" path="bin/default"/>
17-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7/"/>
18-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/io/swagger/swagger-annotations/1.5.15/swagger-annotations-1.5.15.jar">
19-
<attributes>
20-
<attribute name="gradle_used_by_scope" value="main,test"/>
21-
</attributes>
22-
</classpathentry>
23-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/com/squareup/okhttp/logging-interceptor/2.7.5/logging-interceptor-2.7.5.jar">
24-
<attributes>
25-
<attribute name="gradle_used_by_scope" value="main,test"/>
26-
</attributes>
27-
</classpathentry>
28-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/com/squareup/okhttp/okhttp/2.7.5/okhttp-2.7.5.jar">
29-
<attributes>
30-
<attribute name="gradle_used_by_scope" value="main,test"/>
31-
</attributes>
32-
</classpathentry>
33-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/io/gsonfire/gson-fire/1.8.0/gson-fire-1.8.0.jar">
34-
<attributes>
35-
<attribute name="gradle_used_by_scope" value="main,test"/>
36-
</attributes>
37-
</classpathentry>
38-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar">
39-
<attributes>
40-
<attribute name="gradle_used_by_scope" value="main,test"/>
41-
</attributes>
42-
</classpathentry>
43-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/org/threeten/threetenbp/1.3.5/threetenbp-1.3.5.jar">
44-
<attributes>
45-
<attribute name="gradle_used_by_scope" value="main,test"/>
46-
</attributes>
47-
</classpathentry>
48-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/com/squareup/okio/okio/1.6.0/okio-1.6.0.jar">
49-
<attributes>
50-
<attribute name="gradle_used_by_scope" value="main,test"/>
51-
</attributes>
52-
</classpathentry>
53-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/junit/junit/4.12/junit-4.12.jar">
54-
<attributes>
55-
<attribute name="gradle_used_by_scope" value="test"/>
56-
</attributes>
57-
</classpathentry>
58-
<classpathentry kind="lib" path="/home/andrew/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar">
59-
<attributes>
60-
<attribute name="gradle_used_by_scope" value="test"/>
61-
</attributes>
62-
</classpathentry>
6318
</classpath>

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

4-
group = 'io.gitea'
4+
group = 'com.github.zeripath'
55
version = '1.0.0'
66

77
buildscript {

pom.xml

+92-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
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">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>io.gitea</groupId>
4+
<groupId>com.github.zeripath</groupId>
55
<artifactId>java-gitea-api</artifactId>
66
<packaging>jar</packaging>
77
<name>java-gitea-api</name>
8-
<version>1.0.0</version>
8+
<version>1.0.0-SNAPSHOT</version>
99
<url>https://github.com/zeripath/java-gitea-api</url>
1010
<description>Swagger Java Client for Gitea</description>
1111
<scm>
1212
<connection>scm:git:[email protected]:zeripath/java-gitea-api.git</connection>
1313
<developerConnection>scm:git:[email protected]:zeripath/java-gitea-api.git</developerConnection>
1414
<url>https://github.com/zeripath/java-gitea-api</url>
15+
<tag>HEAD</tag>
1516
</scm>
1617

1718
<licenses>
@@ -98,7 +99,6 @@
9899
<configuration>
99100
</configuration>
100101
</plugin>
101-
102102
<plugin>
103103
<groupId>org.codehaus.mojo</groupId>
104104
<artifactId>build-helper-maven-plugin</artifactId>
@@ -112,8 +112,7 @@
112112
</goals>
113113
<configuration>
114114
<sources>
115-
<source>
116-
src/main/java</source>
115+
<source>src/main/java</source>
117116
</sources>
118117
</configuration>
119118
</execution>
@@ -158,6 +157,47 @@
158157
</execution>
159158
</executions>
160159
</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>
161201
</plugins>
162202
</build>
163203

@@ -169,7 +209,35 @@
169209
<plugin>
170210
<groupId>org.apache.maven.plugins</groupId>
171211
<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>
173241
<executions>
174242
<execution>
175243
<id>sign-artifacts</id>
@@ -211,11 +279,11 @@
211279
<artifactId>gson-fire</artifactId>
212280
<version>${gson-fire-version}</version>
213281
</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>
219287
<!-- test dependencies -->
220288
<dependency>
221289
<groupId>junit</groupId>
@@ -230,6 +298,16 @@
230298
<version>${javax-annotation.version}</version>
231299
</dependency>
232300
</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>
233311
<properties>
234312
<java.version>1.7</java.version>
235313
<maven.compiler.source>${java.version}</maven.compiler.source>
@@ -238,7 +316,7 @@
238316
<swagger-core-version>1.5.15</swagger-core-version>
239317
<okhttp-version>2.7.5</okhttp-version>
240318
<gson-version>2.8.1</gson-version>
241-
<threetenbp-version>1.3.5</threetenbp-version>
319+
<threetenbp-version>1.3.5</threetenbp-version>
242320
<maven-plugin-version>1.0.0</maven-plugin-version>
243321
<junit-version>4.12</junit-version>
244322
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)