The deployment of org.apache.commons:commons-iowas a publishing mistake around 2012 which was corrected by changing the deployment GAV to be located under commons-io:commons-io.
This recipe has no required configuration options. It can be activated by adding a dependency on org.openrewrite.recipe:rewrite-apache:1.1.0 in your build file or by running a shell command (in which case no build changes are needed):
---type:specs.openrewrite.org/v1beta/recipename:org.openrewrite.apache.commons.io.RelocateApacheCommonsIodisplayName:Relocate `org.apache.commons:commons-io` to `commons-io:commons-io`description: The deployment of `org.apache.commons:commons-io` [was a publishing mistake around 2012](https://issues.sonatype.org/browse/MVNCENTRAL-244) which was corrected by changing the deployment GAV to be located under `commons-io:commons-io`.
tags: - security - apache - commonsrecipeList: - org.openrewrite.java.dependencies.ChangeDependency:oldGroupId:org.apache.commonsoldArtifactId:commons-ionewGroupId:commons-ionewArtifactId:commons-io
See how this recipe works across multiple open-source repositories
The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.
Please contact Moderne for more information about safely running the recipes on your own codebase in a private SaaS.