maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r781108 - in /maven/components/trunk/maven-core/src/main/java/org/apache/maven/project: DefaultMavenProjectBuilder.java DefaultProjectBuilderConfiguration.java
Date Tue, 02 Jun 2009 18:07:47 GMT
Author: bentmann
Date: Tue Jun  2 18:07:47 2009
New Revision: 781108

URL: http://svn.apache.org/viewvc?rev=781108&view=rev
Log:
o Restored original behavior of legacy code

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java?rev=781108&r1=781107&r2=781108&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
Tue Jun  2 18:07:47 2009
@@ -73,6 +73,8 @@
         ProjectBuilderConfiguration configuration = new DefaultProjectBuilderConfiguration()
             .setLocalRepository( localRepository )
             .setRemoteRepositories( remoteRepositories );
+        configuration.setProcessPlugins( false );
+        configuration.setLenientValidation( true );
         
         return buildFromRepository( artifact, configuration );
     }

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java?rev=781108&r1=781107&r2=781108&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java
Tue Jun  2 18:07:47 2009
@@ -31,6 +31,11 @@
     implements ProjectBuilderConfiguration
 {
 
+    public DefaultProjectBuilderConfiguration()
+    {
+        setProcessPlugins( false );
+    }
+
     public ProjectBuilderConfiguration setLocalRepository( ArtifactRepository localRepository
)
     {
         super.setLocalRepository( localRepository );



Mime
View raw message