activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: [ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK
Date Mon, 10 Apr 2017 14:16:41 GMT
[ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK

Issue: https://issues.apache.org/jira/browse/ARTEMIS-861


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e6f757e4
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e6f757e4
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e6f757e4

Branch: refs/heads/master
Commit: e6f757e44f779f05abf647c41422d8d4bdf867ac
Parents: bb6a418
Author: Ingo Weiss <ingo@redhat.com>
Authored: Mon Apr 10 09:40:12 2017 +0100
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Apr 10 10:16:44 2017 -0400

----------------------------------------------------------------------
 artemis-selector/pom.xml | 32 ++++++++++++++++++++++++++++++++
 pom.xml                  | 31 +++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e6f757e4/artemis-selector/pom.xml
----------------------------------------------------------------------
diff --git a/artemis-selector/pom.xml b/artemis-selector/pom.xml
index 651aee9..c283774 100644
--- a/artemis-selector/pom.xml
+++ b/artemis-selector/pom.xml
@@ -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>

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e6f757e4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3f636ec..7eff36e 100644
--- a/pom.xml
+++ b/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>


Mime
View raw message