You might try: <version>[1.0.1)</version> to force the version to be no less than 1.0.1... Not sure if it will work though.
If you are certain this is a bug, file a report in JIRA and include a small pom.xml that clearly demonstrates the trouble so someone can look into it. Wayne On 3/14/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > Hello > > I'm trying to use JiBX plugin (from > http://jibx.sourceforge.net/maven-jibx-plugin > <http://jibx.sourceforge.net/maven-jibx-plugin/>) but have some version > conflicts : > maven downloads 1.0-RC1.jar of jibx artifacts even if I've set > <dependency> from 1.0.1 on my pom and on the jibx <plugin> dependencies. > > In debugs, I can read : > org.jibx:jibx-run:jar:1.0.1 (removed - nearer found: 1.0-RC1) > > Does this mean that maven consider 1.0-RC1 "newer" that 1.0.1. > > Dosen't the "-RC1" consider an implicit ".0-RC1" according to > http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution > > " any '0' build or revision elements can be omitted. " > > > Here are extracts from my pom : > > <plugin> > <groupId>org.jibx</groupId> > <artifactId>maven-jibx-plugin</artifactId> > <version>1.1</version> > <configuration> > <directory>src/main/jibx</directory> > </configuration> > <executions> > <execution> > <goals><goal>bind</goal></goals> > </execution> > </executions> > <!-- force 1.0.1 --> > <dependencies> > <dependency> > <groupId>org.jibx</groupId> > <artifactId>jibx-bind</artifactId> > <version>1.0.1</version> > </dependency> > <dependency> > <groupId>org.jibx</groupId> > <artifactId>jibx-extras</artifactId> > <version>1.0.1</version> > </dependency> > <dependency> > <groupId>org.jibx</groupId> > <artifactId>jibx-run</artifactId> > <version>1.0.1</version> > </dependency> > </dependencies> > </plugin> > ... > > <dependency> > <groupId>org.jibx</groupId> > <artifactId>jibx-extras</artifactId> > <version>1.0.1</version> > </dependency> > > > This message contains information that may be privileged or confidential and > is the property of the Capgemini Group. It is intended only for the person to > whom it is addressed. If you are not the intended recipient, you are not > authorized to read, print, retain, copy, disseminate, distribute, or use > this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
