Hi All,
I have a problem with the assembly plug-in.
My project builds a war application but the output should be a zip file
with the following structure:
/webapp/
myapp.war
/config
configFile1.xml
configFile2.xml
configFile3.xml
I'm using the following assembly descriptor:
<assembly>
<id>bin</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>src/main/resources/bean</directory>
<outputDirectory>config</outputDirectory>
<includes>
<include>**/*.*</include>
</includes>
</fileSet>
<fileSet>
<directory>target</directory>
<outputDirectory>webapp</outputDirectory>
<includes>
<include>*.war</include>
</includes>
</fileSet>
</fileSets>
</assembly>
Using that descriptor, the output file is a zip file but i need a
different extension. I mean, I need a zip file (as format) with
extension "s4j".
How can i do to obtain that ?
Moreover, using the above descriptor I obtain a zip file that contains:
/myartifactid
/webapp
myapp.war
/config
*.xml
How can I remove the first level "myartifactid" ?
Thanks in advance.
Ste
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]