Hi Hypothetical question. What happens for a project that cannot use the latest Modello plugin?
Maven Changes Plugin is stuck on version 1.0.1 of the Modello Plugin. That version just barely got this configuration parameter, it was added in 1.0. So we get by this time. Now the version of a plugin is easy to override, but can one "undo" a parameter that was added in a later version of the plugin? On 2011-06-21 01:22, [email protected] wrote: > Author: hboutemy > Date: Mon Jun 20 23:22:30 2011 > New Revision: 1137822 > > URL: http://svn.apache.org/viewvc?rev=1137822&view=rev > Log: > [MPOM-15] configured code generation plugins (Modello and > maven-plugin-plugin) to generate Java 5 sources > > Modified: > maven/pom/trunk/maven/pom.xml > > Modified: maven/pom/trunk/maven/pom.xml > URL: > http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1137822&r1=1137821&r2=1137822&view=diff > ============================================================================== > --- maven/pom/trunk/maven/pom.xml (original) > +++ maven/pom/trunk/maven/pom.xml Mon Jun 20 23:22:30 2011 > @@ -625,6 +625,21 @@ under the License. > <artifactId>maven-site-plugin</artifactId> > <version>2.3</version> > </plugin> > + <plugin> > + <groupId>org.apache.maven.plugins</groupId> > + <artifactId>maven-plugin-plugin</artifactId> > + <version>2.8</version> > + <configuration> > + <useJava5>true</useJava5> > + </configuration> > + </plugin> > + <plugin> > + <groupId>org.codehaus.modello</groupId> > + <artifactId>modello-maven-plugin</artifactId> > + <configuration> > + <useJava5>true</useJava5> > + </configuration> > + </plugin> > </plugins> > </pluginManagement> > </build> > > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
