+1 for me Gary, you've full support from my side on this. All the best, Simo
http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, Jan 19, 2011 at 4:06 PM, Gary Gregory <ggreg...@seagullsoftware.com> wrote: > Hi All: > > I'd like to get Maven 3 working with various projects and [codec] today. > > To get Maven 3 to work, I'd like to add the following profile to the > commons-parent POM. > > See http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html > > Any objections or thoughts? > > Thank you, > Gary > > Index: pom.xml > =================================================================== > --- pom.xml (revision 1060831) > +++ pom.xml (working copy) > @@ -759,6 +759,45 @@ > <module>../vfs</module> > </modules> > </profile> > + > + <!-- > + Using maven-site-plugin 2.x with Maven 2.x and > maven-site-plugin 3.x with Maven 3.x > + See > http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html > + --> > + <profile> > + <id>maven-3</id> > + <activation> > + <file> > + <!-- The basedir expression is only recognized by Maven 3.x (see > MNG-2363) --> > + <exists>${basedir}</exists> > + </file> > + </activation> > + <build> > + <pluginManagement> > + <plugins> > + <plugin> > + <groupId>org.apache.maven.plugins</groupId> > + <artifactId>maven-site-plugin</artifactId> > + <version>3.0-beta-3</version> > + </plugin> > + </plugins> > + </pluginManagement> > + <plugins> > + <plugin> > + <artifactId>maven-site-plugin</artifactId> > + <executions> > + <execution> > + <id>attach-descriptor</id> > + <goals> > + <goal>attach-descriptor</goal> > + </goals> > + </execution> > + </executions> > + </plugin> > + </plugins> > + </build> > + </profile> > + > </profiles> > <properties> > > Gary Gregory > Senior Software Engineer > Rocket Software > 3340 Peachtree Road, Suite 820 * Atlanta, GA 30326 * USA > Tel: +1.404.760.1560 > Email: ggreg...@seagullsoftware.com<mailto:ggreg...@seagullsoftware.com> > Web: seagull.rocketsoftware.com<http://www.seagull.rocketsoftware.com/> > > >