I use maven shade plugin in the package
phase and I want that
the shaded jar becomes the main jar
my-app.jar
the original jar is not renamed to
original-my-app.jar
but a custom classifier is applied to it, in particularmy-app:no-deps.jar
finally I want that both jars are deployed with
mvn deploy
My current setup has <shadedArtifactAttached>false</shadedArtifactAttached>
which makes the shaded jar to be renamed as the main jar of the project and deployed (which is fine) but I don't get the original jar to be deployed and moreover I don't know how to rename it.