2009/6/4 Brian Fox <bri...@infinity.nu>: > On Thu, Jun 4, 2009 at 9:44 AM, nicolas de loof <nico...@apache.org> wrote: > >> Hi, >> just an suggestion for a potential fix to >> http://jira.codehaus.org/browse/MCOMPILER-80 >> >> as maven 2.0.9 fixes the plugin version in super POM, we can consider that >> - if maven 2.0.9 + is detected - any version of maven compiler > 2.0.2 (the >> one set in super-pom) has been set by the user. In such case, a 2.0.3 >> version of the plugin cannot be there because of the LATEST rule and can >> break full backward compatility (according this is well documented in the >> release note and plugin documentation). > > > >> >> So my idea would be to (pseudo-code) : >> >> if ( mavenSession.getVersion() > 2.0.9 && source == null) >> { >> source = 1.5; >> } >> if ( mavenSession.getVersion() > 2.0.9 && target == null) >> { >> target = 1.5; >> } >> > > -1, more complication than needed. > > >> >> For the same reason compiler 2.0.4 could default to 1.6 and so on. >> > > > There are lots of votes, change it and mark it loudly in the release notes.
+1 too. > > >> >> What's your opinion ? >> >> Nicolas >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org