Hi Michal,

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

Regards
JB

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
> 
> But this works using java 8 without any problem.
> Workaround for this is to define:
> 
>         <dependency>
>             <groupId>org.apache.cxf.karaf</groupId>
>             <artifactId>apache-cxf</artifactId>
>             <classifier>features</classifier>
>             <version>${cxf.version}</version>
>             <type>xml</type>
>             <scope>runtime</scope>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.karaf.shell</groupId>
>                     <artifactId>org.apache.karaf.shell.core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> 
> m.
> 
> On Fri, Jan 18, 2019 at 11:19 AM Michal Hlaváč <m...@hlavki.eu
> <mailto:m...@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é
>     <j...@nanthrax.net <mailto:j...@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 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/ 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é
>         jbono...@apache.org <mailto:jbono...@apache.org>
>         http://blog.nanthrax.net
>         Talend - http://www.talend.com
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to