You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Michal Hlavac <mi...@hlavki.eu> on 2019/02/19 09:56:06 UTC

Re: Moving to JDK 11

can confirm that with CXF 3.3.0 it works!

thanks, m.

On nedeľa 20. januára 2019 19:14:45 CET Michal Hlaváč wrote:


one thing to mention is, that it works using Java 1.8



On Fri, Jan 18, 2019 at 1:39 PM Jean-Baptiste Onofré <jb@nanthrax.net[1]> wrote:


Hi Michal,

There's a couple of fix coming in CXF 3.2.8. Let me check if this caseis covered.

RegardsJB

On 18/01/2019 11:28, Michal Hlaváč wrote:> Btw. I tried to find those transitive dependency an it's cxf with shell> feature:> https://github.com/apache/cxf/blob/cxf-3.2.6/osgi/karaf/features/src/main/resources/features.xml#L95[2]
miso@hlavki.eu[3]
_miso@hlavki.eu_>> wrote:> >     thanks JB,> >     I've pushed jdk11 branch with changes. thanks, m.> >     On Fri, Jan 18, 2019 at 10:33 AM Jean-Baptiste Onofré>     <jb@nanthrax.net[1] <ma...@nanthrax.net_>> wrote:> >         Hi Michal,> >         I guess one features (transitive) is referencing 4.2.1-SNAPSHOT.> >         Let me take a look on your github.> >         Regards>         JB> >         On 18/01/2019 10:00, Michal Hlaváč wrote:>         > Hello,>         >>         > I tried to move my project>         > https://github.com/hlavki/g-suite-identity-sync[4] to JDK 11.>         > 1. So I changed:>         >         <maven.compiler.source>11</maven.compiler.source>>         >         <maven.compiler.target>11</maven.compiler.target>>         >>         > 2. All occurences of <javase> to <javase>11</javase>>         >>         > 3. Added jaxb to classpath.>         >>         > and I get this error:>         > Failed to execute goal on project>         g-suite-identity-sync-features: Could>         > not resolve dependencies for project>         >>         eu.hlavki.identity:g-suite-identity-sync-features:feature:0.3.7-SNAPSHOT:>         Failure>         > to find>         >>         org.apache.karaf.shell:org.apache.karaf.shell.core:jar:4.2.1-SNAPSHOT>         in>         > https://repository.apache.org/snapshots/[5] was cached in the local>         > repository, resolution will not be reattempted until the>         update interval>         > of apache.snapshots has elapsed or updates are forced -> [Help 1]>         >>         > It's strange, because there no mention of 4.2.1-SNAPSHOT>         version. CXF>         > feature also does not define version of shell feature.>         >>         > Same behaviour with karaf 4.2.2.>         >>         > thanks, m.> >         -- >         Jean-Baptiste Onofré>         jbonofre@apache.org[6] <ma...@apache.org_>>         http://blog.nanthrax.net[7]
http://www.talend.com[8]
jbonofre@apache.org[6]
http://blog.nanthrax.net[7]
http://www.talend.com[8]




--------
[1] mailto:jb@nanthrax.net
[2] https://github.com/apache/cxf/blob/cxf-3.2.6/osgi/karaf/features/src/main/resources/features.xml#L95
[3] mailto:miso@hlavki.eu
[4] https://github.com/hlavki/g-suite-identity-sync
[5] https://repository.apache.org/snapshots/
[6] mailto:jbonofre@apache.org
[7] http://blog.nanthrax.net
[8] http://www.talend.com