[java-identity-provider] branch main updated: IDP-1955 - Add attachClasses to the maven-war-plugin in idp-parent

Scott Cantor cantor.2 at osu.edu
Fri Aug 19 16:00:54 UTC 2022


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=f0cd7c26fea21c5b79f4d60149fb8353721a6293

The following commit(s) were added to refs/heads/main by this push:
     new f0cd7c26f IDP-1955 - Add attachClasses to the maven-war-plugin in idp-parent
f0cd7c26f is described below

commit f0cd7c26fea21c5b79f4d60149fb8353721a6293
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Aug 19 12:00:01 2022 -0400

    IDP-1955 - Add attachClasses to the maven-war-plugin in idp-parent
    
    https://shibboleth.atlassian.net/browse/IDP-1955
---
 idp-parent/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/idp-parent/pom.xml b/idp-parent/pom.xml
index 8d2c040b2..b06e2eac1 100644
--- a/idp-parent/pom.xml
+++ b/idp-parent/pom.xml
@@ -229,6 +229,20 @@
                 </configuration>
             </plugin>
 
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <!--
+                    Adding attachClasses to the maven-war-plugin will create a -classes jar as a
+                    build artifact for all war modules. This will provide an easy mechanism for
+                    downstream projects to use the <type>jar</type> and <classifier>classes</classifier>
+                    so Maven dependencyManagement can be used to override war dependencies if necessary.
+                    -->
+                    <attachClasses>true</attachClasses>
+                </configuration>
+            </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>

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


More information about the commits mailing list