Right, so do we agree to upgrade default-value to 1.5 in a new 2.1 branch of the compiler plugin (with required warnings in release note) ?
2009/6/5 Olivier Lamy <[email protected]> > 2009/6/4 Brian Fox <[email protected]>: > > On Thu, Jun 4, 2009 at 9:44 AM, nicolas de loof <[email protected]> > 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: [email protected] > For additional commands, e-mail: [email protected] > >
