[ 
https://issues.jenkins-ci.org/browse/JENKINS-8663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

SCM/JIRA link daemon resolved JENKINS-8663.
-------------------------------------------

    Resolution: Fixed
    
> Parsing of POM happens before SNAPSHOT-Parents are updated
> ----------------------------------------------------------
>
>                 Key: JENKINS-8663
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-8663
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven2
>    Affects Versions: current
>         Environment: Hudson 1.394
>            Reporter: Stephan Pauxberger
>            Priority: Blocker
>
> Given the following constellation.
> Project A 1.0-SNAPSHOT (POM only)
> Project B 1.0-SNAPSHOT (Jar, has A as parent)
> Both jobs use private Maven repositories.
> Both projects have a separate job.
> Change something in project A, commit. Job A builds and deploys to repository
> Change something in project B that dependes on changes in project A. Commit. 
> Job B starts an resolves the POM using the old parent POM, potentially 
> leading to a broken build.
> For example: B declares a dependency WITH a version. Now remove the version 
> from B and enter a dependencyManagement entry into A. Commit A, later B.
> Result: B fails because pom validation has no valid version for the 
> dependency.
> Only solution (since private repositories are used): Clean workspace of B via 
> Webinterface, the rebuild B.

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

        

Reply via email to