Improve error message when adding invalid M2 project
----------------------------------------------------
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