<iframe src="//www.googletagmanager.com/ns.html?id=GTM-TT8R4P" height="0" width="0" style="display:none;visibility:hidden">

Sonatype Blog

Stay updated on the latest news from the makers of Nexus

Corrected the Ant Mojo Examples

De Smet Ringo wrote us to let us know of a problem with the Ant Mojo example in Chapter X. He points us to an announcement by Vincent Siveton that the groupId for plugin-tools has changed. We've fixed the Ant example and the Writing Alt Plugins chapter in response.

Here's his message to us:

The plugin dependency should read:
for version 2.4 of the plugins and onwards...

If you stick to the 2.0.5 version of the plugin, this
is the error you get when you do site generation of your
maven plugin using Maven 2.0.9:

[INFO] --------------------------------------------------------
[INFO] --------------------------------------------------------
[INFO] Error during page generation

Embedded error: No method on class
[INFO] --------------------------------------------------------

You have to upgrade to the 2.4 release at least to
resolve this. <b>I just lost some time on this one,
and updated documentation will hopefully prevent this
for other users...</b>

Sorry for the trouble, you've earned a free copy of the printed book, and hopefully this correction will save some time for other readers.

Topics: Sonatype Says