#1224 Adding Automatic-Module-Name headers to mapstruct, mapstruct-jdk8 and mapstruct-processor JARs

This commit is contained in:
Gunnar Morling 2017-07-08 15:24:39 +02:00
parent c983b6d1e4
commit ca0721d931
3 changed files with 13 additions and 0 deletions

View File

@ -152,6 +152,11 @@
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Automatic-Module-Name>org.mapstruct</Automatic-Module-Name>
</instructions>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>

View File

@ -143,6 +143,11 @@
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Automatic-Module-Name>org.mapstruct</Automatic-Module-Name>
</instructions>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>

View File

@ -137,6 +137,9 @@
<manifest> <manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest> </manifest>
<manifestEntries>
<Automatic-Module-Name>org.mapstruct.processor</Automatic-Module-Name>
</manifestEntries>
</archive> </archive>
</configuration> </configuration>
</plugin> </plugin>