Skip to content

Commit 2789320

Browse files
committed
pom.xml update for deploying to oss.sonatype.org
1 parent ffafeea commit 2789320

File tree

1 file changed

+80
-1
lines changed

1 file changed

+80
-1
lines changed

pom.xml

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,30 @@
55

66
<groupId>io.quicklog</groupId>
77
<artifactId>quicklog-client</artifactId>
8-
<version>0.1.0</version>
8+
<version>0.1.2</version>
99
<packaging>jar</packaging>
1010

1111
<name>quicklog-client</name>
1212
<description>Client for Quicklog.io Service</description>
13+
<url>https://github.com/quicklog-io/quicklog-java</url>
14+
15+
<scm>
16+
<url>scm:git:git://github.com/quicklog-io/quicklog-java.git</url>
17+
</scm>
18+
19+
<licenses>
20+
<license>
21+
<name>MIT License</name>
22+
</license>
23+
</licenses>
24+
25+
<developers>
26+
<developer>
27+
<id>x</id>
28+
<name>Keith Kim</name>
29+
<email>karmakaze@users.noreply.github.com</email>
30+
</developer>
31+
</developers>
1332

1433
<properties>
1534
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -43,6 +62,13 @@
4362
</dependency>
4463
</dependencies>
4564

65+
<distributionManagement>
66+
<snapshotRepository>
67+
<id>ossrh</id>
68+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
69+
</snapshotRepository>
70+
</distributionManagement>
71+
4672
<build>
4773
<plugins>
4874
<plugin>
@@ -58,6 +84,59 @@
5884
</annotationProcessorPaths>
5985
</configuration>
6086
</plugin>
87+
88+
<plugin>
89+
<groupId>org.sonatype.plugins</groupId>
90+
<artifactId>nexus-staging-maven-plugin</artifactId>
91+
<version>1.6.7</version>
92+
<extensions>true</extensions>
93+
<configuration>
94+
<serverId>ossrh</serverId>
95+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
96+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
97+
</configuration>
98+
</plugin>
99+
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>
61140
</plugins>
62141
</build>
63142
</project>

0 commit comments

Comments
 (0)