|
15 | 15 | ~ limitations under the License. |
16 | 16 | --> |
17 | 17 |
|
18 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
19 | 20 | <modelVersion>4.0.0</modelVersion> |
20 | 21 |
|
21 | 22 | <parent> |
22 | 23 | <groupId>net.openhft</groupId> |
23 | 24 | <artifactId>java-parent-pom</artifactId> |
24 | 25 | <version>1.1.27</version> |
25 | | - <relativePath /> |
| 26 | + <relativePath/> |
26 | 27 | </parent> |
27 | 28 |
|
28 | 29 | <artifactId>compiler</artifactId> |
|
107 | 108 | <executable>java</executable> |
108 | 109 | <arguments> |
109 | 110 | <argument>-classpath</argument> |
110 | | - <classpath /> |
| 111 | + <classpath/> |
111 | 112 | <argument>net.openhft.compiler.CompilerTest</argument> |
112 | 113 | </arguments> |
113 | 114 | </configuration> |
|
164 | 165 |
|
165 | 166 | </build> |
166 | 167 |
|
| 168 | + <profiles> |
| 169 | + <profile> |
| 170 | + <id>sonar</id> |
| 171 | + <build> |
| 172 | + <plugins> |
| 173 | + <plugin> |
| 174 | + <groupId>org.sonarsource.scanner.maven</groupId> |
| 175 | + <artifactId>sonar-maven-plugin</artifactId> |
| 176 | + </plugin> |
| 177 | + <plugin> |
| 178 | + <groupId>org.jacoco</groupId> |
| 179 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 180 | + <executions> |
| 181 | + <execution> |
| 182 | + <goals> |
| 183 | + <goal>prepare-agent</goal> |
| 184 | + </goals> |
| 185 | + </execution> |
| 186 | + <execution> |
| 187 | + <id>report</id> |
| 188 | + <phase>prepare-package</phase> |
| 189 | + <goals> |
| 190 | + <goal>report</goal> |
| 191 | + </goals> |
| 192 | + </execution> |
| 193 | + </executions> |
| 194 | + </plugin> |
| 195 | + </plugins> |
| 196 | + </build> |
| 197 | + </profile> |
| 198 | + <profile> |
| 199 | + <id>java11</id> |
| 200 | + <activation> |
| 201 | + <jdk>[11,)</jdk> |
| 202 | + </activation> |
| 203 | + <build> |
| 204 | + <plugins> |
| 205 | + <plugin> |
| 206 | + <groupId>org.apache.maven.plugins</groupId> |
| 207 | + <artifactId>maven-compiler-plugin</artifactId> |
| 208 | + <configuration> |
| 209 | + <source>11</source> |
| 210 | + <target>11</target> |
| 211 | + <compilerArgs> |
| 212 | + <arg>--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED</arg> |
| 213 | + <arg>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED</arg> |
| 214 | + </compilerArgs> |
| 215 | + </configuration> |
| 216 | + </plugin> |
| 217 | + </plugins> |
| 218 | + </build> |
| 219 | + </profile> |
| 220 | + </profiles> |
| 221 | + |
167 | 222 | <scm> |
168 | 223 | < url>scm:git: [email protected]:OpenHFT/Java-Runtime-Compiler.git</ url> |
169 | 224 | < connection>scm:git: [email protected]:OpenHFT/Java-Runtime-Compiler.git</ connection> |
170 | 225 | < developerConnection>scm:git: [email protected]:OpenHFT/Java-Runtime-Compiler.git |
171 | 226 | </developerConnection> |
172 | | - <tag>ea</tag> |
| 227 | + <tag>ea</tag> |
173 | 228 | </scm> |
174 | 229 |
|
175 | 230 | </project> |
0 commit comments