Richard Stollar
2018-10-15 09:45:34 UTC
Hello all,
   With the new JDK-11 and the removal of certain modules
(|java.xml.bind|) what's the way-foward? I have tried building CXF but
am facing issues with the following root cause:
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
Failure to find
org.apache.karaf.shell:org.apache.karaf.shell.core:jar:4.2.1-SNAPSHOT
in https://repository.apache.org/snapshots/ was cached in the local
repository, resolution will not be reattempted until the update
interval of apache.snapshots has elapsed or updates are forced
   I added several dependencies and hope that's going to work when I
can successfully build CXF...
<dependency>
       <groupId>javax.xml.bind</groupId>
       <artifactId>jaxb-api</artifactId>
       <version>2.3.0</version>
   </dependency>
   <dependency>
       <groupId>com.sun.xml.bind</groupId>
       <artifactId>jaxb-impl</artifactId>
       <version>2.3.0</version>
   </dependency>
   <dependency>
       <groupId>org.glassfish.jaxb</groupId>
       <artifactId>jaxb-runtime</artifactId>
       <version>2.3.0</version>
   </dependency>
   <dependency>
       <groupId>javax.activation</groupId>
       <artifactId>activation</artifactId>
       <version>1.1.1</version>
   </dependency>
   Have you built CXF with Java-11?  My environment is Ubuntu Linux.
   With the new JDK-11 and the removal of certain modules
(|java.xml.bind|) what's the way-foward? I have tried building CXF but
am facing issues with the following root cause:
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
Failure to find
org.apache.karaf.shell:org.apache.karaf.shell.core:jar:4.2.1-SNAPSHOT
in https://repository.apache.org/snapshots/ was cached in the local
repository, resolution will not be reattempted until the update
interval of apache.snapshots has elapsed or updates are forced
   I added several dependencies and hope that's going to work when I
can successfully build CXF...
<dependency>
       <groupId>javax.xml.bind</groupId>
       <artifactId>jaxb-api</artifactId>
       <version>2.3.0</version>
   </dependency>
   <dependency>
       <groupId>com.sun.xml.bind</groupId>
       <artifactId>jaxb-impl</artifactId>
       <version>2.3.0</version>
   </dependency>
   <dependency>
       <groupId>org.glassfish.jaxb</groupId>
       <artifactId>jaxb-runtime</artifactId>
       <version>2.3.0</version>
   </dependency>
   <dependency>
       <groupId>javax.activation</groupId>
       <artifactId>activation</artifactId>
       <version>1.1.1</version>
   </dependency>
   Have you built CXF with Java-11?  My environment is Ubuntu Linux.
--
Best regards,
Richard Stollar <http://www.stollar.co.uk>
------------------------------------------------------------------------
Best regards,
Richard Stollar <http://www.stollar.co.uk>
------------------------------------------------------------------------