[ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK
Issue: https://issues.apache.org/jira/browse/ARTEMIS-861
This commit is contained in:
parent
bb6a418374
commit
e6f757e44f
|
@ -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
31
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue