[ 
https://jira.codehaus.org/browse/MVERSIONS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285595#comment-285595
 ] 

Stephen Connolly commented on MVERSIONS-150:
--------------------------------------------

$ svn info
Path: .
URL: https://svn.codehaus.org/mojo/trunk/mojo/versions-maven-plugin
Repository Root: https://svn.codehaus.org/mojo
Repository UUID: 52ab4f32-60fc-0310-b215-8acea882cd1b
Revision: 15544
Node Kind: directory
Schedule: normal
Last Changed Author: stephenconnolly
Last Changed Rev: 15544
Last Changed Date: 2011-12-12 09:05:03 +0000 (Mon, 12 Dec 2011)

$ patch -p3 -i MVERSIONS-150.diff
patching file src/it/it-resolve-ranges-003/child/pom.xml
patching file src/it/it-resolve-ranges-003/child2/pom.xml
patching file src/it/it-resolve-ranges-003/invoker.properties
patching file src/it/it-resolve-ranges-003/pom.xml
patching file src/it/it-resolve-ranges-003/verify.bsh
patching file src/main/java/org/codehaus/mojo/versions/ResolveRangesMojo.java
Hunk #2 succeeded at 42 (offset -2 lines).
Hunk #3 succeeded at 65 (offset -38 lines).
Hunk #4 succeeded at 82 (offset -42 lines).
Hunk #5 succeeded at 106 (offset -42 lines).

$ mvn clean verify -Prun-its
...

[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 63, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  it-resolve-ranges-003/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

$ cat target/it/it-resolve-ranges-003/pom.xml
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] set ............................................... SUCCESS [0.836s]
[INFO] it-resolve-ranges-003-child2 ...................... SUCCESS [0.038s]
[INFO] it-resolve-ranges-003-child ....................... SUCCESS [0.005s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.236s
[INFO] Finished at: Mon Dec 12 09:30:33 GMT 2011
[INFO] Final Memory: 5M/81M
[INFO] ------------------------------------------------------------------------
Running post-build script: ./target/it/it-resolve-ranges-003/verify.bsh
Version of api not resolved to 2.0
Finished post-build script: ./target/it/it-resolve-ranges-003/verify.bsh


                
> resolve-ranges fails for multi-module project with inter-module dependencies 
> w/o doing mvn install
> --------------------------------------------------------------------------------------------------
>
>                 Key: MVERSIONS-150
>                 URL: https://jira.codehaus.org/browse/MVERSIONS-150
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Bug
>         Environment: Maven 2/3
>            Reporter: Eric Pabst
>         Attachments: MVERSIONS-150.diff
>
>
> I have a multi-module project that has version ranges for some of its 
> dependencies.  Some of the modules depend on some of the other modules (not a 
> version range).  When I run versions:resolve-ranges, it fails if I haven't 
> done a mvn install first.  Doing the mvn install first is not desired because 
> I want to do the install after resolve-ranges finishes so that the pom.xml's 
> are installed with the resolutions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to