You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2010/01/03 04:10:01 UTC

[jira] Commented: (MDEP-236) analyze-dep-mgt doesn't fail on version mismatches while failbuild is set

    [ http://jira.codehaus.org/browse/MDEP-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204919#action_204919 ] 

Dan Tran commented on MDEP-236:
-------------------------------

after unpack the test file, pom.xml is not readable, please resubmit another test file

> analyze-dep-mgt doesn't fail on version mismatches while failbuild is set
> -------------------------------------------------------------------------
>
>                 Key: MDEP-236
>                 URL: http://jira.codehaus.org/browse/MDEP-236
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: analyze
>    Affects Versions: 2.0, 2.1
>            Reporter: Nick Stolwijk
>            Assignee: Brian Fox
>         Attachments: test-artifact.tar.gz
>
>
> Even if failBuild is set to true, the builds still succeeds if there is a version mismatch.
> Output with attached pom:
> [INFO] [dependency:analyze-dep-mgt {execution: analyze}]
> [INFO] Found Resolved Dependency / DependencyManagement mismatches:
> [INFO]  Dependency: junit:junit:jar
> [INFO]          DepMgt  : 3.7.9
> [INFO]          Resolved: 3.8.1
> [INFO]    None
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /tmp/test-artifact/target/test-artifact-1.0-SNAPSHOT.jar to /home/nick/.m2/repository/org/example/test/test-artifact/1.0-SNAPSHOT/test-artifact-1.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11 seconds
> [INFO] Finished at: Tue Oct 20 13:56:19 CEST 2009
> [INFO] Final Memory: 21M/39M

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