Skip to content

Commit 4beb081

Browse files
committed
Update pom.xml to release
1 parent f284167 commit 4beb081

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

pom.xml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</developers>
2828

2929
<scm>
30-
<url>http://github.com/andrebreves/java-tuple/tree/master</url>
30+
<url>https://github.com/andrebreves/java-tuple.git</url>
3131
</scm>
3232

3333
<properties>
@@ -46,6 +46,17 @@
4646
</dependency>
4747
</dependencies>
4848

49+
<distributionManagement>
50+
<snapshotRepository>
51+
<id>ossrh</id>
52+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
53+
</snapshotRepository>
54+
<repository>
55+
<id>ossrh</id>
56+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
57+
</repository>
58+
</distributionManagement>
59+
4960
<build>
5061

5162
<!-- Compile the source code generator -->
@@ -159,6 +170,38 @@
159170
</executions>
160171
</plugin>
161172

173+
<!-- GPG Signing -->
174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-gpg-plugin</artifactId>
177+
<version>1.6</version>
178+
<executions>
179+
<execution>
180+
<id>sign-artifacts</id>
181+
<phase>verify</phase>
182+
<goals>
183+
<goal>sign</goal>
184+
</goals>
185+
</execution>
186+
</executions>
187+
</plugin>
188+
189+
<!-- Deploy -->
190+
<!-- Verify staging artifacts in https://oss.sonatype.org/content/groups/staging/com/andrebreves/java/ -->
191+
<!-- Release with mvn nexus-staging:release -->
192+
<!-- Verify published artifacts in https://oss.sonatype.org/content/groups/public/com/andrebreves/java/ -->
193+
<plugin>
194+
<groupId>org.sonatype.plugins</groupId>
195+
<artifactId>nexus-staging-maven-plugin</artifactId>
196+
<version>1.6.7</version>
197+
<extensions>true</extensions>
198+
<configuration>
199+
<serverId>ossrh</serverId>
200+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
201+
</configuration>
202+
</plugin>
203+
162204
</plugins>
163205
</build>
206+
164207
</project>

src/main/tuple-generator/com/andrebreves/java/tuple/SourceGenerator.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
public class SourceGenerator {
2929

3030
public static void main(String[] args) throws Exception {
31-
// TODO: publish on GitHub
32-
// TODO: publish on Maven Central
33-
3431
String kind = args[0];
3532
int degrees = Integer.parseInt(args[1]);
3633
String folder = args[2];

0 commit comments

Comments
 (0)