You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2006/01/21 00:28:10 UTC

[jira] Updated: (MNG-1678) missing element does not trigger any warning

     [ http://jira.codehaus.org/browse/MNG-1678?page=all ]

Jason van Zyl updated MNG-1678:
-------------------------------

    Fix Version:     (was: 2.0.3)
                 2.0.4

> missing element does not trigger any warning
> --------------------------------------------
>
>          Key: MNG-1678
>          URL: http://jira.codehaus.org/browse/MNG-1678
>      Project: Maven 2
>         Type: Improvement

>     Versions: 2.0
>     Reporter: Jorg Heymans
>      Fix For: 2.0.4

>
>
> spot the subtle error in below pom :
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>org.my.project</groupId>
>   <artifactId>myProject</artifactId>
>   <version>0.1</version>
>   <name>The Project</name>
>   <packaging>jar</packaging>
>   <repositories>
>     <repository>
>       <id>apache-maven2-snapshot</id>
>       <name>Apache Maven2 Snapshot Repository</name>
>       <url>http://cvs.apache.org/maven-snapshot-repository</url>
>     </repository>
>   </repositories>
>   <dependencies>
>     <groupId>org.apache.cocoon</groupId>
>     <artifactId>cocoon-core</artifactId>
>     <version>2.2.0-SNAPSHOT</version>
>   </dependencies>
> </project>
> The dependency element is missing inside <dependencies>. Maven did not give any warning or error though.
> Note that in my actual project, the dependency was not needed for compilation

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org