You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Erwin Hogeweg (JIRA)" <ji...@codehaus.org> on 2005/08/15 16:06:57 UTC

[jira] Created: (MPXDOC-157) Unclear error message when in the section of the project.xml file not defined.

Unclear error message when <currentVersion/> in the <project> section of  the project.xml file not defined.
-----------------------------------------------------------------------------------------------------------

         Key: MPXDOC-157
         URL: http://jira.codehaus.org/browse/MPXDOC-157
     Project: maven-xdoc-plugin
        Type: Improvement
    Versions: 1.9.1    
 Environment: Maven 1.1Beta, Win2k.
 Reporter: Erwin Hogeweg
 Assigned to: Arnaud Heritier 
    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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPXDOC-174) Unclear error message when in the section of the project.xml file not defined.

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-174?page=all ]

Arnaud Heritier updated MPXDOC-174:
-----------------------------------

    Version: 1.9.1

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Commented: (MPXDOC-174) Unclear error message when in the section of the project.xml file not defined.

Posted by Lukas Theussl <lt...@apache.org>.
You're right. Thanks!

-Lukas


Arnaud Heritier (JIRA) wrote:
>     [ http://jira.codehaus.org/browse/MPXDOC-174?page=comments#action_47132 ] 
> 
> Arnaud Heritier commented on MPXDOC-174:
> ----------------------------------------
> 
> I fixed your change because if pom.currentVersion wasn't setted, the property maven.xdoc.version wasn't used.
> 
> 
>>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
>>     Fix For: 1.10
> 
> 
>>
>>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
> 
> 

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


[jira] Commented: (MPXDOC-174) Unclear error message when in the section of the project.xml file not defined.

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-174?page=comments#action_47132 ] 

Arnaud Heritier commented on MPXDOC-174:
----------------------------------------

I fixed your change because if pom.currentVersion wasn't setted, the property maven.xdoc.version wasn't used.

> 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
>      Fix For: 1.10

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MAVEN-1697) Unclear error message when in the section of the project.xml file not defined.

Posted by "Davy Toch (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1697?page=comments#action_46560 ] 

Davy Toch commented on MAVEN-1697:
----------------------------------

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.

> Unclear error message when <currentVersion/> in the <project> section of  the project.xml file not defined.
> -----------------------------------------------------------------------------------------------------------
>
>          Key: MAVEN-1697
>          URL: http://jira.codehaus.org/browse/MAVEN-1697
>      Project: Maven
>         Type: Improvement
>     Versions: 1.1-beta-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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPXDOC-174) Unclear error message when in the section of the project.xml file not defined.

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPXDOC-174) Unclear error message when in the section of the project.xml file not defined.

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-174?page=all ]
     
Lukas Theussl closed MPXDOC-174:
--------------------------------

     Resolution: Fixed
    Fix Version: 1.10

> 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
>      Fix For: 1.10

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPXDOC-174) Unclear error message when in the section of the project.xml file not defined.

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-174?page=comments#action_47067 ] 

Arnaud Heritier commented on MPXDOC-174:
----------------------------------------

The problem is that a lot of elements in the pom are optionals.
These elements are used in some plugins and we don't wan't to force the user who don't want a plugin to define an used entry in the pom.
I prefer to move this issue to the xdoc plugin (where the unclear message come from) but you can open a new task in the plugin-plugin (or in the pom-plugin) to add a new tag which helps plugins developpers to assert that a given entry in the pom is available.

> 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
>  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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPXDOC-157) Unclear error message when in the section of the project.xml file not defined.

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-157?page=all ]

Arnaud Heritier updated MPXDOC-157:
-----------------------------------

    Assign To:     (was: Arnaud Heritier)

> Unclear error message when <currentVersion/> in the <project> section of  the project.xml file not defined.
> -----------------------------------------------------------------------------------------------------------
>
>          Key: MPXDOC-157
>          URL: http://jira.codehaus.org/browse/MPXDOC-157
>      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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org