Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.10
-
Labels:None
-
Environment:Maven 1.1Beta, Win2k.
-
Number of attachments :
Description
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
It would already be an improvement if the Maven core would validate the POM by default. This way an invalid POM would be detected at the start and would avoid error messages generated by called plugin goals that aren't always helpful.
However the current problem is that the XSD isn't final yet and apparently still needs some minor modifications.