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/01/21 14:09:00 UTC

[jira] [Resolved] (KARAF-6057) karaf-plugin breaks with maven-install-plugin-2.5.2

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

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

I confirm it works fine now with 4.2.3-SNAPSHOT and the fix I did on the pom generation.

> karaf-plugin breaks with maven-install-plugin-2.5.2
> ---------------------------------------------------
>
>                 Key: KARAF-6057
>                 URL: https://issues.apache.org/jira/browse/KARAF-6057
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.2, 4.1.7
>            Reporter: Robert Varga
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: maven, tooling
>             Fix For: 4.2.3
>
>
> KARAF-5939 added handling to support m-i-p-3.0.0-M1, but as a side-effect it broke usage in OpenDaylight.
> There, in [https://github.com/opendaylight/odlparent/tree/master/karaf/karaf4-parent] we are using packaging=pom explicitly to allow this artifact to be consumed by other projects, who then provide just a few overrides like this: [https://github.com/opendaylight/aaa/blob/master/karaf/pom.xml]
> Unfortunately that change means that if coupled with m-i-p-2.5.2, the pom.xml file ends up being installed as a zip:
> {noformat}
> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ karaf4-parent ---
> [INFO] Installing /w/workspace/odlparent-maven-stage-master/karaf/karaf4-parent/pom.xml to /tmp/r/org/opendaylight/odlparent/karaf4-parent/4.0.5/karaf4-parent-4.0.5.zip
> [INFO] Installing /w/workspace/odlparent-maven-stage-master/karaf/karaf4-parent/target/karaf4-parent-4.0.5.tar.gz to /tmp/r/org/opendaylight/odlparent/karaf4-parent/4.0.5/karaf4-parent-4.0.5.tar.gz
> [INFO] Installing /w/workspace/odlparent-maven-stage-master/karaf/karaf4-parent/target/karaf4-parent-4.0.5.zip to /tmp/r/org/opendaylight/odlparent/karaf4-parent/4.0.5/karaf4-parent-4.0.5.zip
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)