karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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:comment-tabpanel&focusedCommentId=15134320#comment-15134320
] 

ASF subversion and git services commented on KARAF-4318:
--------------------------------------------------------

Commit d0856f40f10ec238709d1e4cb97f0c88c8960c56 in karaf's branch refs/heads/karaf-3.0.x from
[~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=d0856f4 ]

KARAF-4318 - Prepare the assembly before archiving


> 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