[java-idp-jetty-base] 02/02: Manifest issues

Rod Widdowson rdw at steadingsoftware.com
Sat Jul 19 16:10:39 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch dev/JJETTY-13
in repository java-idp-jetty-base.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=dda763c80f456c23e771833d5b8d7b6f7e890ede

commit dda763c80f456c23e771833d5b8d7b6f7e890ede
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jul 19 17:04:47 2025 +0100

    Manifest issues
---
 jetty-cli/pom.xml  | 12 ++++++++----
 jetty-impl/pom.xml |  3 ++-
 pom.xml            | 21 ++++++++++++++++++++-
 3 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/jetty-cli/pom.xml b/jetty-cli/pom.xml
index 29ff1f4..9661468 100644
--- a/jetty-cli/pom.xml
+++ b/jetty-cli/pom.xml
@@ -17,6 +17,10 @@
     <artifactId>jetty-plugin-cli</artifactId>
     <packaging>jar</packaging>
 
+    <properties>
+        <automatic.module.name>net.shibboleth.idp.plugin.jetty.cli</automatic.module.name>
+    </properties>
+    
     <dependencies>
 
         <dependency>
@@ -46,17 +50,17 @@
         <dependency>
             <groupId>${shib-shared.groupId}</groupId>
             <artifactId>shib-cli</artifactId>
-           <scope>provided</scope>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${shib-shared.groupId}</groupId>
             <artifactId>shib-networking</artifactId>
-           <scope>provided</scope>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${shib-shared.groupId}</groupId>
             <artifactId>shib-networking-spring</artifactId>
-           <scope>provided</scope>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${slf4j.groupId}</groupId>
@@ -102,7 +106,7 @@
                     <archive>
                         <manifestSections>
                             <manifestSection>
-                                <name>net/shibboleth/idp/jettybase/plugin</name>
+                                <name>net/shibboleth/idp/plugin/jetty/plugin/cli/</name>
                                 <manifestEntries>
                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
                                     <Implementation-Version>${project.version}</Implementation-Version>
diff --git a/jetty-impl/pom.xml b/jetty-impl/pom.xml
index 1f832a7..ccb003e 100644
--- a/jetty-impl/pom.xml
+++ b/jetty-impl/pom.xml
@@ -19,6 +19,7 @@
     <packaging>jar</packaging>
 
     <properties>
+        <automatic.module.name>net.shibboleth.idp.plugin.jetty</automatic.module.name>
         <assemblyDirectory>${project.build.directory}/jetty-base</assemblyDirectory>
     </properties>
 
@@ -88,7 +89,7 @@
                     <archive>
                         <manifestSections>
                             <manifestSection>
-                                <name>net/shibboleth/idp/jettybase/plugin</name>
+                                <name>net/shibboleth/idp/plugin/jetty/</name>
                                 <manifestEntries>
                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
                                     <Implementation-Version>${project.version}</Implementation-Version>
diff --git a/pom.xml b/pom.xml
index d80bbea..db8a350 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
     <description>
         Parent project for building a Jetty plugin
         which deploys a appropriate jetty-base (as a module).
-	The module also has commands to dowbnload jetty and procrun (on windows)
+        The module also has commands to dowbnload jetty and procrun (on windows)
     </description>
     <groupId>net.shibboleth.idp.plugin.jetty</groupId>
     <artifactId>jetty-plugin-parent</artifactId>
@@ -60,4 +60,23 @@
         <module>jetty-dist</module>
     </modules>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <index>true</index>
+                        <manifestEntries>
+                            <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
+                            <Sealed>true</Sealed>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
 </project>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list