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 2015/09/26 07:35:04 UTC

[jira] [Resolved] (KARAF-4020) karaf-maven-plugin:archive doesn't respect an empty prefixPath

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

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

> karaf-maven-plugin:archive doesn't respect an empty prefixPath
> --------------------------------------------------------------
>
>                 Key: KARAF-4020
>                 URL: https://issues.apache.org/jira/browse/KARAF-4020
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.1
>            Reporter: Lukas Roedl
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.2
>
>
> The "archive" goal of the karaf-maven-plugin offers the possibility to modify the path prefix of files in the created archive (defaults to "${project.artifactId}-${project.version}").
> This seems to work for all cases except someone wants to set the pathPrefix to an empty string to actually disable the prefix.
> The cause of this is the fact that maven interprets the empty pathPrefix tag not as an empty string but as null and then uses the value given as defaultValue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)