Le 30/03/2013 01:17, Gary Gregory a écrit :
> The build fails on Maven 3.0.5:
> 
> [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
> configuration of mojo org.apache.maven.plugins:maven-javadoc-
> plugin:2.5:aggregate: Setter
> org.apache.maven.plugin.javadoc.AggregatorJavadocReport.setReportOutputDirectory(
> java.io.File ) threw exception when called with parameter
> 'C:\temp\rc\MATH_2_2_RC2\target\site\apidocs': null: Invocati
> onTargetException: NullPointerException -> [Help 1]

It seems you checkout out the RC2 for version 2.2, not version 3.2. I
got the same error here with 2.2-RC2 and maven 3.

> 
> I suppose due to the use of outdated versions of plugins.

The current version of [math] uses commons parent 28 without resetting
the default version numbers for the plugins declared there.
A few additional plugins are used (findbugs and checkstyle), and the
versions were quite recent (but not up to date).

I have fixed the version of these plugins.

> 
> Why not support Maven 3 so I do not have to keep that old maven 2 around?

We do support Maven 3 and this is what I used to generate the release
candidate.

best regards,
Luc

> 
> Gary
> 
> 
> On Fri, Mar 29, 2013 at 6:34 PM, Luc Maisonobe <l...@spaceroots.org> wrote:
> 
>> This is a [VOTE] for releasing Apache Commons Math 3.2, based on release
>> candidate 2.
>>
>> This version fixes numerous bugs and adds a few features.
>>
>> You can retrieve the various parts here:
>>
>> Sources, binaries and release notes:
>>
>> <https://dist.apache.org/repos/dist/dev/commons/math/> (svn revision 1670)
>>
>> Maven artifacts are here:
>>
>> <
>> https://repository.apache.org/content/repositories/orgapachecommons-035/org/apache/commons/commons-math3/3.2/
>>>
>>
>> Details of changes since 3.1.1 are in the release notes:
>>
>> <https://dist.apache.org/repos/dist/dev/commons/math/RELEASE-NOTES.txt>
>>
>> <
>> http://people.apache.org/~luc/commons-math-3.2-RC2-site/changes-report.html
>>>
>>
>> Tag:
>>
>> <http://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_2_RC2/>
>> (svn revision 1462526)
>>
>> Site:
>>
>> <http://people.apache.org/~luc/commons-math-3.2-RC2-site/>
>>
>>
>> All reports (CLIRR, RAT, findbugs ...) :
>>
>> <
>> http://people.apache.org/~luc/commons-math-3.2-RC2-site/project-reports.html
>>>
>>
>> Note that the PMD report shows several violations. A few of them are
>> false positive (unused method, unused field). A number of them are
>> voluntary (overriding method that simply calls super) because what we
>> really need in these cases is to add specific javadoc in the overriding
>> method. The remaining errors correspond to unused parameters. They are
>> known and correspond to deprecated method that will be removed in 4.0.
>> So despite the report is not perfectly clean, in fact everything that
>> could be fixed in it has already been fixed.
>>
>> Note also that the CPD report shows *huge* duplications. This is normal
>> as it correspond to complete packages that are modified. As we are
>> releasing only a minor version, compatibility prevents us from removing
>> the older packages. The cleanup will occur in 4.0.
>>
>> Votes, please.  This vote will close in 72 hours: 2013-04-01T22:30: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-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