File tree Expand file tree Collapse file tree 5 files changed +53
-132
lines changed
Expand file tree Collapse file tree 5 files changed +53
-132
lines changed Original file line number Diff line number Diff line change @@ -46,3 +46,7 @@ copy-dist: clean package
4646 cp ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-* .jar dist
4747 cp ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-* .jar dist
4848 cp ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.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 5353 <module >ffmpeg4java-linux</module >
5454 <module >ffmpeg4java-windows</module >
5555 </modules >
56+ <distributionManagement >
57+ <repository >
58+ <id >ossrh</id >
59+ <name >OSSRH</name >
60+ <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
61+ </repository >
62+ </distributionManagement >
5663 <build >
5764 <pluginManagement >
5865 <plugins >
288295 <module >ffmpeg4java-macos-examples</module >
289296 </modules >
290297 </profile >
298+ <profile >
299+ <id >ossrh</id >
300+ <activation >
301+ <property >
302+ <name >channel</name >
303+ <value >ossrh</value >
304+ </property >
305+ </activation >
306+ <build >
307+ <plugins >
308+ <plugin >
309+ <groupId >org.apache.maven.plugins</groupId >
310+ <artifactId >maven-gpg-plugin</artifactId >
311+ <executions >
312+ <execution >
313+ <id >sign-artifacts</id >
314+ <phase >verify</phase >
315+ <goals >
316+ <goal >sign</goal >
317+ </goals >
318+ </execution >
319+ </executions >
320+ </plugin >
321+ <plugin >
322+ <groupId >org.sonatype.plugins</groupId >
323+ <artifactId >nexus-staging-maven-plugin</artifactId >
324+ <extensions >true</extensions >
325+ <configuration >
326+ <serverId >ossrh</serverId >
327+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
328+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
329+ </configuration >
330+ </plugin >
331+ </plugins >
332+ </build >
333+ <distributionManagement >
334+ <snapshotRepository >
335+ <id >ossrh</id >
336+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
337+ </snapshotRepository >
338+ </distributionManagement >
339+ </profile >
291340 </profiles >
292341</project >
You can’t perform that action at this time.
0 commit comments