On Thu, Jun 26, 2014 at 9:38 AM, Reto Gmür <r...@wymiwyg.com> wrote: > On Thu, Jun 26, 2014 at 9:28 AM, Rupert Westenthaler < > rupert.westentha...@gmail.com> wrote: > >> On Wed, Jun 25, 2014 at 4:31 PM, Reto Gmür <r...@wymiwyg.com> wrote: >> > Rehi, >> > >> > I've updated the versions in trunk. I've updated the dependent projectes >> > and the bundlelist to depend on the new SNAPSHOT version. So that some >> > changes will be reflected in the SNAPSHOT launcher. However this might >> mean >> > that when the launcher will be released and nothing changed in these >> > security modules we might want to switch back from 1.0.1-SNAPSHOT to >> 1.0.0. >> > >> >> In that case we can just remove those modules from the release. >> > And also switch back the version of the dependency in the dependent > projects. The maven versions:force-releases goal might be of help to do > this. It still needs to e done manually for the bundlelists are they are > not currently created from dependencies in the pom. >
OK I was assuming that you kept the maven dependencies to the release 1.0.0 modules and not updated them to 1.0.1-SNAPSHOT as this would allow to use both the release version as well as the 1.0.1-SNAPSHOT version at runtime (OSGI semantic versioning). For bundle lists there is the possibility to use maven properties instead of fixed version numbers. That means that we could define versions for modules in the parent pom. <properties> <stanbol-version>1.0.0-SNAPSHOT</stanbol-version> <stanbol-enhancer-version>${stanbol-version}</stanbol-enhancer-version> ... </properties> In the bundlelits one could than use <startLevel level="30"> <bundle> <groupId>org.apache.stanbol</groupId> <artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId> <version>${stanbol-enhancer-version}</version> </bundle> When adapting this it should be enough to adapt the version numbers in the parent when doing a release. In addition this could also be adopted for other important external dependencies (e.g. solr). best Rupert > Cheers, > Reto > > >> >> best >> Rupert >> >> -- >> | Rupert Westenthaler rupert.westentha...@gmail.com >> | Bodenlehenstraße 11 ++43-699-11108907 >> | A-5500 Bischofshofen >> | REDLINK.CO >> .......................................................................... >> | http://redlink.co/ >> -- | Rupert Westenthaler rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen | REDLINK.CO .......................................................................... | http://redlink.co/