From: Cyrus H. <ch...@bo...> - 2014-03-13 21:30:14
|
On Mar 13, 2014, at 2:26 PM, John May <joh...@gm...> wrote: > Ergh, cluttered thoughts: > >> To ensure the local version is used, don’t include the ebi snapshot repository in the configuration of downstream project. Repositories should be defined on a per-project basis. Ok, I see. This makes sense… >> >> To change the version in the XML you can use - http://mojo.codehaus.org/versions-maven-plugin/, no additional configuration needed. I would recommend just removing the repository though as it keeps things cleaner. >> >>> mvn versions:set -DnewVersion=1.5.6-LOCAL >> >> The versions are stored separately as some projects increment the modules independently. This is a lot more work, and makes things very confusing but basically if there are no changes to a module since the last release the existing version can be used. You can also do this locally, if for example I made a change to fix the fingerprints, I could change just that version and use that in the downstream project. >> >>> mvn versions:set -DnewVersion=1.5.6-withfpfix -DartifactId=cdk-fingerprint Ok, thanks again! Cyrus |