Blame SOURCES/apache-commons-vfs-2.0-build.patch

84af0a
diff -Nru commons-vfs-2.0/core/pom.xml commons-vfs-2.0-gil/core/pom.xml
84af0a
--- commons-vfs-2.0/core/pom.xml	2011-08-18 15:57:10.000000000 +0200
84af0a
+++ commons-vfs-2.0-gil/core/pom.xml	2012-06-18 11:47:33.151985239 +0200
84af0a
@@ -40,7 +40,7 @@
84af0a
       <artifactId>commons-logging</artifactId>
84af0a
     </dependency>
84af0a
     <dependency>
84af0a
-      <groupId>ant</groupId>
84af0a
+      <groupId>org.apache.ant</groupId>
84af0a
       <artifactId>ant</artifactId>
84af0a
       <optional>true</optional>
84af0a
     </dependency>
84af0a
@@ -64,11 +64,11 @@
84af0a
       <artifactId>commons-httpclient</artifactId>
84af0a
       <optional>true</optional>
84af0a
     </dependency>
84af0a
-    <dependency>
84af0a
+    
84af0a
       <groupId>org.apache.jackrabbit</groupId>
84af0a
       <artifactId>jackrabbit-webdav</artifactId>
84af0a
       <optional>true</optional>
84af0a
-    </dependency>
84af0a
+    </dependency-->
84af0a
     <dependency>
84af0a
       <groupId>com.jcraft</groupId>
84af0a
       <artifactId>jsch</artifactId>
84af0a
@@ -167,6 +167,37 @@
84af0a
         </configuration>
84af0a
       </plugin>
84af0a
 
84af0a
+      <plugin>
84af0a
+        <groupId>org.apache.maven.plugins</groupId>
84af0a
+        <artifactId>maven-compiler-plugin</artifactId>
84af0a
+        <executions>
84af0a
+          <execution>
84af0a
+            <id>default-compile</id>
84af0a
+            <phase>compile</phase>
84af0a
+            <configuration>
84af0a
+              <excludes>
84af0a
+                <exclude>**/webdav/*</exclude>
84af0a
+              </excludes>
84af0a
+            </configuration>
84af0a
+            <goals>
84af0a
+              <goal>compile</goal>
84af0a
+            </goals>
84af0a
+          </execution>
84af0a
+          <execution>
84af0a
+            <id>default-testCompile</id>
84af0a
+            <phase>test-compile</phase>
84af0a
+            <configuration>
84af0a
+              <testExcludes>
84af0a
+                <exclude>**/webdav/test/*</exclude>
84af0a
+              </testExcludes>
84af0a
+            </configuration>
84af0a
+            <goals>
84af0a
+              <goal>testCompile</goal>
84af0a
+            </goals>
84af0a
+          </execution>
84af0a
+        </executions>
84af0a
+      </plugin>
84af0a
+
84af0a
     </plugins>
84af0a
   </build>
84af0a
   <profiles>
84af0a
diff -Nru commons-vfs-2.0/pom.xml commons-vfs-2.0-gil/pom.xml
84af0a
--- commons-vfs-2.0/pom.xml	2011-08-18 15:57:11.000000000 +0200
84af0a
+++ commons-vfs-2.0-gil/pom.xml	2012-06-18 11:53:03.379995343 +0200
84af0a
@@ -187,14 +187,14 @@
84af0a
         <groupId>org.apache.maven.plugins</groupId>
84af0a
         <artifactId>maven-checkstyle-plugin</artifactId>
84af0a
       </plugin>
84af0a
-      <plugin>
84af0a
+      
84af0a
         <groupId>org.apache.commons</groupId>
84af0a
         <artifactId>commons-build-plugin</artifactId>
84af0a
-        
84af0a
+        < version inherited from commons-parent >
84af0a
         <configuration>
84af0a
             <commons.release.name>commons-${commons.componentid}-${commons.release.version}</commons.release.name>
84af0a
         </configuration>
84af0a
-      </plugin>
84af0a
+      </plugin-->
84af0a
     </plugins>
84af0a
   </build>
84af0a
 
84af0a
@@ -243,9 +243,10 @@
84af0a
             </tag>
84af0a
           </tags>
84af0a
           <aggregate>true</aggregate>
84af0a
+          <excludePackageNames>*.webdav.*</excludePackageNames>
84af0a
         </configuration>
84af0a
       </plugin>
84af0a
-      <plugin>
84af0a
+      
84af0a
         <groupId>org.codehaus.mojo</groupId>
84af0a
         <artifactId>findbugs-maven-plugin</artifactId>
84af0a
         <version>2.3.2</version>
84af0a
@@ -254,7 +255,7 @@
84af0a
           <effort>Default</effort>
84af0a
           <excludeFilterFile>findbugs-exclude-filter.xml</excludeFilterFile>
84af0a
        </configuration>
84af0a
-      </plugin>
84af0a
+      </plugin-->
84af0a
     </plugins>
84af0a
   </reporting>
84af0a
 
84af0a
@@ -273,11 +274,11 @@
84af0a
         <type>test-jar</type>
84af0a
         <scope>test</scope>
84af0a
       </dependency>
84af0a
-      <dependency>
84af0a
+      
84af0a
         <groupId>org.apache.commons</groupId>
84af0a
         <artifactId>commons-vfs-sandbox</artifactId>
84af0a
         <version>${project.version}</version>
84af0a
-      </dependency>
84af0a
+      </dependency-->
84af0a
       <dependency>
84af0a
         <groupId>org.apache.commons</groupId>
84af0a
         <artifactId>commons-vfs-examples</artifactId>
84af0a
@@ -310,13 +311,13 @@
84af0a
         <artifactId>commons-compress</artifactId>
84af0a
         <version>1.1</version>
84af0a
       </dependency>
84af0a
-      <dependency>
84af0a
+      
84af0a
         <groupId>org.apache.jackrabbit</groupId>
84af0a
         <artifactId>jackrabbit-webdav</artifactId>
84af0a
         <version>1.5.2</version>
84af0a
-      </dependency>
84af0a
+      </dependency-->
84af0a
       <dependency>
84af0a
-        <groupId>ant</groupId>
84af0a
+        <groupId>org.apache.ant</groupId>
84af0a
         <artifactId>ant</artifactId>
84af0a
         <version>1.6.2</version>
84af0a
       </dependency>
84af0a
@@ -349,7 +350,7 @@
84af0a
     </dependencies>
84af0a
   </dependencyManagement>
84af0a
 
84af0a
-  <dependencies>
84af0a
+  
84af0a
     <dependency>
84af0a
       <groupId>org.apache.maven.scm</groupId>
84af0a
       <artifactId>maven-scm-api</artifactId>
84af0a
@@ -360,7 +361,7 @@
84af0a
       <artifactId>maven-scm-provider-svnexe</artifactId>
84af0a
       <version>1.4</version>
84af0a
     </dependency>
84af0a
-  </dependencies>
84af0a
+  </dependencies-->
84af0a
 
84af0a
   <repositories>
84af0a
     <repository>