[ http://jira.codehaus.org/browse/MNG-2706?page=comments#action_83041 ] Steve Loughran commented on MNG-2706: -------------------------------------
Its very non-portable across JVM implementations to do this, as often the OSS impls pull forward library artifacts into JVM versions, at other times they leave them out. Certainly a language level makes a good declaration, but as java6 uses the java5 language, really you should be specifying a dependency on the java6 libraries as another JAR dependency > Add JDK version to <prerequisites> > ---------------------------------- > > Key: MNG-2706 > URL: http://jira.codehaus.org/browse/MNG-2706 > Project: Maven 2 > Issue Type: Improvement > Components: POM > Reporter: Kohsuke Kawaguchi > > Currently the only prerequsite one can specify is <maven/> according to > http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_prerequisites > It would be nice to be able to say that a project requires a certain version > of JDK, like, say, 1.5 or 1.6. -- 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