[JIRA] (IDP-1955) Add attachClasses to the maven-war-plugin in idp-parent

Dan McLaughlin (Jira) jira at shibboleth.atlassian.net
Wed Aug 10 04:17:24 UTC 2022


Dan McLaughlin ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A3a8d6dab-64f5-4a62-a23e-1603099d1796 ) *commented* on IDP-1955 ( https://shibboleth.atlassian.net/browse/IDP-1955?atlOrigin=eyJpIjoiNGYwMmViNjk3ZDA1NGM3YWE0MzFhMGNjNzQxMWEyMWEiLCJwIjoiaiJ9 )

Re: Add attachClasses to the maven-war-plugin in idp-parent ( https://shibboleth.atlassian.net/browse/IDP-1955?atlOrigin=eyJpIjoiNGYwMmViNjk3ZDA1NGM3YWE0MzFhMGNjNzQxMWEyMWEiLCJwIjoiaiJ9 )

We will use 4.2.1 for now if you think 5.0 will be too unstable. BTW, if you wanted to release a JakartaEE version of the idp-war in 4.x, all you need to do is add the following to your idp-war and idp-war-distribution modules. It will create a idp-war-jakarta.war that can run on Tomcat 10.x

<plugin>
<groupId>org.eclipse.transformer</groupId>
<artifactId>transformer-maven-plugin</artifactId>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<attach>true</attach>
<classifier>jakarta</classifier>
<transformDirectory>$

{project.build.directory}</transformDirectory>
<outputDirectory>${project.build.directory}

</outputDirectory>
<baseName>$

{project.build.finalName}

</baseName>
<overwrite>true</overwrite>
</configuration>
<executions>
<execution>
<id>$

{project.artifactId}-transform</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<rules>
<jakartaDefaults>true</jakartaDefaults>
</rules>
<artifact>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}

</artifactId>
<version>$

{project.version}

</version>
</artifact>
<buildDirectory>$

{project.build.directory}

</buildDirectory>
<packagingTypes>war</packagingTypes>
<type>war</type>
</configuration>
</execution>
</executions>
</plugin>

( https://shibboleth.atlassian.net/browse/IDP-1955#add-comment?atlOrigin=eyJpIjoiNGYwMmViNjk3ZDA1NGM3YWE0MzFhMGNjNzQxMWEyMWEiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1955#add-comment?atlOrigin=eyJpIjoiNGYwMmViNjk3ZDA1NGM3YWE0MzFhMGNjNzQxMWEyMWEiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100204- sha1:2e7ea99 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220810/180defd0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-bfb74fb2-b383-47d4-b9a8-ce6a2f3c046b
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220810/180defd0/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-3a4700dd-34cd-44ff-9b57-98b26f4702e4
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220810/180defd0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-e0e5b3bd-d7d6-4c7e-ad13-471b219bb347
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220810/180defd0/attachment-0005.png>


More information about the commits mailing list