File: 0002-disable-jetty-archetype.patch

package info (click to toggle)
maven-hpi-plugin 1.93-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 592 kB
  • ctags: 421
  • sloc: java: 2,319; xml: 698; makefile: 8
file content (32 lines) | stat: -rw-r--r-- 1,030 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
24
25
26
27
28
29
30
31
32
From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 12 Aug 2013 10:34:04 +0100
Subject: disable-jetty-archetype

---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index bd3e2ef..ab73de7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,19 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/AbstractJettyMojo.java</exclude>
+            <exclude>**/RunMojo.java</exclude>
+            <exclude>**/AbstractJetty6Mojo.java</exclude>
+            <exclude>**/ConsoleScanner.java</exclude>
+            <exclude>**/CreateMojo.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
         <version>2.7</version>
         <configuration>