Skip to content

Commit 8f8db3d

Browse files
committed
add classmate and retrolambda to the pom.
1 parent ed9e0e0 commit 8f8db3d

1 file changed

Lines changed: 40 additions & 2 deletions

File tree

pom.xml

Lines changed: 40 additions & 2 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>6</maven.compiler.testSource>
29-
<maven.compiler.testTarget>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:git@github.com: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>
@@ -114,7 +122,24 @@
114122
<plugin>
115123
<artifactId>maven-compiler-plugin</artifactId>
116124
<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>
117131
<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>
118143
<execution>
119144
<id>default-testCompile</id>
120145
<phase>test-compile</phase>
@@ -128,6 +153,19 @@
128153
</execution>
129154
</executions>
130155
</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>
131169
<plugin>
132170
<groupId>org.apache.felix</groupId>
133171
<artifactId>maven-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)