continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epunza...@apache.org
Subject svn commit: r501741 - in /maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release: executors/PerformReleaseTaskExecutor.java phase/GenerateReactorProjectsPhase.java
Date Wed, 31 Jan 2007 06:07:56 GMT
Author: epunzalan
Date: Tue Jan 30 22:07:55 2007
New Revision: 501741

URL: http://svn.apache.org/viewvc?view=rev&rev=501741
Log:
fixed bug that causes the release phase check-dependency-snapshots from seeing SNAPSHOT artifacts
within the project to be released

Modified:
    maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
    maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/GenerateReactorProjectsPhase.java

Modified: maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java?view=diff&rev=501741&r1=501740&r2=501741
==============================================================================
--- maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
(original)
+++ maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
Tue Jan 30 22:07:55 2007
@@ -162,12 +162,20 @@
 
             try
             {
-                MavenProject reactorProject = projectBuilder.build( pomFile, getLocalRepository(),
+                MavenProject reactorProject = projectBuilder.buildWithDependencies( pomFile,
getLocalRepository(),
                                                                     getProfileManager( settings
) );
 
                 reactorProjects.add( reactorProject );
             }
             catch ( ProjectBuildingException e )
+            {
+                throw new ContinuumReleaseException( "Failed to build project.", e );
+            }
+            catch ( ArtifactNotFoundException e )
+            {
+                throw new ContinuumReleaseException( "Failed to build project.", e );
+            }
+            catch ( ArtifactResolutionException e )
             {
                 throw new ContinuumReleaseException( "Failed to build project.", e );
             }

Modified: maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/GenerateReactorProjectsPhase.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/GenerateReactorProjectsPhase.java?view=diff&rev=501741&r1=501740&r2=501741
==============================================================================
--- maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/GenerateReactorProjectsPhase.java
(original)
+++ maven/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/GenerateReactorProjectsPhase.java
Tue Jan 30 22:07:55 2007
@@ -129,12 +129,20 @@
 
             try
             {
-                MavenProject reactorProject = projectBuilder.build( pomFile, getLocalRepository(),
+                MavenProject reactorProject = projectBuilder.buildWithDependencies( pomFile,
getLocalRepository(),
                                                                     getProfileManager( getSettings()
) );
 
                 reactorProjects.add( reactorProject );
             }
             catch ( ProjectBuildingException e )
+            {
+                throw new ContinuumReleaseException( "Failed to build project.", e );
+            }
+            catch ( ArtifactNotFoundException e )
+            {
+                throw new ContinuumReleaseException( "Failed to build project.", e );
+            }
+            catch ( ArtifactResolutionException e )
             {
                 throw new ContinuumReleaseException( "Failed to build project.", e );
             }



Mime
View raw message