You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Robert Varga (JIRA)" <ji...@apache.org> on 2018/12/21 17:08:00 UTC

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

Robert Varga created KARAF-6057:
-----------------------------------

             Summary: 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
            Reporter: Robert Varga


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)