You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2019/11/09 10:30:00 UTC

[jira] [Resolved] (KARAF-6462) Unresolvable dependency to org.knopflerfish.kf6:log-API:jar:5.0.0 using karaf-maven-plugin:

     [ https://issues.apache.org/jira/browse/KARAF-6462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-6462.
-----------------------------------------
    Resolution: Fixed

Fixed with pax-logging 1.11.3 update.

> Unresolvable dependency to org.knopflerfish.kf6:log-API:jar:5.0.0 using karaf-maven-plugin:
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-6462
>                 URL: https://issues.apache.org/jira/browse/KARAF-6462
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.2.7
>            Reporter: Timo E aus E
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.3.0, 4.2.8
>
>
> Building a custom Karaf 4.2.7 dist. using karaf maven plugin results in an error as dependency
> {code}[ERROR] Failed to execute goal on project karaf-maven-example-assembly: Could not resolve dependencies for project karaf-demo:karaf-assembly-demo:1: Failed to collect dependencies at org.apache.karaf.features:framework:kar:4.2.7 -> org.ops4j.pax.logging:pax-logging-log4j2:jar:1.11.2 -> org.knopflerfish.kf6:log-API:jar:5.0.0
> {code}
> Artifact org.knopflerfish.kf6:log-API:jar does not exist in version 5.0.0. Dependency is delcared in {{org.ops4j.pax.logging:pax-logging-log4j2:jar:1.11.2}}. 
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
>     <!--
>         Licensed to the Apache Software Foundation (ASF) under one or more
>         contributor license agreements.  See the NOTICE file distributed with
>         this work for additional information regarding copyright ownership.
>         The ASF licenses this file to You under the Apache License, Version 2.0
>         (the "License"); you may not use this file except in compliance with
>         the License.  You may obtain a copy of the License at
>            http://www.apache.org/licenses/LICENSE-2.0
>         Unless required by applicable law or agreed to in writing, software
>         distributed under the License is distributed on an "AS IS" BASIS,
>         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>         See the License for the specific language governing permissions and
>         limitations under the License.
>     -->
>     <modelVersion>4.0.0</modelVersion>
>     <groupId>karaf-demo</groupId>
>     <version>0.0.1-SNAPSHOT</version>
>     <artifactId>karaf-assembly-demo</artifactId>
>     <name>Apache Karaf :: Examples :: Maven :: Assembly</name>
>     <packaging>karaf-assembly</packaging>
>     <dependencies>
>         <dependency>
>             <groupId>org.apache.karaf.features</groupId>
>             <artifactId>framework</artifactId>
>               <version>4.2.7</version>
>             <type>kar</type>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.karaf.features</groupId>
>             <artifactId>standard</artifactId>
>               <version>4.2.7</version>
>             <classifier>features</classifier>
>             <type>xml</type>
>             <scope>compile</scope>
>         </dependency>
>     </dependencies>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.karaf.tooling</groupId>
>                 <artifactId>karaf-maven-plugin</artifactId>
>                 <version>4.2.7</version>
>                 <extensions>true</extensions>
>                 <configuration>
>                     <finalName>${project.artifactId}</finalName>
>                     <bootFeatures>
>                         <feature>standard</feature>
>                         <feature>bundle</feature>
>                         <feature>config</feature>
>                         <feature>diagnostic</feature>
>                         <feature>feature</feature>
>                         <feature>shell</feature>
>                         <feature>log</feature>
>                         <feature>management</feature>
>                         <feature>package</feature>
>                         <feature>shell-compat</feature>
>                         <feature>ssh</feature>
>                         <feature>system</feature>
>                         <feature>wrap</feature>
>                         <feature>http-whiteboard</feature>
>                         <feature>deployer</feature>
>                         <feature>service</feature>
>                         <feature>kar</feature>
>                         <feature>scr</feature>
>                         <feature>aries-blueprint</feature>
>                         <feature>eventadmin</feature>
>                     </bootFeatures>
>                     <archiveZip>false</archiveZip>
>                 </configuration>
>             </plugin>
>         </plugins>
>     </build>
> </project>
> {code}



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