[ 
https://jira.codehaus.org/browse/MASSEMBLY-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schulte updated MASSEMBLY-733:
----------------------------------------

    Attachment: MASSEMBLY-733.zip

Example project demonstrating the issue. Executing 'mvn package', plugin 
version 2.5.1 creates the following directory structure in the archives:

{code}
$ unzip target/my-final-name-bin.zip                             
Archive:  target/my-final-name-bin.zip
   creating: root/
  inflating: root/bin.xml
{code}

{code}
$ tar xfvz target/my-final-name-bin.tar.gz                           
root/bin.xml
{code}

{code}
$ tar xfvj target/my-final-name-bin.tar.bz2
root/bin.xml
{code}

Downgrading the plugin to version 2.4.1, the correct directory structure is 
created:

{code}
$ unzip target/my-final-name-bin.zip
Archive:  target/my-final-name-bin.zip
   creating: my-final-name/
   creating: my-final-name/root/
  inflating: my-final-name/root/bin.xml 
{code}

{code}
$ tar xfvz target/my-final-name-bin.tar.gz                           
my-final-name/root/bin.xml
{code}

{code}
$ tar xfvj target/my-final-name-bin.tar.bz2                            
my-final-name/root/bin.xml
{code}

Directory 'my-final-name' is missing using version 2.5.1.

> Plugin no longer prepends final name when packaging files specified using 
> 'files/file' elements.
> ------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-733
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-733
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>         Environment: $ mvn -version
> Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 
> 2014-08-11T22:58:10+02:00)
> Java version: 1.7.0_65, vendor: Oracle Corporation
> Default locale: de_DE, platform encoding: UTF-8
>            Reporter: Christian Schulte
>         Attachments: MASSEMBLY-733.zip
>
>




--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to