maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r587647 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/build/DefaultProfileAdvisor.java
Date Tue, 23 Oct 2007 20:25:51 GMT
Author: jdcasey
Date: Tue Oct 23 13:25:50 2007
New Revision: 587647

URL: http://svn.apache.org/viewvc?rev=587647&view=rev
Log:
Forgot one.

Modified:
    maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/build/DefaultProfileAdvisor.java

Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/build/DefaultProfileAdvisor.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/build/DefaultProfileAdvisor.java?rev=587647&r1=587646&r2=587647&view=diff
==============================================================================
--- maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/build/DefaultProfileAdvisor.java
(original)
+++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/build/DefaultProfileAdvisor.java
Tue Oct 23 13:25:50 2007
@@ -109,7 +109,7 @@
 
                 String projectId = ArtifactUtils.versionlessKey( groupId, artifactId );
 
-                throw new ProjectBuildingException( projectId, e.getMessage(), pomFile, e
);
+                throw new ProjectBuildingException( projectId, e.getMessage(), pomFile.getAbsolutePath(),
e );
             }
 
             for ( Iterator it = activeProfiles.iterator(); it.hasNext(); )
@@ -166,7 +166,7 @@
             catch ( ProfileActivationException e )
             {
                 throw new ProjectBuildingException( modelId,
-                                                    "Failed to compute active profiles for
repository aggregation.", pomFile, e );
+                                                    "Failed to compute active profiles for
repository aggregation.", pomFile.getAbsolutePath(), e );
             }
 
             LinkedHashSet remoteRepositories = new LinkedHashSet();
@@ -239,13 +239,13 @@
             catch ( IOException e )
             {
                 throw new ProjectBuildingException( model.getId(), "Cannot read profiles.xml
resource from directory: "
-                    + projectDir, pomFile, e );
+                    + projectDir, pomFile.getAbsolutePath(), e );
             }
             catch ( XmlPullParserException e )
             {
                 throw new ProjectBuildingException( model.getId(),
                                                     "Cannot parse profiles.xml resource from
directory: " + projectDir,
-                                                    pomFile, e );
+                                                    pomFile.getAbsolutePath(), e );
             }
         }
     }



Mime
View raw message