Skip to content

Commit 9116755

Browse files
Merge pull request #4 from nextbreakpoint/wip
release 3.8.0-2.0
2 parents bf50128 + b3a67d2 commit 9116755

5 files changed

Lines changed: 140 additions & 69 deletions

File tree

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 freeimage4java-macos/src/main/resources/META-INF/
3939
cp legal/*.txt freeimage4java-linux/src/main/resources/META-INF/
4040
cp legal/*.txt freeimage4java-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 freeimage4java-macos/target/com.nextbreakpoint.freeimage4java.macos-*.jar dist
47+
cp freeimage4java-linux/target/com.nextbreakpoint.freeimage4java.linux-*.jar dist
48+
cp freeimage4java-windows/target/com.nextbreakpoint.freeimage4java.windows-*.jar dist

freeimage4java-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>

freeimage4java-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>

freeimage4java-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
@@ -48,7 +48,6 @@
4848
<exec-maven-plugin.version>3.3.0</exec-maven-plugin.version>
4949
<versions-maven-plugin.version>2.16.2</versions-maven-plugin.version>
5050
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
51-
<github-release-plugin.version>1.6.0</github-release-plugin.version>
5251
<maven.version>3.6</maven.version>
5352
</properties>
5453
<modules>
@@ -114,11 +113,6 @@
114113
<artifactId>nexus-staging-maven-plugin</artifactId>
115114
<version>${nexus-staging-maven-plugin.version}</version>
116115
</plugin>
117-
<plugin>
118-
<groupId>de.jutzig</groupId>
119-
<artifactId>github-release-plugin</artifactId>
120-
<version>${github-release-plugin.version}</version>
121-
</plugin>
122116
</plugins>
123117
</pluginManagement>
124118
<plugins>
@@ -268,69 +262,6 @@
268262
</dependency>
269263
</dependencies>
270264
<profiles>
271-
<profile>
272-
<id>ossrh</id>
273-
<activation>
274-
<property>
275-
<name>channel</name>
276-
<value>ossrh</value>
277-
</property>
278-
</activation>
279-
<build>
280-
<plugins>
281-
<plugin>
282-
<groupId>org.apache.maven.plugins</groupId>
283-
<artifactId>maven-gpg-plugin</artifactId>
284-
<executions>
285-
<execution>
286-
<id>sign-artifacts</id>
287-
<phase>verify</phase>
288-
<goals>
289-
<goal>sign</goal>
290-
</goals>
291-
</execution>
292-
</executions>
293-
</plugin>
294-
<plugin>
295-
<groupId>org.sonatype.plugins</groupId>
296-
<artifactId>nexus-staging-maven-plugin</artifactId>
297-
<extensions>true</extensions>
298-
<configuration>
299-
<serverId>ossrh</serverId>
300-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
301-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
302-
</configuration>
303-
</plugin>
304-
</plugins>
305-
</build>
306-
<distributionManagement>
307-
<snapshotRepository>
308-
<id>ossrh</id>
309-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
310-
</snapshotRepository>
311-
</distributionManagement>
312-
</profile>
313-
<profile>
314-
<id>github</id>
315-
<activation>
316-
<property>
317-
<name>channel</name>
318-
<value>github</value>
319-
</property>
320-
</activation>
321-
<build>
322-
<plugins>
323-
<plugin>
324-
<groupId>de.jutzig</groupId>
325-
<artifactId>github-release-plugin</artifactId>
326-
<configuration>
327-
<releaseName>${project.name} ${project.version}</releaseName>
328-
<tag>v${project.version}</tag>
329-
</configuration>
330-
</plugin>
331-
</plugins>
332-
</build>
333-
</profile>
334265
<profile>
335266
<id>windows</id>
336267
<properties>

0 commit comments

Comments
 (0)