Discussion:
Maven assembly plugin outputDirectory cannot contain an extension
Glenn Silverman
2011-11-23 17:35:12 UTC
Permalink
Help! I have a fileSet element in my assembly.bin that looks like this:



<fileSet>

<directory>resources/running.war</directory>

<outputDirectory>deploy/running.war</outputDirectory>

<includes>

<include>**/*</include>

</includes>

</fileSet>



However, instead of putting the files in deploy/running.war, the plugin
puts it in deploy/running, leaving off the extension.

I need the extension on the output directory. Is there any way to do
that using the assembly plugin.
Karl Heinz Marbaise
2011-11-23 17:48:34 UTC
Permalink
Hi,

have you tried to add a supplemental slash in outputDirectory ?

Kind regards
Karl Heinz Marbaise

-----
Kind regards
Karl Heinz Marbaise
----
http://www.soebes.de
http://www.skmwiki.de
http://supose.org/wiki/supose
--
View this message in context: http://maven.40175.n5.nabble.com/Maven-assembly-plugin-outputDirectory-cannot-contain-an-extension-tp5017443p5017462.html
Sent from the Maven - Users mailing list archive at Nabble.com.
glennsilverman
2011-11-23 17:46:22 UTC
Permalink
I have a fileSet element in my assembly.bin that looks like this:


resources/running.war
deploy/running.war

**/*



However, instead of putting the files in deploy/running.war, the plugin puts
it in deploy/running, leaving off the extension. I need the extension on the
output directory. Is there any way to do that using the assembly plugin.

For reference, I am using maven 3.0.3 and assembly plugin version 2.2.1.

--
View this message in context: http://maven.40175.n5.nabble.com/Maven-assembly-plugin-outputDirectory-cannot-contain-an-extension-tp5017452p5017452.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Loading...