File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,3 +46,7 @@ copy-dist: clean package
4646 cp freeimage4java-macos/target/com.nextbreakpoint.freeimage4java.macos-* .jar dist
4747 cp freeimage4java-linux/target/com.nextbreakpoint.freeimage4java.linux-* .jar dist
4848 cp freeimage4java-windows/target/com.nextbreakpoint.freeimage4java.windows-* .jar dist
49+
50+ .PHONY : release
51+ release :
52+ mvn -Dchannel=ossrh clean deploy
Original file line number Diff line number Diff line change 6161 </plugin >
6262 </plugins >
6363 </build >
64- <profiles >
65- <profile >
66- <id >ossrh</id >
67- <activation >
68- <property >
69- <name >channel</name >
70- <value >ossrh</value >
71- </property >
72- </activation >
73- <build >
74- <plugins >
75- <plugin >
76- <groupId >org.apache.maven.plugins</groupId >
77- <artifactId >maven-gpg-plugin</artifactId >
78- <executions >
79- <execution >
80- <id >sign-artifacts</id >
81- <phase >verify</phase >
82- <goals >
83- <goal >sign</goal >
84- </goals >
85- </execution >
86- </executions >
87- </plugin >
88- <plugin >
89- <groupId >org.sonatype.plugins</groupId >
90- <artifactId >nexus-staging-maven-plugin</artifactId >
91- <extensions >true</extensions >
92- <configuration >
93- <serverId >ossrh</serverId >
94- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
95- <autoReleaseAfterClose >true</autoReleaseAfterClose >
96- </configuration >
97- </plugin >
98- </plugins >
99- </build >
100- <distributionManagement >
101- <snapshotRepository >
102- <id >ossrh</id >
103- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
104- </snapshotRepository >
105- </distributionManagement >
106- </profile >
107- </profiles >
10864</project >
Original file line number Diff line number Diff line change 6161 </plugin >
6262 </plugins >
6363 </build >
64- <profiles >
65- <profile >
66- <id >ossrh</id >
67- <activation >
68- <property >
69- <name >channel</name >
70- <value >ossrh</value >
71- </property >
72- </activation >
73- <build >
74- <plugins >
75- <plugin >
76- <groupId >org.apache.maven.plugins</groupId >
77- <artifactId >maven-gpg-plugin</artifactId >
78- <executions >
79- <execution >
80- <id >sign-artifacts</id >
81- <phase >verify</phase >
82- <goals >
83- <goal >sign</goal >
84- </goals >
85- </execution >
86- </executions >
87- </plugin >
88- <plugin >
89- <groupId >org.sonatype.plugins</groupId >
90- <artifactId >nexus-staging-maven-plugin</artifactId >
91- <extensions >true</extensions >
92- <configuration >
93- <serverId >ossrh</serverId >
94- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
95- <autoReleaseAfterClose >true</autoReleaseAfterClose >
96- </configuration >
97- </plugin >
98- </plugins >
99- </build >
100- <distributionManagement >
101- <snapshotRepository >
102- <id >ossrh</id >
103- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
104- </snapshotRepository >
105- </distributionManagement >
106- </profile >
107- </profiles >
10864</project >
Original file line number Diff line number Diff line change 6161 </plugin >
6262 </plugins >
6363 </build >
64- <profiles >
65- <profile >
66- <id >ossrh</id >
67- <activation >
68- <property >
69- <name >channel</name >
70- <value >ossrh</value >
71- </property >
72- </activation >
73- <build >
74- <plugins >
75- <plugin >
76- <groupId >org.apache.maven.plugins</groupId >
77- <artifactId >maven-gpg-plugin</artifactId >
78- <executions >
79- <execution >
80- <id >sign-artifacts</id >
81- <phase >verify</phase >
82- <goals >
83- <goal >sign</goal >
84- </goals >
85- </execution >
86- </executions >
87- </plugin >
88- <plugin >
89- <groupId >org.sonatype.plugins</groupId >
90- <artifactId >nexus-staging-maven-plugin</artifactId >
91- <extensions >true</extensions >
92- <configuration >
93- <serverId >ossrh</serverId >
94- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
95- <autoReleaseAfterClose >true</autoReleaseAfterClose >
96- </configuration >
97- </plugin >
98- </plugins >
99- </build >
100- <distributionManagement >
101- <snapshotRepository >
102- <id >ossrh</id >
103- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
104- </snapshotRepository >
105- </distributionManagement >
106- </profile >
107- </profiles >
10864</project >
Original file line number Diff line number Diff line change 5555 <module >freeimage4java-linux</module >
5656 <module >freeimage4java-windows</module >
5757 </modules >
58+ <distributionManagement >
59+ <repository >
60+ <id >ossrh</id >
61+ <name >OSSRH</name >
62+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
63+ </repository >
64+ </distributionManagement >
5865 <build >
5966 <pluginManagement >
6067 <plugins >
295302 <module >freeimage4java-macos-examples</module >
296303 </modules >
297304 </profile >
305+ <profile >
306+ <id >ossrh</id >
307+ <activation >
308+ <property >
309+ <name >channel</name >
310+ <value >ossrh</value >
311+ </property >
312+ </activation >
313+ <build >
314+ <plugins >
315+ <plugin >
316+ <groupId >org.apache.maven.plugins</groupId >
317+ <artifactId >maven-gpg-plugin</artifactId >
318+ <executions >
319+ <execution >
320+ <id >sign-artifacts</id >
321+ <phase >verify</phase >
322+ <goals >
323+ <goal >sign</goal >
324+ </goals >
325+ </execution >
326+ </executions >
327+ </plugin >
328+ <plugin >
329+ <groupId >org.sonatype.plugins</groupId >
330+ <artifactId >nexus-staging-maven-plugin</artifactId >
331+ <extensions >true</extensions >
332+ <configuration >
333+ <serverId >ossrh</serverId >
334+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
335+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
336+ </configuration >
337+ </plugin >
338+ </plugins >
339+ </build >
340+ <distributionManagement >
341+ <snapshotRepository >
342+ <id >ossrh</id >
343+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
344+ </snapshotRepository >
345+ </distributionManagement >
346+ </profile >
298347 </profiles >
299348</project >
You can’t perform that action at this time.
0 commit comments