RiotGamesMinions / riot-redline-plugin

An operating system agnostic Maven plugin for creating RPMs.
Apache License 2.0
6 stars 7 forks source link

Tree structure is flattened when mapping a directory #7

Closed TorstenS73 closed 10 years ago

TorstenS73 commented 10 years ago

Suppose you're using in your POM something like:

<mapping>
    <directory>/usr/share/whatever</directory>
        <sources>
            <source>${project.basedir}/whatever</source>
        </sources>
</mapping>

In case there is a structure like

whatever/fileA
whatever/foo/fileB
whatever/foo/deeper/fileC

it will get mapped to

whatever/fileA
whatever/foo/fileB
whatever/foo/fileC

i.e. any tree like structure will be flattened to only one level deep.

TorstenS73 commented 10 years ago

Fix has been merged (thanks), closing the issue.