[ http://jira.codehaus.org/browse/MNG-404?page=comments#action_42881 ]
Trygve Laugstol commented on MNG-404: ------------------------------------- >From >https://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/DefaultContinuumCore.java private String getVersion() { InputStream resourceAsStream; try { Properties properties = new Properties(); resourceAsStream = this.getClass().getClassLoader().getResourceAsStream( "META-INF/maven/org.apache.maven.continuum/continuum-core/pom.properties" ); properties.load( resourceAsStream ); return properties.getProperty( "version", "unknown" ); } catch ( Exception e ) { return "unknown"; } } > add a required-maven-version to the POM > --------------------------------------- > > Key: MNG-404 > URL: http://jira.codehaus.org/browse/MNG-404 > Project: Maven 2 > Type: New Feature > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-beta-1 > > > add the ability to fail if not >= a specified version of Maven (plugin > requirement as well?). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
