xdoc goal crashes
-----------------

         Key: MAVEN-1723
         URL: http://jira.codehaus.org/browse/MAVEN-1723
     Project: Maven
        Type: Bug
 Environment: Windows XP,  SUN JDK 1.4.2 build 08
    Reporter: Guy Rixon
     Fix For: 1.1-beta-2


The xdoc goal crashes like this:

BUILD FAILED
File...... C:\Documents and Settings\gtr\.maven\cache\maven-xdoc-plugin-1.9.2\pl
ugin.jelly
Element... j:include
Line...... 479
Column.... -1
file:/C:/Documents and Settings/gtr/.maven/cache/maven-xdoc-plugin-1.9.2/plugin-
resources/site.jsl:33:-1: <jsl:stylesheet> file:/C:/Documents and Settings/gtr/.
maven/cache/maven-xdoc-plugin-1.9.2/plugin-resources/site.jsl:156:-1: <jsl:apply
Templates> file:/C:/Documents and Settings/gtr/.maven/cache/maven-xdoc-plugin-1.
9.2/plugin-resources/site.jsl:240:-1: <maven:property> You must define an attrib
ute called 'defaultValue' for this tag.

On investigating the named file in the plug-in, I find this at line 240:

<maven:property var="version" name="maven.xdoc.version" 
defaultValue="${pom.currentVersion}"/>

The same error occurs whether or not the POM has a <currentVersion>.

A similar, but less-well described error happens in Maven 1.0.2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to