You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rajesh Sivagurunathan (JIRA)" <ji...@codehaus.org> on 2009/10/12 16:14:26 UTC

[jira] Created: (MRELEASE-489) Cant Release project due to non released dependencies

Cant Release project due to non released dependencies
-----------------------------------------------------

                 Key: MRELEASE-489
                 URL: http://jira.codehaus.org/browse/MRELEASE-489
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
            Reporter: Rajesh Sivagurunathan


Hi,
   I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 

If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 

[INFO] ----------------------------------------------------------------------------
[INFO] Building fmm-credit
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Can't release project due to non released dependencies :
    active project artifact:
        artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
        project: org.apache.maven.project.MavenProject@137052d8
in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-489.
-----------------------------------

    Resolution: Incomplete
      Assignee: Robert Scholte

No feedback from user for several years, so closing it as 'incomplete'
                
> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: https://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>            Reporter: Rajesh Sivagurunathan
>            Assignee: Robert Scholte
>         Attachments: effective.pom
>
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] Commented: (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194457#action_194457 ] 

Mark Struberg commented on MRELEASE-489:
----------------------------------------

looks good so far. Have you set the versions of the other modules you use manually in your pom or in the <dependencyManagement> section of your parent pom (which is the way to go)? 

> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: http://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Rajesh Sivagurunathan
>         Attachments: effective.pom
>
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] Commented: (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Rajesh Sivagurunathan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194420#action_194420 ] 

Rajesh Sivagurunathan commented on MRELEASE-489:
------------------------------------------------

Hi.   Attached the effective pom with this. Its the current dev version and I would expect release:prepare will stripe off these snapshot during the build.
But I couldn't run dependency:tree 

 Required goal not found: dependency:tree


> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: http://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Rajesh Sivagurunathan
>         Attachments: effective.pom
>
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] Commented: (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Rajesh Sivagurunathan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194411#action_194411 ] 

Rajesh Sivagurunathan commented on MRELEASE-489:
------------------------------------------------

Forgot mention. I am using maven version 2.0.6

> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: http://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Rajesh Sivagurunathan
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] Commented: (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194413#action_194413 ] 

Mark Struberg commented on MRELEASE-489:
----------------------------------------

Rajesh, maybe you have a snapshot dependency in your parent pom?

Please try
{noformat}
mvn help:effective-pom
{noformat}
and search the output for the dependency.

You can also try
{noformat}
mvn dependency:tree
{noformat}
to show all the dependencies of your project as a tree.


> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: http://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Rajesh Sivagurunathan
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] Updated: (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MRELEASE-489:
-------------------------------------

    Component/s: prepare

> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: http://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>            Reporter: Rajesh Sivagurunathan
>         Attachments: effective.pom
>
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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

        

[jira] Updated: (MRELEASE-489) Cant Release project due to non released dependencies

Posted by "Rajesh Sivagurunathan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajesh Sivagurunathan updated MRELEASE-489:
-------------------------------------------

    Attachment: effective.pom

> Cant Release project due to non released dependencies
> -----------------------------------------------------
>
>                 Key: MRELEASE-489
>                 URL: http://jira.codehaus.org/browse/MRELEASE-489
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Rajesh Sivagurunathan
>         Attachments: effective.pom
>
>
> Hi,
>    I am running /sbcimp/run/pd/maven/2.0.6/bin/mvn release:prepare --batch-mode -P fast ( profile to ignore tests).    But it fails with the below error message.  but the fact is we dont have any SNAPSHOT dependency setup in projects pom.xml file.  But still we are getting this.  Also, it started happened recently not from the beggining.  So, can some one tell on which cases we will get this error?   But sure that nothing has  dependency like <SNAPSHOT> etc., 
> If I remove the --batch-mode option and  chose to resolve the project depedencies while it asks it runs fine.  So, if anyone has any info of what it tries to remove as well will be great. 
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building fmm-credit
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: svn --non-interactive status
> [INFO] Working directory: /sbclocal/teamcity/QABuild/07_10_2009_16_05/credit-1.4.2.x
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     active project artifact:
>         artifact = com.ubs.fmm.core:fmm-core-common:jar:1.4.2.1-SNAPSHOT:compile;
>         project: org.apache.maven.project.MavenProject@137052d8
> in project 'fmm-sec-pricing-web' (com.ubs.fmm.securities:fmm-sec-pricing-web:jar:1.4.2.1-SNAPSHOT)

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