[ http://jira.codehaus.org/browse/MPXDOC-174?page=comments#action_47081 ]
Lukas Theussl commented on MPXDOC-174:
--------------------------------------
Ok, but the point is that the error here comes from a call to the maven jelly
tag library in site.jsl:
<maven:property var="version" name="maven.xdoc.version"
defaultValue="${pom.currentVersion}"/>
If we want a clearer error message, it should be done there generically.
> Unclear error message when <currentVersion/> in the <project> section of the
> project.xml file not defined.
> -----------------------------------------------------------------------------------------------------------
>
> Key: MPXDOC-174
> URL: http://jira.codehaus.org/browse/MPXDOC-174
> Project: maven-xdoc-plugin
> Type: Improvement
> Versions: 1.9.1
> Environment: Maven 1.1Beta, Win2k.
> Reporter: Erwin Hogeweg
> Priority: Minor
>
>
> Unclear error message when <currentVersion/> in the <project> section of the
> project.xml file not defined.
> xdoc:jelly-transform:
> About to use JSL stylesheet
> file:/.../.maven/cache/maven-xdoc-plugin-1.9.1/plugin-resources/site.jsl
> [echo] en
> [echo] The current Locale is the default one
> [echo] Scanning 'D:\...\target\generated-xdocs'...
> [echo] Generating D:/.../target/docs/checkstyle-report.html from
> D:\...\target\generated-xdocs\checkstyle-report.xml
> BUILD FAILED File......
> D:\...\.maven\cache\maven-xdoc-plugin-1.9.1\plugin.jelly
> Element... j:include
> Line...... 479
> Column.... 58
>
> file:/D:/.../.maven/cache/maven-xdoc-plugin-1.9.1/plugin-resources/site.jsl:33:17:
> <jsl:stylesheet>
>
> file:/D:/.../.maven/cache/maven-xdoc-plugin-1.9.1/plugin-resources/site.jsl:146:57:
> <jsl:applyTemplates>
>
> file:/D:/.../.maven/cache/maven-xdoc-plugin-1.9.1/plugin-resources/site.jsl:230:105:
> <maven:property> You must define an attribute called 'defaultValue' for this
> tag.
> Total time : 55 seconds
> Finished at : Saturday, August 13, 2005 9:46:36 AM EDT
--
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]