You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/07/02 20:15:26 UTC

[jira] Created: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Maven doesn't do strict model validation for POMs in the current reactor
------------------------------------------------------------------------

                 Key: MNG-3645
                 URL: http://jira.codehaus.org/browse/MNG-3645
             Project: Maven 2
          Issue Type: Bug
          Components: POM, Reactor and workspace
    Affects Versions: 2.0.9
            Reporter: John Casey


For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:

{code:xml}
<dependencyManagement>
  <dependencies>
    <groupId>org.group</groupId>
    <artifactId>foo</artifactId>
    <version>1</version>
  </dependencies>
</dependencyManagement>
{code}

Hint: It's missing the dependency element to contain the groupId/artifactId/version.

This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Reopened: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann reopened MNG-3645:
------------------------------------


Neither Maven 2.0.10-RC2, 2.1.0-M1 nor 3.0-SNAPSHOT are passing the corresponding IT. John, can you double check please?

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10, 2.1.0-M1
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Closed: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-3645.
---------------------------

    Resolution: Fixed

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Updated: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MNG-3645:
-------------------------------

    Affects Version/s: 2.0.5
                       2.0.8

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.5, 2.0.8, 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10, 2.1.0-M1
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Commented: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140259#action_140259 ] 

John Casey commented on MNG-3645:
---------------------------------

Actually, this error traces all the way back to the generated xpp3 parser, which seems to be an issue of maven-model in 2.0.x being pegged to 1.0-alpha-8 of modello, where the rest of 2.0.x and 2.1 is currently on 1.0-alpha-18.

I'm investigating whether we can remove this exception for maven-model 2.0.x.

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Updated: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3645:
------------------------------

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

it was fixed by upgrading to alpha-18 + of modello (which is now on 2.0.10 and 2.1.0-M2)

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.5, 2.0.8, 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10, 2.1.0-M2
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Updated: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-3645:
----------------------------

    Fix Version/s: 2.0.10

NOTE: This is not a problem in trunk / 2.1, probably because strict mode is always-on for projects build from the filesystem (i.e. not from a repository or local repository location).

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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

        

[jira] Closed: (MNG-3645) Maven doesn't do strict model validation for POMs in the current reactor

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3645.
-----------------------------

    Resolution: Fixed

> Maven doesn't do strict model validation for POMs in the current reactor
> ------------------------------------------------------------------------
>
>                 Key: MNG-3645
>                 URL: http://jira.codehaus.org/browse/MNG-3645
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM, Reactor and workspace
>    Affects Versions: 2.0.5, 2.0.8, 2.0.9
>            Reporter: John Casey
>            Assignee: John Casey
>             Fix For: 2.0.10, 2.1.0-M2
>
>
> For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:
> {code:xml}
> <dependencyManagement>
>   <dependencies>
>     <groupId>org.group</groupId>
>     <artifactId>foo</artifactId>
>     <version>1</version>
>   </dependencies>
> </dependencyManagement>
> {code}
> Hint: It's missing the dependency element to contain the groupId/artifactId/version.
> This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

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