Hi
I'm trying to remove a certain version of an artifact within my local repo.
I've written a small test script which downloads joda-time 1.0 and 1.6
Both versions exist with their directories in my local repo.
Then I download the POM for 1.6 into a temporary directory, enter that
directory, delete the <distributionManagement> from the POM and then call Maven:
mvn build-helper:remove-project-artifact -DremoveAll=false
However, that removes *all* versions in the local repo.
Unless I understand "removeAll" wrongly, it should only remove 1.6...
When running Maven in debug mode, I get
[DEBUG] Configuring mojo
'org.codehaus.mojo:build-helper-maven-plugin:1.5:remove-project-artifact' -->
[DEBUG] (f) localRepository = Repository[local|file://C:/jp/maven-repository]
[DEBUG] (f) project = MavenProject: joda-time:joda-time:1.6 @
c:\jp\esv-projects\client\temp\pom.xml
[DEBUG] (f) removeAll = true
[DEBUG] -- end configuration --
[INFO] [build-helper:remove-project-artifact {execution: default-cli}]
[INFO] C:\jp\maven-repository\joda-time\joda-time removed.
Am I doing something wrong or is this a bug?
Best regards,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]