karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4318) Generated distribution archive contains double entries when using resources
Date Fri, 05 Feb 2016 15:27:39 GMT

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

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

> Generated distribution archive contains double entries when using resources
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-4318
>                 URL: https://issues.apache.org/jira/browse/KARAF-4318
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.5
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.6
>
>
> When using karaf-maven-plugin to create a custom distribution, and also using some file
in project resources (like src/main/resources/bin/setenv for instance), the resulting distribution
archives (tar.gz and zip) contains two entries: one for the original file, and the one from
resources (the later is actually the one used in the archive):
> {code}
> jbonofre@latitude:~/Workspace/test-karaf/target$ tar ztvf my-assembly-1.0.0-SNAPSHOT.tar.gz
|grep -i setenv
> -rwxr-xr-x 0/0            2089 2016-02-05 14:27 my-assembly-1.0.0-SNAPSHOT/bin/setenv
> -rw-r--r-- 0/0            2159 2016-02-05 14:27 my-assembly-1.0.0-SNAPSHOT/bin/setenv.bat
> -rw-r--r-- 0/0              17 2016-02-05 14:24 my-assembly-1.0.0-SNAPSHOT/bin/setenv
> {code}



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

Mime
View raw message