Commit b75b0b69 authored by Andreas Tille's avatar Andreas Tille
Browse files

Try to get maven working

parent 96c47aa3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@ Build-Depends-Indep: groovy,
                     libcommons-cli-java,
                     libgpars-groovy-java (>= 1.2.1),
                     libmaven-antrun-plugin-java (>= 1.8),
                     libmaven-shade-plugin-java (>= 3.1.1) 
                     libmaven-shade-plugin-java (>= 3.1.1),
                     libgmavenplus-java
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/oncofuse
Vcs-Git: https://salsa.debian.org/med-team/oncofuse.git
+45 −0
Original line number Diff line number Diff line
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,10 @@
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <!-- http://groovy.github.io/GMavenPlus/compileTests-mojo.html#targetBytecode -->
+        <gmavenplus.javaRelease>1.8</gmavenplus.javaRelease>
+        <!-- maven plugins -->
+        <gmavenplus.plugin.version>1.7.1</gmavenplus.plugin.version>
     </properties>
 
     <build>
@@ -40,20 +44,19 @@
                 <version>2.4</version>
             </plugin>
             <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.1</version>
+                <groupId>org.codehaus.gmavenplus</groupId>
+                <artifactId>gmavenplus-plugin</artifactId>
+                <version>${gmavenplus.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>compileTests</goal>
+                            </goals>
+                    </execution>
+                </executions>
                 <configuration>
-                    <compilerId>groovy-eclipse-compiler</compilerId>
-                    <source>1.7</source>
-                    <target>1.7</target>
+                    <targetBytecode>${gmavenplus.javaRelease}</targetBytecode>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.codehaus.groovy</groupId>
-                        <artifactId>groovy-eclipse-compiler</artifactId>
-                        <version>2.7.0-01</version>
-                    </dependency>
-                </dependencies>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

debian/patches/series

0 → 100644
+1 −0
Original line number Diff line number Diff line
gmavenplus.patch