[java-identity-provider] branch maint-4 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:05 UTC 2022


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

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

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

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

commit 30cbcf2ac6e156d2886f92ff9ac8c120931868f7
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 a67414779..2eb4738a7 100644
--- a/idp-parent/pom.xml
+++ b/idp-parent/pom.xml
@@ -206,6 +206,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