You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2024/10/21 17:05:00 UTC

[jira] [Commented] (TAP5-2789) Create Maven configuration tool to assist with suffixed artifacts

    [ https://issues.apache.org/jira/browse/TAP5-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891603#comment-17891603 ] 

Hudson commented on TAP5-2789:
------------------------------

SUCCESS: Integrated in Jenkins build Tapestry ยป tapestry-java-17-freestyle #131 (See [https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/131/])
TAP5-2789: migration tool to assist with suffixed artifacts (thiago: rev 8d31a99d480c3295e7ad6a21f1f48eb0138465df)
* (edit) tapestry-version-migrator/src/main/java/org/apache/tapestry5/versionmigrator/Main.java
TAP5-2789: fix error when compiling with Java 17 (thiago: rev b01afbedb325897084ab5f2277e99a0e6fe2a02f)
* (edit) tapestry-version-migrator/src/main/java/org/apache/tapestry5/versionmigrator/Main.java


> Create Maven configuration tool to assist with suffixed artifacts
> -----------------------------------------------------------------
>
>                 Key: TAP5-2789
>                 URL: https://issues.apache.org/jira/browse/TAP5-2789
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-version-migrator
>            Reporter: Thiago Henrique De Paula Figueiredo
>            Assignee: Thiago Henrique De Paula Figueiredo
>            Priority: Major
>             Fix For: 5.9.0
>
>
> TAP5-2741 and TAP5-2788 introduced support for Jakarta EE. From Tapestry 5.9.0 on, there are 2 versions of each affected artifact: one without suffix with support for javax.servlet and another with the "-jakarta" suffix supporting Jakarta EE/jakarta.servlet.
> This ticket creates an option in tapestry-version-migrator, "artifactSuffix", which looks for pom.xml files in the current folder and in subfolders recursively, changing them so switching from or to suffixed artifacts is just a matter of changing a property value.
> This migrator tool option executes these transformations:
>  # If the pom.xml file doesn't have a <properties>, one is added.
>  # If the pom.xml file doesn't have a <tapestry-artifact-suffix>, one is added. The value comes from the second parameter passed to the tool. If none is passed, an empty suffix/element is generated.
>  # For all dependencies matching one of the suffixed artifacts, the <artifactId> value has "${tapestry-artifact-suffix}" added. For example: <artifactId>tapestry-core</artifactId> is transformed into <artifactId>tapestry-core${tapestry-artifact-suffix}</artifactId>.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)