In my maven project, I am looking for a way to create an artifact alias for an artifact that I have created. The reason is that a specific artifact used to be deployed under with a different artifactId and I want to keep supporting this old artifactId for the time being, even for new releases, without having to have a full duplicate module for this other artifact.
For example. Say I have the artifact foo-bar
in version 1.0 of my project and I decided to rename this artifact to foo-baz
in version 2.0, but I still want to support the foo-bar
artifactId until the release of version 3.0, for backwards compatibility reasons.
So therefore I want to find a way to define foo-bar
as an alias for foo-baz
. Is this possible to do?