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:17:26 UTC
[jira] Updated: (MNG-3645) Maven doesn't do strict model validation
for POMs in the current reactor
[ 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