I have not tested a file: based URL, only http: (because if you are using these rules you really need to publish them to your entire team)
On 21 October 2010 15:13, Moser, Christian <[email protected]> wrote: > Yes I did, I tried to call the plugin with: > 'D:\MNet\Tools\maven\bin\mvn.bat > -Dmaven.version.rules=file:///C:/Users/cmo/Desktop/rules.xml > -Dmaven.repo.local=C:\Java\.m2\repository --update-snapshots > org.codehaus.mojo:versions-maven-plugin:1.2:display-dependency-updates' > > rules.xml content: > <ruleset comparisonMethod="maven"> > <rules> > <rule groupId="mnet" comparisonMethod="mercury"/> (also tried numeric) > </rules> > </ruleset> > > But it didn't work. Is there any possibility to configure version number > rules in more detail? > > -----Ursprüngliche Nachricht----- > Von: Stephen Connolly [mailto:[email protected]] > Gesendet: Donnerstag, 21. Oktober 2010 13:14 > An: Maven Users List > Betreff: Re: maven-versions-plugin version comparism > > Did you read the FAQ? > > http://mojo.codehaus.org/versions-maven-plugin/faq.html#comparisonMethod > > On 21 October 2010 11:56, Moser, Christian <[email protected]> wrote: >> I've got following effect with the maven versions plugin 1.2. >> >> >> >> If we release a milestone of our software, we declare the components >> which are included in the milestone with [version]-[unrel]-[revision]. >> When the software is in the release process, we remove the additional >> declaration. For example: Version 1.1.0-unrel-0038381 will be >> transformed to 1.1.0, so in fact, 1.1.0 is newer than >> 1.1.0-unrel-0038381. >> >> >> >> I don't know why the plugin acts like this: >> >> >> >> org.codehaus.mojo:versions-maven-plugin:1.2:display-dependency-updates >> will >> >> ... >> >> The following dependencies in Dependency Management have newer versions: >> >> SnakeYAML:SnakeYAML ....................................... 1.2 -> 1.3 >> >> mnet:comp-accessoriesconfig ............. 1.1.0 -> 1.1.0-unrel-0038381 >> >> mnet:comp-accessoriesconfig-if .......... 1.1.0 -> 1.1.0-unrel-0038381 >> >> mnet:comp-accessoriesconfigview ......... 1.1.0 -> 1.2.0-unrel-0039226 >> >> mnet:comp-accessoriesconfigview-if ...... 1.0.0 -> 1.0.0-unrel-0027036 >> >> ... >> >> >> >> Do you know why? >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
