I'm doing a site generate and am getting a failure in the that ends with
this:

BUILD FAILED
File...... file:/<yadda>/plugins/maven-linkcheck-plugin-1.1-SNAPSHOT/
Element... linkcheck:linkcheck
Line...... 73
Column.... 9
java.lang.reflect.InvocationTargetException
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site] --
file:/C:/Documents and Settings/lward/.maven/plugins
/maven-linkcheck-plugin-1.1-SNAPSHOT/:73:9: <linkcheck:linkcheck> null
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
<...snip...>
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/Strings
        at org.apache.commons.util.XmlUtils.escapeXml(XmlUtils.java:68)
        at
org.apache.maven.linkcheck.LinkCheckResult.toXML(LinkCheckResult.java:112)
        at
org.apache.maven.linkcheck.FileToCheck.toXML(FileToCheck.java:299)
        at org.apache.maven.linkcheck.LinkCheck.toXML(LinkCheck.java:328)
        at
org.apache.maven.linkcheck.LinkCheck.createDocument(LinkCheck.java:236)
        at
org.apache.maven.linkcheck.LinkCheck.doExecute(LinkCheck.java:167)
        ... 65 more

It would seem that my classpath is missing org.apache.commons.lang.Strings.
One question: where the %&*@ is this class? I assumed it to be in the
commons-lang jar, but it isn't in any of the ones in my repository
(including the one that the linkcheck plugin claims to use).

A quick Google was not particularly helpful. Anyone else solved this
problem?

Thanks,
Wordman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to