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 2008/09/18 00:28:48 UTC

[jira] Commented: (CONTINUUM-1675) Improve error message when scm element is missing from a child pom

    [ http://jira.codehaus.org/browse/CONTINUUM-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148226#action_148226 ] 

Wendy Smoak commented on CONTINUUM-1675:
----------------------------------------

The "Missing 'scm' element in the POM, projet {0}" message is happening when the scm information is _completely_ missing from the project.  (No scm element in the parent pom I'm trying to add using a url.)

That's different from the original issue here, which was about the scm element missing from a _child_ pom.

However, I think the broken message is related to the fix for this issue.  Let me know if you want me to open a separate JIRA for it.


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