Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: prepare
-
Labels:None
-
Number of attachments :
Description
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)
Forgot mention. I am using maven version 2.0.6