Skip to content

Commit 8c20983

Browse files
committed
[BEAM-2530] Add a java 9 profile to parent pom
1 parent 1cdeb7c commit 8c20983

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

pom.xml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,61 @@
416416
</build>
417417
</profile>
418418

419+
<profile>
420+
<id>java-next</id>
421+
<activation>
422+
<jdk>9</jdk>
423+
</activation>
424+
<build>
425+
<plugins>
426+
<plugin>
427+
<groupId>org.apache.maven.plugins</groupId>
428+
<artifactId>maven-compiler-plugin</artifactId>
429+
<configuration>
430+
<source>9</source>
431+
<target>9</target>
432+
<showWarnings>true</showWarnings>
433+
</configuration>
434+
</plugin>
435+
<!-- TODO: Temporally disable unsupported plugins -->
436+
<plugin>
437+
<groupId>org.codehaus.mojo</groupId>
438+
<artifactId>findbugs-maven-plugin</artifactId>
439+
<configuration>
440+
<skip>true</skip>
441+
</configuration>
442+
</plugin>
443+
<plugin>
444+
<groupId>org.apache.maven.plugins</groupId>
445+
<artifactId>maven-javadoc-plugin</artifactId>
446+
<configuration>
447+
<skip>true</skip>
448+
</configuration>
449+
</plugin>
450+
<plugin>
451+
<groupId>org.apache.maven.plugins</groupId>
452+
<artifactId>maven-dependency-plugin</artifactId>
453+
<configuration>
454+
<skip>true</skip>
455+
</configuration>
456+
</plugin>
457+
<plugin>
458+
<groupId>org.apache.maven.plugins</groupId>
459+
<artifactId>maven-enforcer-plugin</artifactId>
460+
<configuration>
461+
<skip>true</skip>
462+
</configuration>
463+
</plugin>
464+
</plugins>
465+
</build>
466+
<dependencies>
467+
<dependency>
468+
<groupId>javax.annotation</groupId>
469+
<artifactId>javax.annotation-api</artifactId>
470+
<version>1.3.1</version>
471+
</dependency>
472+
</dependencies>
473+
</profile>
419474
</profiles>
420475

421476
<dependencyManagement>

0 commit comments

Comments
 (0)