You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2010/06/17 18:05:12 UTC

[jira] Updated: (CONTINUUM-2536) Improve error message for Unknown error trying to build pom

     [ http://jira.codehaus.org/browse/CONTINUUM-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak updated CONTINUUM-2536:
-----------------------------------

    Summary: Improve error message for Unknown error trying to build pom  (was: Improve error message when adding invalid M2 project)

Another instance of this today, the project team had a <module> and a sub-directory name that differed in the case of one letter.  It worked fine locally on Windows, but not on the Linux build server which is case sensitive.

The error was once again available in the server log, but the user only sees the "Unknown error trying to build pom" message.

Even dumping the text I see in the log to the web page would be effective, if not very attractive.  A separate error page would be better.

> Improve error message for Unknown error trying to build pom
> -----------------------------------------------------------
>
>                 Key: CONTINUUM-2536
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2536
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system
>    Affects Versions: 1.3.6
>            Reporter: Wendy Smoak
>
> When adding a project, if the pom is invalid, the user sees only:
> add.project.validation.error
> Unknown error trying to build POM
> The first line looks like a value is missing for 'add.project.validation.error' in the i18n bundle.
> In this case, the project had a couple of jar dependencies marked with <scope>import</scope> which is not allowed.  (Import scope can only be used with dependencies of type pom.) 
> The error was available in the server log.  It should be displayed to the user.

-- 
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