EricB Chan created CXF-8308:
-------------------------------

             Summary: OpenJDK 8 wrongly activated the java9-plus profile
                 Key: CXF-8308
                 URL: https://issues.apache.org/jira/browse/CXF-8308
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.3.6
         Environment: > java -version

openjdk version "1.8.0_252"

OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)

OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

> mvn -version

Maven home: /usr/share/maven

Java version: 1.8.0_252, vendor: Private Build, runtime: 
/usr/lib/jvm/java-8-openjdk-amd64/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "linux", version: "4.15.0-108-generic", arch: "amd64", family: "unix"
            Reporter: EricB Chan


I was having the development in Windows 10 + Sun JDK 1.8.0_231 connected to an 
self-hosted Nexus maven repository. However, after I disconnect the self-hosted 
Nexus from the internet and switched to Ubuntu + OpenJDK 1.8.0_252 environment, 
my IDE warns for not resolving the following artifacts:
 * org.jacorb:jacorb-omgapi
 * com.sun.xml.messaging.saaj:saaj-impl
 * org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec
 * org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec
 * org.apache.geronimo.specs:geronimo-jta_1.1_spec
 * javax.xml.ws:javaxws-api

After looking into the dependency hierarchy, I found that these artifacts are 
required by CXF.

Maven Profile ID: java9-plus

Activation: JDK [9,)



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

Reply via email to