Skip to content

Commit 054c5cf

Browse files
committed
update test compile version to 1.6, to align with annotation usage.
1 parent bc17c24 commit 054c5cf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
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>
2830
</properties>
2931
<scm>
3032
<connection>scm:git:[email protected]:nativelibs4java/BridJ.git</connection>
@@ -109,6 +111,22 @@
109111
</javahClassNames>
110112
</configuration>
111113
</plugin-->
114+
<plugin>
115+
<artifactId>maven-compiler-plugin</artifactId>
116+
<executions>
117+
<execution>
118+
<id>default-testCompile</id>
119+
<phase>test-compile</phase>
120+
<goals>
121+
<goal>testCompile</goal>
122+
</goals>
123+
<configuration>
124+
<source>${maven.compiler.testSource}</source>
125+
<target>${maven.compiler.testTarget}</target>
126+
</configuration>
127+
</execution>
128+
</executions>
129+
</plugin>
112130
<plugin>
113131
<groupId>org.apache.felix</groupId>
114132
<artifactId>maven-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)