Skip to content

Commit 7acd5a1

Browse files
Merge pull request #5 from nextbreakpoint/wip
release 7.0.1-1.0
2 parents 91f3316 + 7637223 commit 7acd5a1

File tree

5 files changed

+140
-69
lines changed

5 files changed

+140
-69
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,11 @@ copy-legal:
3838
cp legal/*.txt ffmpeg4java-macos/src/main/resources/META-INF/
3939
cp legal/*.txt ffmpeg4java-linux/src/main/resources/META-INF/
4040
cp legal/*.txt ffmpeg4java-windows/src/main/resources/META-INF/
41+
42+
.PHONY: copy-dist
43+
copy-dist: clean package
44+
rm -fR dist
45+
mkdir -p dist
46+
cp ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-*.jar dist
47+
cp ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-*.jar dist
48+
cp ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-*.jar dist

ffmpeg4java-linux/pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,48 @@
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>
64108
</project>

ffmpeg4java-macos/pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,48 @@
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>
64108
</project>

ffmpeg4java-windows/pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,48 @@
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>
64108
</project>

pom.xml

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
4747
<versions-maven-plugin.version>2.16.2</versions-maven-plugin.version>
4848
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
49-
<github-release-plugin.version>1.6.0</github-release-plugin.version>
5049
<maven.version>3.6</maven.version>
5150
</properties>
5251
<modules>
@@ -107,11 +106,6 @@
107106
<artifactId>nexus-staging-maven-plugin</artifactId>
108107
<version>${nexus-staging-maven-plugin.version}</version>
109108
</plugin>
110-
<plugin>
111-
<groupId>de.jutzig</groupId>
112-
<artifactId>github-release-plugin</artifactId>
113-
<version>${github-release-plugin.version}</version>
114-
</plugin>
115109
</plugins>
116110
</pluginManagement>
117111
<plugins>
@@ -261,69 +255,6 @@
261255
</dependency>
262256
</dependencies>
263257
<profiles>
264-
<profile>
265-
<id>ossrh</id>
266-
<activation>
267-
<property>
268-
<name>channel</name>
269-
<value>ossrh</value>
270-
</property>
271-
</activation>
272-
<build>
273-
<plugins>
274-
<plugin>
275-
<groupId>org.apache.maven.plugins</groupId>
276-
<artifactId>maven-gpg-plugin</artifactId>
277-
<executions>
278-
<execution>
279-
<id>sign-artifacts</id>
280-
<phase>verify</phase>
281-
<goals>
282-
<goal>sign</goal>
283-
</goals>
284-
</execution>
285-
</executions>
286-
</plugin>
287-
<plugin>
288-
<groupId>org.sonatype.plugins</groupId>
289-
<artifactId>nexus-staging-maven-plugin</artifactId>
290-
<extensions>true</extensions>
291-
<configuration>
292-
<serverId>ossrh</serverId>
293-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
294-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
295-
</configuration>
296-
</plugin>
297-
</plugins>
298-
</build>
299-
<distributionManagement>
300-
<snapshotRepository>
301-
<id>ossrh</id>
302-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
303-
</snapshotRepository>
304-
</distributionManagement>
305-
</profile>
306-
<profile>
307-
<id>github</id>
308-
<activation>
309-
<property>
310-
<name>channel</name>
311-
<value>github</value>
312-
</property>
313-
</activation>
314-
<build>
315-
<plugins>
316-
<plugin>
317-
<groupId>de.jutzig</groupId>
318-
<artifactId>github-release-plugin</artifactId>
319-
<configuration>
320-
<releaseName>${project.name} ${project.version}</releaseName>
321-
<tag>v${project.version}</tag>
322-
</configuration>
323-
</plugin>
324-
</plugins>
325-
</build>
326-
</profile>
327258
<profile>
328259
<id>windows</id>
329260
<properties>

0 commit comments

Comments
 (0)