Thiago Henrique De Paula Figueiredo created TAP5-2789: ---------------------------------------------------------
Summary: 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 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)