Jean-Baptiste Onofré created KARAF-4318:
-------------------------------------------

             Summary: 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)

Reply via email to