File: 01-disable-maven-3.0-support.patch

package info (click to toggle)
maven-artifact-transfer 0.9.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 592 kB
  • sloc: java: 4,268; xml: 241; sh: 10; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 671 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Removes Maven 3.0.x support
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/pom.xml
+++ b/pom.xml
@@ -53,6 +53,17 @@
   <build>
     <plugins>
       <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/Maven30*</exclude>
+          </excludes>
+          <testExcludes>
+            <testExclude>**/Maven30*</testExclude>
+          </testExcludes>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-component-metadata</artifactId>
         <version>1.7.1</version>