File tree Expand file tree Collapse file tree 2 files changed +44
-4
lines changed
src/main/tuple-generator/com/andrebreves/java/tuple Expand file tree Collapse file tree 2 files changed +44
-4
lines changed Original file line number Diff line number Diff line change 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 >
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 -->
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 >
Original file line number Diff line number Diff line change 2828public 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 ];
You can’t perform that action at this time.
0 commit comments