Improve error message when scm element is missing from a child pom
------------------------------------------------------------------

                 Key: CONTINUUM-1675
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1675
             Project: Continuum
          Issue Type: Improvement
          Components: Web - UI
    Affects Versions: 1.1
            Reporter: Wendy Smoak
            Priority: Minor


When adding a multi-module project, if one of the child projects does not have 
a scm element, I still get the generic message:

"Missing 'scm' element in the POM."

In the log file, I can see that it knows exactly which pom is missing the 
element:

INFO   | jvm 1    | 2008/02/25 11:16:35 | 2008-02-25 11:16:35,530 
[SocketListener0-7] ERROR MavenBuilderHelper:default     - Missing 'scm' 
element in the ExampleWebapp POM.

(This happened because the child project did not have a <parent> element.)

The web page should display the more specific error message.

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

        

Reply via email to