|
25 | 25 | <properties> |
26 | 26 | <versionSpecificSubPackage>v0_7_0</versionSpecificSubPackage> |
27 | 27 | <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> |
30 | 33 | </properties> |
31 | 34 | <scm> |
32 | 35 | < connection>scm:git: [email protected]:nativelibs4java/BridJ.git</ connection> |
|
50 | 53 | <artifactId>asm</artifactId> |
51 | 54 | <version>5.0.3</version> |
52 | 55 | </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>com.fasterxml</groupId> |
| 58 | + <artifactId>classmate</artifactId> |
| 59 | + <version>1.3.3</version> |
| 60 | + </dependency> |
53 | 61 | <dependency> |
54 | 62 | <groupId>org.osgi</groupId> |
55 | 63 | <artifactId>org.osgi.core</artifactId> |
|
113 | 121 | </plugin--> |
114 | 122 | <plugin> |
115 | 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> |
116 | 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> |
117 | 143 | <execution> |
118 | 144 | <id>default-testCompile</id> |
119 | 145 | <phase>test-compile</phase> |
120 | 146 | <goals> |
121 | 147 | <goal>testCompile</goal> |
122 | 148 | </goals> |
123 | 149 | <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> |
126 | 152 | </configuration> |
127 | 153 | </execution> |
128 | 154 | </executions> |
129 | 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> |
130 | 169 | <plugin> |
131 | 170 | <groupId>org.apache.felix</groupId> |
132 | 171 | <artifactId>maven-bundle-plugin</artifactId> |
|
0 commit comments