You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/11 18:13:00 UTC

[jira] [Work logged] (ARTEMIS-2109) enable building Artemis with JDK 11+

     [ https://issues.apache.org/jira/browse/ARTEMIS-2109?focusedWorklogId=444461&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-444461 ]

ASF GitHub Bot logged work on ARTEMIS-2109:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jun/20 18:12
            Start Date: 11/Jun/20 18:12
    Worklog Time Spent: 10m 
      Work Description: gemmellr commented on pull request #3179:
URL: https://github.com/apache/activemq-artemis/pull/3179#issuecomment-642848546


   Added missing ARTEMIS-2109 ref to the title.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 444461)
    Remaining Estimate: 0h
            Time Spent: 10m

> enable building Artemis with JDK 11+
> ------------------------------------
>
>                 Key: ARTEMIS-2109
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2109
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.13.0
>            Reporter: Miroslav Novak
>            Priority: Major
>             Fix For: 2.14.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Artemis cannot be build with JDK 11:
> {code}
> $ java -version
> openjdk version "11" 2018-09-25
> OpenJDK Runtime Environment 18.9 (build 11+28)
> OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
> {code}
> Build fails with:
> {code}
> $ mvn clean install
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ActiveMQ Artemis Parent 2.7.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ artemis-pom ---
> [INFO] Deleting /home/mnovak/projects/activemq-artemis/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ artemis-pom ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ artemis-pom ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ActiveMQ Artemis Parent ............................ FAILURE [  0.302 s]
> [INFO] ActiveMQ Artemis Commons ........................... SKIPPED
> [INFO] ActiveMQ Artemis Core Client ....................... SKIPPED
> [INFO] ActiveMQ Artemis Selector Implementation ........... SKIPPED
> [INFO] ActiveMQ Artemis JMS Client ........................ SKIPPED
> [INFO] ActiveMQ Artemis Native POM ........................ SKIPPED
> [INFO] ActiveMQ Artemis Journal ........................... SKIPPED
> [INFO] ActiveMQ Artemis JDBC Store ........................ SKIPPED
> [INFO] ActiveMQ Artemis Server ............................ SKIPPED
> [INFO] ActiveMQ Artemis Protocols ......................... SKIPPED
> [INFO] ActiveMQ Artemis AMQP Protocol ..................... SKIPPED
> [INFO] ActiveMQ Artemis STOMP Protocol .................... SKIPPED
> [INFO] ActiveMQ Artemis OpenWire Protocol ................. SKIPPED
> [INFO] ActiveMQ Artemis HQClient Protocol ................. SKIPPED
> [INFO] ActiveMQ Artemis HornetQ Protocol .................. SKIPPED
> [INFO] ActiveMQ Artemis MQTT Protocol ..................... SKIPPED
> [INFO] ActiveMQ Artemis DTO ............................... SKIPPED
> [INFO] ActiveMQ Artemis Service Extensions ................ SKIPPED
> [INFO] ActiveMQ Artemis JMS Server ........................ SKIPPED
> [INFO] ActiveMQ Artemis CDI Integration ................... SKIPPED
> [INFO] ActiveMQ Artemis Boot .............................. SKIPPED
> [INFO] ActiveMQ Artemis Tools ............................. SKIPPED
> [INFO] ActiveMQ Artemis CLI ............................... SKIPPED
> [INFO] ActiveMQ Artemis Web ............................... SKIPPED
> [INFO] ActiveMQ Artemis Web ............................... SKIPPED
> [INFO] ActiveMQ Artemis Core Client All ................... SKIPPED
> [INFO] ActiveMQ Artemis Client OSGi ....................... SKIPPED
> [INFO] ActiveMQ Artemis JUnit Rules ....................... SKIPPED
> [INFO] ActiveMQ Artemis JMS Client All .................... SKIPPED
> [INFO] ActiveMQ Artemis JMS Client OSGi ................... SKIPPED
> [INFO] ActiveMQ Artemis RAR POM ........................... SKIPPED
> [INFO] ActiveMQ Artemis REST Interface Implementation ..... SKIPPED
> [INFO] ActiveMQ Artemis Maven Plugin ...................... SKIPPED
> [INFO] ActiveMQ Artemis Server OSGi ....................... SKIPPED
> [INFO] ActiveMQ Artemis Cons .............................. SKIPPED
> [INFO] ActiveMQ Artemis HawtIO Branding ................... SKIPPED
> [INFO] ActiveMQ Artemis HawtIO Plugin ..................... SKIPPED
> [INFO] ActiveMQ Artemis Console ........................... SKIPPED
> [INFO] ActiveMQ Artemis Spring Integration ................ SKIPPED
> [INFO] Apache ActiveMQ Artemis Distribution ............... SKIPPED
> [INFO] ActiveMQ Artemis Tests POM ......................... SKIPPED
> [INFO] ActiveMQ Artemis Test Support ...................... SKIPPED
> [INFO] ActiveMQ Artemis Unit Tests ........................ SKIPPED
> [INFO] ActiveMQ Artemis Joram Tests ....................... SKIPPED
> [INFO] ActiveMQ Artemis timing Tests ...................... SKIPPED
> [INFO] ActiveMQ Artemis JMS Tests ......................... SKIPPED
> [INFO] ActiveMQ Artemis Features .......................... SKIPPED
> [INFO] ActiveMQ Artemis Integration Tests ................. SKIPPED
> [INFO] ActiveMQ Artemis Client Integration Tests .......... SKIPPED
> [INFO] ActiveMQ Artemis Compatibility Tests ............... SKIPPED
> [INFO] ActiveMQ Artemis soak Tests ........................ SKIPPED
> [INFO] ActiveMQ Artemis stress Tests ...................... SKIPPED
> [INFO] ActiveMQ Artemis performance Tests ................. SKIPPED
> [INFO] Smoke Tests ........................................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.290 s
> [INFO] Finished at: 2018-10-04T11:23:43+02:00
> [INFO] Final Memory: 33M/128M
> [INFO] ------------------------------------------------------------------------
> [WARNING] The requested profile "zip" could not be activated because it does not exist.
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce (enforce-java) on project artemis-pom: Execution enforce-java of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce: java.lang.ExceptionInInitializerError: null
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.4
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/home/mnovak/.m2/repository/org/apache/maven/plugins/maven-enforcer-plugin/1.4/maven-enforcer-plugin-1.4.jar
> [ERROR] urls[1] = file:/home/mnovak/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> [ERROR] urls[2] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> [ERROR] urls[3] = file:/home/mnovak/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
> [ERROR] urls[4] = file:/home/mnovak/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
> [ERROR] urls[5] = file:/home/mnovak/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
> [ERROR] urls[6] = file:/home/mnovak/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
> [ERROR] urls[7] = file:/home/mnovak/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
> [ERROR] urls[8] = file:/home/mnovak/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
> [ERROR] urls[9] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> [ERROR] urls[10] = file:/home/mnovak/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[11] = file:/home/mnovak/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[12] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> [ERROR] urls[13] = file:/home/mnovak/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
> [ERROR] urls[14] = file:/home/mnovak/.m2/repository/org/apache/maven/enforcer/enforcer-api/1.4/enforcer-api-1.4.jar
> [ERROR] urls[15] = file:/home/mnovak/.m2/repository/org/apache/maven/enforcer/enforcer-rules/1.4/enforcer-rules-1.4.jar
> [ERROR] urls[16] = file:/home/mnovak/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
> [ERROR] urls[17] = file:/home/mnovak/.m2/repository/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar
> [ERROR] urls[18] = file:/home/mnovak/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.2/maven-dependency-tree-2.2.jar
> [ERROR] urls[19] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[20] = file:/home/mnovak/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
> [ERROR] urls[21] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.jar
> [ERROR] urls[22] = file:/home/mnovak/.m2/repository/org/apache/maven/plugin-testing/maven-plugin-testing-harness/1.3/maven-plugin-testing-harness-1.3.jar
> [ERROR] urls[23] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
> [ERROR] urls[24] = file:/home/mnovak/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
> [ERROR] urls[25] = file:/home/mnovak/.m2/repository/junit/junit/4.11/junit-4.11.jar
> [ERROR] urls[26] = file:/home/mnovak/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[project>org.apache.activemq:artemis-pom:2.7.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> [ERROR] 
> [ERROR] -----------------------------------------------------: begin 0, end 3, length 2
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)