This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git

commit 6991055476bf0641165eee1ebd3c85fc8ae6f6dd
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Apr 6 09:40:43 2024 -0400

    Use a unique Automatic-Module-Name
---
 juneau-core/juneau-assertions/pom.xml                |  2 +-
 juneau-core/juneau-common/pom.xml                    |  2 +-
 juneau-examples/juneau-examples-core/pom.xml         | 12 ++++++++++++
 juneau-examples/juneau-examples-rest-jetty/pom.xml   | 12 ++++++++++++
 juneau-examples/juneau-examples-rest/pom.xml         | 12 ++++++++++++
 juneau-microservice/juneau-microservice-core/pom.xml | 12 ++++++++++++
 juneau-rest/juneau-rest-server-springboot/pom.xml    |  3 ++-
 7 files changed, 52 insertions(+), 3 deletions(-)

diff --git a/juneau-core/juneau-assertions/pom.xml 
b/juneau-core/juneau-assertions/pom.xml
index 0f97d73c9..94cb888fa 100644
--- a/juneau-core/juneau-assertions/pom.xml
+++ b/juneau-core/juneau-assertions/pom.xml
@@ -47,7 +47,7 @@
                                <extensions>true</extensions>
                                <configuration>
                                        <instructions>
-                                               
<Automatic-Module-Name>org.apache.juneau.config</Automatic-Module-Name>
+                                               
<Automatic-Module-Name>org.apache.juneau.assertions</Automatic-Module-Name>
                                        </instructions>
                                </configuration>
                        </plugin>
diff --git a/juneau-core/juneau-common/pom.xml 
b/juneau-core/juneau-common/pom.xml
index 1a22052c1..7a76985af 100644
--- a/juneau-core/juneau-common/pom.xml
+++ b/juneau-core/juneau-common/pom.xml
@@ -46,7 +46,7 @@
                                <extensions>true</extensions>
                                <configuration>
                                        <instructions>
-                                               
<Automatic-Module-Name>org.apache.juneau.config</Automatic-Module-Name>
+                                               
<Automatic-Module-Name>org.apache.juneau.common</Automatic-Module-Name>
                                        </instructions>
                                </configuration>
                        </plugin>
diff --git a/juneau-examples/juneau-examples-core/pom.xml 
b/juneau-examples/juneau-examples-core/pom.xml
index b135e2b23..654cfa4eb 100644
--- a/juneau-examples/juneau-examples-core/pom.xml
+++ b/juneau-examples/juneau-examples-core/pom.xml
@@ -24,6 +24,8 @@
        </parent>
 
        <artifactId>juneau-examples-core</artifactId>
+       <packaging>bundle</packaging>
+
        <name>juneau/examples/examples-core</name>
        <description>Apache Juneau Core Examples</description>
 
@@ -50,6 +52,16 @@
 
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <instructions>
+                                               
<Automatic-Module-Name>org.apache.juneau.examples.core</Automatic-Module-Name>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <artifactId>maven-assembly-plugin</artifactId>
                                <executions>
diff --git a/juneau-examples/juneau-examples-rest-jetty/pom.xml 
b/juneau-examples/juneau-examples-rest-jetty/pom.xml
index 0cff3827c..07cc36703 100644
--- a/juneau-examples/juneau-examples-rest-jetty/pom.xml
+++ b/juneau-examples/juneau-examples-rest-jetty/pom.xml
@@ -24,6 +24,8 @@
        </parent>
 
        <artifactId>juneau-examples-rest-jetty</artifactId>
+       <packaging>bundle</packaging>
+
        <name>juneau/examples/examples-rest-jetty</name>
        <description>Apache Juneau REST Examples using Jetty</description>
 
@@ -56,6 +58,16 @@
 
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <instructions>
+                                               
<Automatic-Module-Name>org.apache.juneau.examples.rest</Automatic-Module-Name>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
diff --git a/juneau-examples/juneau-examples-rest/pom.xml 
b/juneau-examples/juneau-examples-rest/pom.xml
index 222d9d1c0..8cdfc8921 100644
--- a/juneau-examples/juneau-examples-rest/pom.xml
+++ b/juneau-examples/juneau-examples-rest/pom.xml
@@ -24,6 +24,8 @@
        </parent>
 
        <artifactId>juneau-examples-rest</artifactId>
+       <packaging>bundle</packaging>
+
        <name>juneau/examples/rest</name>
        <description>Apache Juneau REST Examples</description>
 
@@ -82,6 +84,16 @@
 
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <instructions>
+                                               
<Automatic-Module-Name>org.apache.juneau.examples.rest</Automatic-Module-Name>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
diff --git a/juneau-microservice/juneau-microservice-core/pom.xml 
b/juneau-microservice/juneau-microservice-core/pom.xml
index 2959d149d..b48fdd707 100644
--- a/juneau-microservice/juneau-microservice-core/pom.xml
+++ b/juneau-microservice/juneau-microservice-core/pom.xml
@@ -24,6 +24,8 @@
        </parent>
 
        <artifactId>juneau-microservice-core</artifactId>
+       <packaging>bundle</packaging>
+
        <name>juneau/microservice/microservice-core</name>
        <description>Apache Juneau Microservice Core API</description>
 
@@ -49,6 +51,16 @@
 
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <instructions>
+                                               
<Automatic-Module-Name>org.apache.juneau.microservice.core</Automatic-Module-Name>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
diff --git a/juneau-rest/juneau-rest-server-springboot/pom.xml 
b/juneau-rest/juneau-rest-server-springboot/pom.xml
index c18e4a463..5e4d2215b 100644
--- a/juneau-rest/juneau-rest-server-springboot/pom.xml
+++ b/juneau-rest/juneau-rest-server-springboot/pom.xml
@@ -24,9 +24,10 @@
        </parent>
 
        <artifactId>juneau-rest-server-springboot</artifactId>
+       <packaging>bundle</packaging>
+
        <name>juneau/rest/rest-server-springboot</name>
        <description>Apache Juneau REST Server Spring Boot 
Integration</description>
-       <packaging>bundle</packaging>
 
        <dependencies>
                <dependency>

Reply via email to