Montag, 12. November 2012

maven: dependency-attach-plugin

Never ever had the need to get a dependency and just redeploy without doing anything to it?  E.g. Download the dependency in version 0.0.5-SNAPSHOT and redeploy as 1.1-RC-5? Maybe this seems strange but we did it exactly this way to create a release based on current SNAPSHOTs from our artifact repository.

See [1] to get an impression. Executing mvn clean deploy would download the list of artifact items and deploy it as


Of course, you’re right saying that all this makes no sense. Get a hint about how you can pimp your pom to make the version “flexible” at this blog.

[1] example pom


[2] Download

From maven central (

Keine Kommentare:

Kommentar veröffentlichen