Skip to content

Commit cf0c697

Browse files
committed
add classmate and retrolambda to the pom.
1 parent bc17c24 commit cf0c697

2 files changed

Lines changed: 59 additions & 2 deletions

File tree

.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: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>bridj</artifactId>
66
<name>BridJ (NativeLibs4Java C/C++ Interop Layer)</name>
77
<url>http://code.google.com/p/bridj/</url>
8-
<version>0.7.1-SNAPSHOT</version>
8+
<version>0.8.0-SNAPSHOT</version>
99
<packaging>bundle</packaging>
1010
<repositories>
1111
<repository>
@@ -25,6 +25,11 @@
2525
<properties>
2626
<versionSpecificSubPackage>v0_7_0</versionSpecificSubPackage>
2727
<maven.compiler.optimize>true</maven.compiler.optimize>
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>
2833
</properties>
2934
<scm>
3035
<connection>scm:git:git@github.com:nativelibs4java/BridJ.git</connection>
@@ -48,6 +53,11 @@
4853
<artifactId>asm</artifactId>
4954
<version>5.0.3</version>
5055
</dependency>
56+
<dependency>
57+
<groupId>com.fasterxml</groupId>
58+
<artifactId>classmate</artifactId>
59+
<version>1.3.3</version>
60+
</dependency>
5161
<dependency>
5262
<groupId>org.osgi</groupId>
5363
<artifactId>org.osgi.core</artifactId>
@@ -109,6 +119,53 @@
109119
</javahClassNames>
110120
</configuration>
111121
</plugin-->
122+
<plugin>
123+
<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>
131+
<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>
143+
<execution>
144+
<id>default-testCompile</id>
145+
<phase>test-compile</phase>
146+
<goals>
147+
<goal>testCompile</goal>
148+
</goals>
149+
<configuration>
150+
<testSource>${maven.compiler.testSource}</testSource>
151+
<testTarget>${maven.compiler.testTarget}</testTarget>
152+
</configuration>
153+
</execution>
154+
</executions>
155+
</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>
112169
<plugin>
113170
<groupId>org.apache.felix</groupId>
114171
<artifactId>maven-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)