Hi, I would like to launch a build using a clean local repository. I have already tried the following solutions:
- Use the "maven.repo.local" property [1] from Maven 1. I haven't found a similar reference in Maven 2 & 3 documentation, so I don't know it's safe to use. - Specify a <localRepository> in a custom settings.xml and specifiy it on the command line using a "-s" option. This forces me to duplicate the original settings.xml file only to use a different local repo. - Use dependency:purge-local-repository to clean the local repository. It works quite well, but it doesn't remove parent POMs that, obviously, are not dependencies. - Manually or automatically delete my current local repository. It's not what I want. I've also found a similar conversation on this mailing list [2] but it seems that there were no definitive solutions. Do you had the same problem in the past? Have you found other solutions to this problem? Thanks, Francesco [1]: http://maven.apache.org/maven-1.x/reference/properties.html [2]: http://maven.40175.n5.nabble.com/Cleaning-local-repository-td114691.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
