Upgrade group, artifact ID and version of an artifactItem, of a maven plugin execution configuration

Apache 2.0

Change the groupId and the artifactId of an artifactItem in the configuration section of a plugin's execution. This recipe does not perform any validation and assumes all values passed are valid.

com.oracle.weblogic.rewrite.jakarta.UpgradeMavenPluginArtifactItems

Required

The old group ID to replace.

The old artifact ID to replace.

The new group ID to use.

The new artifact ID to use.

Optional

An exact version number.

mod run . --recipe=com.oracle.weblogic.rewrite.jakarta.UpgradeMavenPluginArtifactItems \ -P oldGroupId=javax \ -P oldArtifactId=javax \ -P newGroupId=jakarta.platform \ -P newArtifactId=javaee-api

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.