[java-idp-plugin-archetype] branch main updated: Add maven-jar-plugin to API

Phil Smart philip.smart at jisc.ac.uk
Wed Oct 18 13:36:01 UTC 2023


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

philsmart pushed a commit to branch main
in repository java-idp-plugin-archetype.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-archetype.git;a=commit;h=7b67629490fc17268f883815d7ff037dea867147

The following commit(s) were added to refs/heads/main by this push:
     new 7b67629  Add maven-jar-plugin to API
7b67629 is described below

commit 7b67629490fc17268f883815d7ff037dea867147
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Oct 18 14:35:54 2023 +0100

    Add maven-jar-plugin to API
---
 .../archetype-resources/plugin-api/pom.xml         | 27 ++++++++++++++++++++--
 .../archetype-resources/plugin-impl/pom.xml        |  2 +-
 2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/archetype-resources/plugin-api/pom.xml b/src/main/resources/archetype-resources/plugin-api/pom.xml
index c0708e2..74b27ee 100644
--- a/src/main/resources/archetype-resources/plugin-api/pom.xml
+++ b/src/main/resources/archetype-resources/plugin-api/pom.xml
@@ -28,8 +28,31 @@
             <artifactId>jsr305</artifactId>
             <scope>provided</scope>
         </dependency>
-        
+
         <!-- Test dependencies -->
     </dependencies>
-    
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestSections>
+                            <manifestSection>
+                                <name>org/example/com/${pluginBase}/</name>
+                                <manifestEntries>
+                                    <Implementation-Title>${project.artifactId}</Implementation-Title>
+                                    <Implementation-Version>${project.version}</Implementation-Version>
+                                    <Implementation-Vendor>${vendor}</Implementation-Vendor>
+                                </manifestEntries>
+                            </manifestSection>
+                        </manifestSections>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>
diff --git a/src/main/resources/archetype-resources/plugin-impl/pom.xml b/src/main/resources/archetype-resources/plugin-impl/pom.xml
index f83a6ed..55119a5 100644
--- a/src/main/resources/archetype-resources/plugin-impl/pom.xml
+++ b/src/main/resources/archetype-resources/plugin-impl/pom.xml
@@ -31,7 +31,7 @@
             <scope>provided</scope>
         </dependency>
         <dependency>
-            <groupId>${shib-shared.groupId}</groupId>
+            <groupId>${shib-profile.groupId}</groupId>
             <artifactId>shib-profile-api</artifactId>
             <scope>provided</scope>
         </dependency>

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


More information about the commits mailing list