You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Orford, Ian" <Ia...@dkib.com> on 2007/04/13 10:52:17 UTC

M2: Strange problem with assembly plugin

Hi,

I have a project that creates a tar.gz deliverable that includes unix
shell scripts. In the assembly descriptor, I have:
    <fileSet>
      <directory>target/bin</directory>
      <outputDirectory>bin</outputDirectory> 
      <includes>
        <include>*.sh</include>
      </includes>
      <fileMode>0755</fileMode>
      <lineEnding>lf</lineEnding>
    </fileSet>

As you can see, I'm specifying the lineEnding.

When I deploy this from the project level it works fine.

However, when I deploy this from the parent level, the bin files get
included, but the lineEnding is not honoured.


Anyone encountered this before? Any suggestions?

Thanks, Ian


--
This e-mail is confidential and the information contained in it may be privileged.  It should not be read, copied or used by anyone other than the intended recipient.  If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person.  We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking.  Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies.  Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK.  Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.


Re: M2: Strange problem with assembly plugin

Posted by John Casey <ca...@gmail.com>.
looks like a bug in the line-ending filtration...that's a part I pretty much
carried straight over from 2.1 (IIRC), so it may have some bugs I didn't
see. Can you file it in JIRA?

http://jira.codehaus.org/browse/MASSEMBLY

Thanks,

John

On 4/13/07, Orford, Ian <Ia...@dkib.com> wrote:
>
> Hi,
>
> I have a project that creates a tar.gz deliverable that includes unix
> shell scripts. In the assembly descriptor, I have:
>     <fileSet>
>       <directory>target/bin</directory>
>       <outputDirectory>bin</outputDirectory>
>       <includes>
>         <include>*.sh</include>
>       </includes>
>       <fileMode>0755</fileMode>
>       <lineEnding>lf</lineEnding>
>     </fileSet>
>
> As you can see, I'm specifying the lineEnding.
>
> When I deploy this from the project level it works fine.
>
> However, when I deploy this from the parent level, the bin files get
> included, but the lineEnding is not honoured.
>
>
> Anyone encountered this before? Any suggestions?
>
> Thanks, Ian
>
>
> --
> This e-mail is confidential and the information contained in it may be
> privileged.  It should not be read, copied or used by anyone other than the
> intended recipient.  If you have received it in error, please contact the
> sender immediately by telephoning +44 (0)20 7623 8000 or by return email,
> and delete the e-mail and do not disclose its contents to any person.  We
> believe, but do not warrant, that this e-mail and any attachments are virus
> free, but you must take full responsibility for virus checking.  Please
> refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
> disclaimer statement and monitoring policy.
>
> Dresdner Kleinwort is the trading name of the investment banking division
> of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner
> Kleinwort Limited, Dresdner Kleinwort Securities Limited and their
> affiliated or associated companies.  Dresdner Bank AG is a company
> incorporated in Germany with limited liability and registered in England
> (registered no. FC007638, place of business 30 Gresham Street, London EC2V
> 7PG), and is authorised by the German Federal Financial Supervisory
> Authority and by the Financial Services Authority ('FSA') and regulated by
> the FSA for the conduct of designated business in the UK.  Dresdner
> Kleinwort Limited is a company incorporated in England (registered no.
> 551334, registered office 30 Gresham Street, London EC2V 7PG), and is
> authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited
> is a company incorporated in England (registered no. 1767419, registered
> office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated
> by the FSA.
>
>