You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 14:04:19 UTC

[jira] Closed: (MNG-2816) Pom without xsd import is not validated

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

Brett Porter closed MNG-2816.
-----------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: Reviewed Pending Version Assignment)

> Pom without xsd import is not validated
> ---------------------------------------
>
>                 Key: MNG-2816
>                 URL: http://jira.codehaus.org/browse/MNG-2816
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4
>            Reporter: Kristoffer Moum
>
> I added a dependency to a module a couple of days ago. I did it just a tad too quickly (copy and paste from dependency management), and forgot to enclose with the dependency tag, i.e. I had the following structure:
> <dependencies>
>   <groupId>org.springframework</groupId>
>   <artifactId>spring-web</artifactId>
> </dependencies>
> So - what happened when I did an "mvn install" the dependency was ignored rather than producing an error message as the pom was actually valid xml. It would be nice to have some defaulting of xsd if none was specified.

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