Skip to content

Commit 661fef4

Browse files
committed
add classmate and retrolambda to the pom.
1 parent 09d7f4b commit 661fef4

File tree

2 files changed

+44
-5
lines changed

2 files changed

+44
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jdk:
77
- oraclejdk8
88
#- oraclejdk7
99
#- openjdk7
10-
- openjdk6
10+
#- openjdk6
1111

1212
compiler:
1313
- gcc

pom.xml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
<properties>
2626
<versionSpecificSubPackage>v0_7_0</versionSpecificSubPackage>
2727
<maven.compiler.optimize>true</maven.compiler.optimize>
28-
<maven.compiler.testSource>1.6</maven.compiler.testSource>
29-
<maven.compiler.testTarget>1,6</maven.compiler.testTarget>
28+
<maven.compiler.source>1.8</maven.compiler.source>
29+
<maven.compiler.target>1.8</maven.compiler.target>
30+
<maven.compiler.testSource>1.8</maven.compiler.testSource>
31+
<maven.compiler.testTarget>1.8</maven.compiler.testTarget>
32+
<retrolambdaTarget>1.6</retrolambdaTarget>
3033
</properties>
3134
<scm>
3235
<connection>scm:git:[email protected]:nativelibs4java/BridJ.git</connection>
@@ -50,6 +53,11 @@
5053
<artifactId>asm</artifactId>
5154
<version>5.0.3</version>
5255
</dependency>
56+
<dependency>
57+
<groupId>com.fasterxml</groupId>
58+
<artifactId>classmate</artifactId>
59+
<version>1.3.3</version>
60+
</dependency>
5361
<dependency>
5462
<groupId>org.osgi</groupId>
5563
<artifactId>org.osgi.core</artifactId>
@@ -113,20 +121,51 @@
113121
</plugin-->
114122
<plugin>
115123
<artifactId>maven-compiler-plugin</artifactId>
124+
<version>3.6.0</version>
125+
<configuration>
126+
<source>${maven.compiler.source}</source>
127+
<target>${maven.compiler.target}</target>
128+
<testSource>${maven.compiler.testSource}</testSource>
129+
<testTarget>${maven.compiler.testTarget}</testTarget>
130+
</configuration>
116131
<executions>
132+
<execution>
133+
<id>default-compile</id>
134+
<phase>compile</phase>
135+
<goals>
136+
<goal>compile</goal>
137+
</goals>
138+
<configuration>
139+
<source>${maven.compiler.source}</source>
140+
<target>${maven.compiler.target}</target>
141+
</configuration>
142+
</execution>
117143
<execution>
118144
<id>default-testCompile</id>
119145
<phase>test-compile</phase>
120146
<goals>
121147
<goal>testCompile</goal>
122148
</goals>
123149
<configuration>
124-
<source>${maven.compiler.testSource}</source>
125-
<target>${maven.compiler.testTarget}</target>
150+
<testSource>${maven.compiler.testSource}</testSource>
151+
<testTarget>${maven.compiler.testTarget}</testTarget>
126152
</configuration>
127153
</execution>
128154
</executions>
129155
</plugin>
156+
<plugin>
157+
<groupId>net.orfjackal.retrolambda</groupId>
158+
<artifactId>retrolambda-maven-plugin</artifactId>
159+
<version>2.4.0</version>
160+
<executions>
161+
<execution>
162+
<goals>
163+
<goal>process-main</goal>
164+
<goal>process-test</goal>
165+
</goals>
166+
</execution>
167+
</executions>
168+
</plugin>
130169
<plugin>
131170
<groupId>org.apache.felix</groupId>
132171
<artifactId>maven-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)