I don't think we should go out of our way yet to convert everything to java5, preserving 1.4 compatibility (essentially 2.0/2.1 compatibility) should be considered. However if there's a reason, like the checkstyle update requies java 5, then we should do it and set a prerequisite of maven 2.2.0.
On Fri, May 15, 2009 at 11:05 AM, nicolas de loof <nicolas.del...@gmail.com>wrote: > I myself have been very conservative about Java updates because I still > have > to support Java 1.3 applications. I learned to use Maven with JDK6 and > target 1.3 environment. > for this reason I'm +1 with [A] or [B] (depending on the status of SNAPSHOT > plugins that in some cas include major fix compared to latest release) > Nicolas > > 2009/5/15 Dennis Lundberg <denn...@apache.org> > > > Hi > > > > Recent discussions about the Checkstyle Plugin has raised the question > > of requiring Java 5 in Maven Plugins. > > > > We will IIUC require Java 5 for Maven 2.2. So when do we start using it > > in our plugins? > > > > [A] We start using it across the board for the next release of every > > plugin that wants to use Java 5 features or needs a dependency that > > requires Java 5. > > > > [B] The plugins can start using Java 5 features and/or dependencies. It > > is required that the current trunk of the plugin is released first, > > targeting Java 1.4. In the announcement for that last Java 1.4 version > > of the plugin, we inform the users that this is the last version that > > will be able to run on Java 1.4. > > > > [C] The plugins should not use Java 5 features. We can use > > retrotranslator, or something similar, to handle dependencies that > > require Java 5. > > > > [D] The plugins should not use Java 5 features. We will not update > > dependencies unless a "-java14" classified artifact is readily available > > from the developers of any dependencies. > > > > > > If you feel that there are other options we can take, please feel free > > to put them into the mix. > > > > -- > > Dennis Lundberg > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > >