Skip to content

Commit d4ee30a

Browse files
authored
Merge pull request #3139 from swagger-api/ticket-3138
ref #3138 - add Automatic-Module-Name to manifest
2 parents 0670fbe + 6468760 commit d4ee30a

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

modules/swagger-annotations/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
<artifactId>maven-bundle-plugin</artifactId>
2020
<version>${felix-version}</version>
2121
<extensions>true</extensions>
22+
<configuration>
23+
<instructions>
24+
<Automatic-Module-Name>io.swagger.v3.oas.annotations</Automatic-Module-Name>
25+
</instructions>
26+
</configuration>
2227
</plugin>
2328
</plugins>
2429
</build>

modules/swagger-core/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
<artifactId>maven-bundle-plugin</artifactId>
3333
<version>${felix-version}</version>
3434
<extensions>true</extensions>
35+
<configuration>
36+
<instructions>
37+
<Automatic-Module-Name>io.swagger.v3.core</Automatic-Module-Name>
38+
</instructions>
39+
</configuration>
3540
</plugin>
3641
<plugin>
3742
<groupId>org.apache.maven.plugins</groupId>

modules/swagger-integration/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
<artifactId>maven-bundle-plugin</artifactId>
4848
<version>${felix-version}</version>
4949
<extensions>true</extensions>
50+
<configuration>
51+
<instructions>
52+
<Automatic-Module-Name>io.swagger.v3.oas.integration</Automatic-Module-Name>
53+
</instructions>
54+
</configuration>
5055
</plugin>
5156
</plugins>
5257
</build>

modules/swagger-jaxrs2-servlet-initializer/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
javax.ws.rs*;version="2.0",
3636
*
3737
</Import-Package>
38+
<Automatic-Module-Name>io.swagger.v3.jaxrs2.integration</Automatic-Module-Name>
3839
</instructions>
3940
</configuration>
4041
</plugin>

modules/swagger-jaxrs2/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
javax.ws.rs*;version="2.0",
4141
*
4242
</Import-Package>
43+
<Automatic-Module-Name>io.swagger.v3.jaxrs2</Automatic-Module-Name>
4344
</instructions>
4445
</configuration>
4546
</plugin>

modules/swagger-models/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
io.swagger.v3.oas.models.servers,
4242
io.swagger.v3.oas.models.tags
4343
</Export-Package>
44+
<Automatic-Module-Name>io.swagger.v3.oas.models</Automatic-Module-Name>
4445
</instructions>
4546
</configuration>
4647
</plugin>

0 commit comments

Comments
 (0)