Skip to content

Commit 0adf999

Browse files
Merge pull request #2 from nextbreakpoint/development
add automatic-module-name property to manifest
2 parents f18b3e4 + d137f5e commit 0adf999

File tree

3 files changed

+51
-23
lines changed

3 files changed

+51
-23
lines changed

LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016, Andrea Medeghini
1+
Copyright (c) 2016-2018, Andrea Medeghini
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without
@@ -25,4 +25,3 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2525
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2626
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2727
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28-

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# FFmpeg4Java 3.1.1-1.0
1+
# FFmpeg4Java 3.1.1-1.1
22

33
FFmpeg4Java provides a JNI wrapper of FFmpeg library version 3.1.1.
44

@@ -7,23 +7,23 @@ FFmpeg4Java provides a JNI wrapper of FFmpeg library version 3.1.1.
77

88
FFmpeg4Java is distributed under the terms of BSD 3-Clause License.
99

10-
Copyright (c) 2016, Andrea Medeghini
10+
Copyright (c) 2016-2018, Andrea Medeghini
1111
All rights reserved.
12-
12+
1313
Redistribution and use in source and binary forms, with or without
1414
modification, are permitted provided that the following conditions are met:
15-
15+
1616
* Redistributions of source code must retain the above copyright notice, this
1717
list of conditions and the following disclaimer.
18-
18+
1919
* Redistributions in binary form must reproduce the above copyright notice,
2020
this list of conditions and the following disclaimer in the documentation
2121
and/or other materials provided with the distribution.
22-
22+
2323
* Neither the name of FFmpeg4Java nor the names of its
2424
contributors may be used to endorse or promote products derived from
2525
this software without specific prior written permission.
26-
26+
2727
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2828
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2929
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -133,7 +133,7 @@ The native library will be created in directory:
133133
build/com.nextbreakpoint.ffmpeg4java/src/main/resources/win32
134134

135135

136-
## Create and install artifacts
136+
## Create and install artifacts
137137

138138
We use Apache Maven to compile and package the artifacts.
139139

@@ -176,4 +176,3 @@ Run tests on Windows:
176176
## TODO
177177

178178
- Add sample application to show how to use the library
179-

maven/com.nextbreakpoint.ffmpeg4java/pom.xml

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.nextbreakpoint</groupId>
55
<artifactId>com.nextbreakpoint.ffmpeg4java</artifactId>
6-
<version>3.1.1-1.0</version>
6+
<version>3.1.1-1.1</version>
77
<packaging>jar</packaging>
88
<name>FFmpeg4Java</name>
99
<description>FFmpeg4Java provides a JNI wrapper of FFmpeg library</description>
@@ -68,25 +68,45 @@
6868
<plugin>
6969
<groupId>org.apache.maven.plugins</groupId>
7070
<artifactId>maven-jar-plugin</artifactId>
71-
<version>3.0.2</version>
72-
<configuration>
73-
<includes>
74-
<include>**/*.class</include>
75-
</includes>
76-
</configuration>
71+
<version>3.1.0</version>
7772
<executions>
73+
<execution>
74+
<id>jar</id>
75+
<phase>package</phase>
76+
<goals>
77+
<goal>jar</goal>
78+
</goals>
79+
<configuration>
80+
<archive>
81+
<manifestEntries>
82+
<Automatic-Module-Name>com.nextbreakpoint.ffmpeg4java</Automatic-Module-Name>
83+
</manifestEntries>
84+
</archive>
85+
<classifier>classes</classifier>
86+
<excludes>
87+
</excludes>
88+
<includes>
89+
<include>**/*.class</include>
90+
</includes>
91+
</configuration>
92+
</execution>
7893
<execution>
7994
<id>linux</id>
8095
<phase>package</phase>
8196
<goals>
8297
<goal>jar</goal>
8398
</goals>
8499
<configuration>
100+
<archive>
101+
<manifestEntries>
102+
<Automatic-Module-Name>com.nextbreakpoint.ffmpeg4java.linux</Automatic-Module-Name>
103+
</manifestEntries>
104+
</archive>
85105
<classifier>linux_x86_64</classifier>
86106
<excludes>
87107
</excludes>
88108
<includes>
89-
<include>**/linux/*</include>
109+
<include>**/linux/*</include>
90110
</includes>
91111
</configuration>
92112
</execution>
@@ -97,11 +117,16 @@
97117
<goal>jar</goal>
98118
</goals>
99119
<configuration>
120+
<archive>
121+
<manifestEntries>
122+
<Automatic-Module-Name>com.nextbreakpoint.ffmpeg4java.macos</Automatic-Module-Name>
123+
</manifestEntries>
124+
</archive>
100125
<classifier>macos_x86_64</classifier>
101126
<excludes>
102127
</excludes>
103128
<includes>
104-
<include>**/macos/*</include>
129+
<include>**/macos/*</include>
105130
</includes>
106131
</configuration>
107132
</execution>
@@ -112,11 +137,16 @@
112137
<goal>jar</goal>
113138
</goals>
114139
<configuration>
140+
<archive>
141+
<manifestEntries>
142+
<Automatic-Module-Name>com.nextbreakpoint.ffmpeg4java.win32</Automatic-Module-Name>
143+
</manifestEntries>
144+
</archive>
115145
<classifier>win32_x86_64</classifier>
116146
<excludes>
117147
</excludes>
118148
<includes>
119-
<include>**/win32/*</include>
149+
<include>**/win32/*</include>
120150
</includes>
121151
</configuration>
122152
</execution>
@@ -138,7 +168,7 @@
138168
<plugin>
139169
<groupId>org.apache.maven.plugins</groupId>
140170
<artifactId>maven-gpg-plugin</artifactId>
141-
<version>1.5</version>
171+
<version>1.6</version>
142172
<executions>
143173
<execution>
144174
<id>sign-artifacts</id>
@@ -251,4 +281,4 @@
251281
</build>
252282
</profile>
253283
</profiles>
254-
</project>
284+
</project>

0 commit comments

Comments
 (0)