maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Sand <rs...@idfconnect.com>
Subject RE: need filesystem-level operations in assembly plugin
Date Thu, 12 Sep 2013 04:02:14 GMT
That worked like a charm, thanks Michael!

Best regards,

Richard

-----Original Message-----
From: Michael-O [mailto:1983-01-06@gmx.net]
Sent: Wednesday, September 11, 2013 1:43 AM
To: Maven Users List
Subject: Re: need filesystem-level operations in assembly plugin

Am 2013-09-11 07:12, schrieb Richard Sand:
> Hi all - I'm using maven-assembly-plugin to create zip distributions
> of our web application. It takes in the Apache Tomcat zip artifact,
> and the war artifact for the app, and creates an assembly.
>
> There are a couple of file operations I haven't figured out how to do
yet.
> For example, Tomcat unzips to a folder called "apache-tomcat-7.0.42",
> which I want to rename to just "tomcat". I figured id use the exec
> plugin to fork a "rm" command, which I guess will work in theory but
> seems shoddy.
>
> Does anyone support having some "swiss army knife" file manipulation
> capabilities (at least rename & move) in the assembly plugin?

If you intend to rebundle Tomcat, use the dependency plugin which will
unpack [1] the zip in target and then you can readd it to your assembly.

Michael

[1]
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message