Hi based on [1] you can deactivate repositories in maven profiles
best Rupert [1] http://maven.apache.org/guides/introduction/introduction-to-profiles.html On Mon, Feb 25, 2013 at 9:26 AM, Fabian Christ <[email protected]> wrote: > Hi, > > one main reason why it is hard to find wrong deps is because all our > SNAPSHOTs are available in the Apache SNAPSHOT repo. Even if I delete > everything from my local repo I am unable to detect certain POM > version problems because the SNAPSHOTs of old version are downloaded > from the repo even if not available in the build. > > Building with -o (offline) is not an option since others deps to > released versions need to be resolved. > > Anyone an idea how to deactivate the Apache SNAPSHOT repo locally? It > is defined in the apache parent POM. > > One alternative: Do we really need to publish SNAPSHOTs? At least I > have no use for them. If I want SNAPSHOTs I build them myself. But > others may use them. WDYT? > > Best, > - Fabian > > -- > Fabian > http://twitter.com/fctwitt -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
