commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <>
Subject [commons-build-plugin] can't build RC - help out of Maven pit
Date Fri, 02 Mar 2012 22:44:49 GMT
Hi All:

I need help getting an RC/release out.

With commons-build-plugin as it is in trunk I can do simple things like:
"m2 site", "m2 install", "m3 site", "m3 install" where m2 is Maven 2.2.1
and m3 is Maven 3.0.4. All on Oracle Java 1.6.0_31 on Win7 64 bit.

Our handy guide mentions that
Commons Parent must be >= 16. The CP for this plugin is currently at 12
(the current is 23). If I update CP to 16 or 23, all heck breaks loose.

If I set the CP to 23 and do "m2 deploy" I get:

[INFO] The API of the mojo scanner is not compatible with this plugin
version. Please check the plugin dependencies configured in the POM and
ensure the version
s match.

Embedded error:

So then I updated all the plugin versions to the latest, like this:

Which let me do all this:

m2 deploy (ok but not needed)
m2 clean deploy -Prelease (ok, signs, and uploads)
m2 commons:download-page (ok)
m2 changes:changes-report changes:announcement-generate (ok)

But when I do "m2 site", I get:

[ERROR] Method calculateLink threw exception for reference $PathTool in
template META-INF/maven/site.vm at  [2,29]
[INFO] Error during page generation

Embedded error: Error while generating code.

The full build debug output with the stack trace is here:

Can someone help me out of this Maven hell pit?

Thank you,

E-Mail: |
JUnit in Action, 2nd Ed: <http://goog_1249600977>
Spring Batch in Action: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message