This commit is contained in:
Clebert Suconic 2017-04-10 10:16:44 -04:00
commit 8911efd0c3
2 changed files with 63 additions and 0 deletions

View File

@ -47,6 +47,38 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>ibm-jdk8</id>
<activation>
<jdk>1.8</jdk>
<property>
<name>java.vendor</name>
<value>IBM Corporation</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- version 3.2 is having problems with the APT processor resulting in
java.lang.IllegalStateException: endPosTable already set -->
<version>3.1</version>
<configuration combine.self="override"></configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<resource>

31
pom.xml
View File

@ -688,6 +688,37 @@
<javac-compiler-id>javac</javac-compiler-id>
</properties>
</profile>
<!-- Google Error Prone has issues with IBM JDK 8 -->
<!-- See ARTEMIS-861 -->
<profile>
<id>ibm-jdk8</id>
<activation>
<jdk>1.8</jdk>
<property>
<name>java.vendor</name>
<value>IBM Corporation</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- version 3.2 is having problems with the APT processor resulting in
java.lang.IllegalStateException: endPosTable already set -->
<version>3.1</version>
<configuration combine.self="override"></configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk18</id>
<activation>