commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <GGreg...@seagullsoftware.com>
Subject RE: [VOTE] Release math 2.2 based on RC2
Date Sun, 20 Feb 2011 20:33:26 GMT
Ah, yes. I took care of that in [codec] by adding the XML fragment below in the POM.

This fragment is also in [parent] release 18 but why does it not kick in for [math]? 

Sigh, when I take that XML out of the [codec] POM, it does not kick in from [parent]. Uhg,
Maven magic that I do not know :(

  <profiles>
	<!-- 
	  Use 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>    
  

Gary Gregory
Senior Software Engineer
Rocket Software
3340 Peachtree Road, Suite 820 • Atlanta, GA 30326 • USA
Tel: +1.404.760.1560
Email: ggregory@seagullsoftware.com
Web: seagull.rocketsoftware.com  



> -----Original Message-----
> From: Luc Maisonobe [mailto:Luc.Maisonobe@free.fr]
> Sent: Sunday, February 20, 2011 15:16
> To: Commons Developers List
> Subject: Re: [VOTE] Release math 2.2 based on RC2
> 
> Le 20/02/2011 20:27, Gary Gregory a écrit :
> > Does anyone else see this:
> >
> > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-
> plugin:3.0-beta-3:site (default-site) on project commons-math: failed to
> get Reports: Unable to parse config
> > uration of mojo org.apache.maven.plugins:maven-javadoc-
> plugin:2.5:aggregate: Setter
> org.apache.maven.plugin.javadoc.AggregatorJavadocReport.setReportOutputDire
> ctory( java.lang
> > .Class ) threw exception when called with parameter 'C:\temp\commons-
> math-2.2-src\target\site\apidocs': null: InvocationTargetException:
> NullPointerException -> [Help 1]
> >
> >> mvn -version
> > Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
> 
> I think I have read somewhere that maven 3 have issues with the site
> plugin which was not ready for production. Could you try using maven2 ?
> 
> thanks,
> Luc
> 
> > Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
> > Java home: C:\Program Files\Java\jdk1.6.0_23\jre
> > Default locale: en_US, platform encoding: Cp1252
> > OS name: "windows vista", version: "6.0", arch: "amd64", family:
> "windows"
> >
> > ?
> >
> > Gary Gregory
> > Senior Software Engineer
> > Rocket Software
> > 3340 Peachtree Road, Suite 820 • Atlanta, GA 30326 • USA
> > Tel: +1.404.760.1560
> > Email: ggregory@seagullsoftware.com
> > Web: seagull.rocketsoftware.com
> >
> >> -----Original Message-----
> >> From: Luc Maisonobe [mailto:Luc.Maisonobe@free.fr]
> >> Sent: Sunday, February 20, 2011 10:15
> >> To: Commons Developers List
> >> Subject: [VOTE] Release math 2.2 based on RC2
> >>
> >> Tag:
> http://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_2_RC2/
> >>
> >> Distributions: http://people.apache.org/~luc/math-2.2-RC2/
> >>
> >> Maven artifacts: http://people.apache.org/~luc/math-2.2-RC2/maven/
> >>
> >> Documentation bundled with the binary distribution:
> >> http://people.apache.org/~luc/math-2.2-RC2/docs/
> >>
> >> Output of maven:site run against the source distribution:
> >> http://people.apache.org/~luc/math-2.2-RC2/site/
> >>
> >> Clirr report:
> >> http://people.apache.org/~luc/math-2.2-RC2/site/clirr-report.html
> >>
> >> Release notes: http://people.apache.org/~luc/math-2.2-RC2/RELEASE-
> NOTES.txt
> >>
> >> Votes, please. This vote will close in 72 hours, 2011-02-23T16:00:00 UTC
> >>
> >> [ ] +1 Release these artifacts
> >> [ ] +0 OK, but...
> >> [ ] -0 OK, but really should fix...
> >> [ ] -1 I oppose this release because...
> >>
> >> Thanks!
> >>
> >> Luc
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org

Mime
View raw message