You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/09/14 20:47: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=17881816#comment-17881816 ] 

ASF subversion and git services commented on TAP5-2789:
-------------------------------------------------------

Commit 8d31a99d480c3295e7ad6a21f1f48eb0138465df in tapestry-5's branch refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=8d31a99d4 ]

TAP5-2789: migration tool to assist with suffixed artifacts

in Maven pom.xml files

> 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
>
> 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)