You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Simon Kitching <sk...@apache.org> on 2006/01/22 06:26:17 UTC

[logging] unable to build logging site

Hi,

I'm trying to run "maven site" to build the logging website but cannot
get this to work.

Using maven 1.0.2, I get failures in the xdoc plugin:

<output>
xdoc:jelly-transform:
    [echo]
Generating /mnt/hda12/simon/apache/commons-svn/proper/logging/trunk/target/docs/javadoc.html from /mnt/hda12/simon/apache/commons-svn/proper/logging/trunk/target/generated-xdocs/javadoc.xml
Could not find the class:
org.apache.commons.jelly.tags.fmt.FmtTagLibrary
java.lang.ClassNotFoundException:
org.apache.commons.jelly.tags.fmt.FmtTagLibrary
.....

BUILD FAILED
File...... /home/simon/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly
Element... j:include
Line...... 365
Column.... 54
null:-1:-1: <null> Could not parse Jelly script
</output>

Deleting the ~/.maven directory caused a fresh download of all the
plugins and jars, but still gave the same error.


I tried installing maven 1.1-beta2. [NOTE: must delete ~/.mavenrc or it
still runs maven-1.0.2!!]. This results in a different problem:

<output>
WARNING: Failed to download batik-1.5-fop-0.20-5.jar.
The build cannot continue because of the following unsatisfied
dependency:

batik-1.5-fop-0.20-5.jar (try downloading from
http://xml.apache.org/batik/)
</output>

It appears that other people can build the site. Any hints??

Thanks,

Simon


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


Re: [logging] unable to build logging site

Posted by Rahul Akolkar <ra...@gmail.com>.
On 1/22/06, Simon Kitching <sk...@apache.org> wrote:
> Hi,
>
> I'm trying to run "maven site" to build the logging website but cannot
> get this to work.
>
> Using maven 1.0.2, I get failures in the xdoc plugin:
>
> <output>
> xdoc:jelly-transform:
>    [echo]
> Generating /mnt/hda12/simon/apache/commons-svn/proper/logging/trunk/target/docs/javadoc.html from /mnt/hda12/simon/apache/commons-svn/proper/logging/trunk/target/generated-xdocs/javadoc.xml
> Could not find the class:
> org.apache.commons.jelly.tags.fmt.FmtTagLibrary
> java.lang.ClassNotFoundException:
> org.apache.commons.jelly.tags.fmt.FmtTagLibrary
> .....
>
> BUILD FAILED
> File...... /home/simon/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly
<snip/>

You need maven-xdoc-plugin version 1.9.2, full list is here:

http://svn.apache.org/repos/asf/jakarta/commons/proper/commons-build/trunk/pluginUpdate.txt

-Rahul


> Element... j:include
> Line...... 365
> Column.... 54
> null:-1:-1: <null> Could not parse Jelly script
> </output>
>
> Deleting the ~/.maven directory caused a fresh download of all the
> plugins and jars, but still gave the same error.
>
>
> I tried installing maven 1.1-beta2. [NOTE: must delete ~/.mavenrc or it
> still runs maven-1.0.2!!]. This results in a different problem:
>
> <output>
> WARNING: Failed to download batik-1.5-fop-0.20-5.jar.
> The build cannot continue because of the following unsatisfied
> dependency:
>
> batik-1.5-fop-0.20-5.jar (try downloading from
> http://xml.apache.org/batik/)
> </output>
>
> It appears that other people can build the site. Any hints??
>
> Thanks,
>
> Simon
>

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


Re: [logging] unable to build logging site

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
Changes to the commons-build/site.jsl now mean you need a later version of
maven xdoc plugin - 1.9.2

You can either install it so thats the default for your maven build - or add
the plugin as a dependency to your project.xml. For validator I chose to go
the "dependency" route.

http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/validator/trunk/project.xml

Niall

----- Original Message ----- 
From: "Simon Kitching" <sk...@apache.org>
To: <co...@jakarta.apache.org>
Sent: Sunday, January 22, 2006 5:26 AM
Subject: [logging] unable to build logging site


> Hi,
>
> I'm trying to run "maven site" to build the logging website but cannot
> get this to work.
>
> Using maven 1.0.2, I get failures in the xdoc plugin:
>
> <output>
> xdoc:jelly-transform:
>     [echo]
> Generating
/mnt/hda12/simon/apache/commons-svn/proper/logging/trunk/target/docs/javadoc
.html from
/mnt/hda12/simon/apache/commons-svn/proper/logging/trunk/target/generated-xd
ocs/javadoc.xml
> Could not find the class:
> org.apache.commons.jelly.tags.fmt.FmtTagLibrary
> java.lang.ClassNotFoundException:
> org.apache.commons.jelly.tags.fmt.FmtTagLibrary
> .....
>
> BUILD FAILED
> File...... /home/simon/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly
> Element... j:include
> Line...... 365
> Column.... 54
> null:-1:-1: <null> Could not parse Jelly script
> </output>
>
> Deleting the ~/.maven directory caused a fresh download of all the
> plugins and jars, but still gave the same error.
>
>
> I tried installing maven 1.1-beta2. [NOTE: must delete ~/.mavenrc or it
> still runs maven-1.0.2!!]. This results in a different problem:
>
> <output>
> WARNING: Failed to download batik-1.5-fop-0.20-5.jar.
> The build cannot continue because of the following unsatisfied
> dependency:
>
> batik-1.5-fop-0.20-5.jar (try downloading from
> http://xml.apache.org/batik/)
> </output>
>
> It appears that other people can build the site. Any hints??
>
> Thanks,
>
> Simon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>



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