> -----Original Message-----
> From: Dennis Lundberg [mailto:denn...@apache.org]
> Sent: Wednesday, January 19, 2011 16:27
> To: Commons Developers List
> Subject: Re: [commons-parent] Using maven-site-plugin 2.x with Maven 2.x
> and maven-site-plugin 3.x with Maven 3.x
> 
> On 2011-01-19 16:06, Gary Gregory 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?
> 
> Go ahead and do it.

Committed revision 1060999.

Gary

> 
> >
> > 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/>
> >
> >
> >
> 
> 
> --
> Dennis Lundberg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to