File: 0001-configure-source-and-target-version-1.5.patch

package info (click to toggle)
libcommons-dbcp-java 1.4-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,960 kB
  • sloc: java: 16,699; xml: 2,245; jsp: 84; sh: 12; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (5)
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
From: Torsten Werner <twerner@debian.org>
Date: Sun, 11 Sep 2011 17:24:30 +0200
Subject: configure source and target version 1.5

---
 pom.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/pom.xml b/pom.xml
index bff49ea..e145e42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -265,6 +265,14 @@
             <tarLongFileMode>gnu</tarLongFileMode>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+          </configuration>
+        </plugin>
       </plugins>
     </build>
     <reporting>
--