Hi On 2011-02-06 08:16, chemit wrote: > Hi, > > I tried to use the maven 2.0.6 to check the project I work on > (license-mavedn-plugin). > > I assumed with the enforcer expression : > > <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version> > > from the codehaus-parent-3 that will let pass version 2.0.6. > > But I have this message from m-copiler-p : > > tchemit@tc:~/projets/codehaus/license-maven-plugin$ mvn -version > Maven version: 2.0.6 > tchemit@tc:~/projets/codehaus/license-maven-plugin$ mvn install > [INFO] Scanning for projects... > WAGON_VERSION: 1.0-beta-2 > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building License Maven Plugin > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error resolving version for > 'org.apache.maven.plugins:maven-compiler-plugin': Plugin requires Maven > version 2.0.9
If you look closely at the error message, you will see that it is Maven Compiler Plugin that insists on Maven 2.0.9. This is because Maven Compiler Plugin 2.3.2 (which is defined in mojo-parent 27) has a prerequisite on Maven 2.0.9. > Don't we change the enforcer rule ? to not accept maven version prior > to 2.0.9 ? > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email