Hello, I´ve a problem using maven assembly plugin.

I´m using my own assembly descriptor:

<assembly xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 
http://maven.apache.org/xsd/assembly-1.1.0.xsd";>
  <id>updateZip</id>
  <formats>
    <format>zip</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
        <outputDirectory>${artifactId}.war</outputDirectory>
        <directory>${project.build.directory}</directory>
            <excludes>
                <exclude>*.metadata</exclude>
                <exclude>*.zip</exclude>
                <exclude>maven-archiver</exclude>
                <exclude>archive-tmp</exclude>
                <exclude>${artifactId}.jar</exclude>
            </excludes>
    </fileSet>
    <fileSet>
        <outputDirectory>${artifactId}.war</outputDirectory>
        <directory>WebContent</directory>
            <excludes>
                <exclude>*.metadata</exclude>
            </excludes>
    </fileSet>
  </fileSets>
</assembly>

This descriptor packages the app in a zip archive.

I´m generating a changes package in a zip file that allow me to deploy WAS 
update zips of an application deployed in WAS 6.0.

The problem is that the zip format of the asembly plugin store the zip y a 
temp folder and the zip is not generated cleaned everytime. I need to 
generate a clean zip everytime with the actual changes only, without 
previous changes.

How can I resolve this problem??

Cheers

PD: Excuse me for my bad english!!!






Visítenos en:  www.lineadirecta.com  

"Este mensaje y los documentos que, en su caso, lleve anexos, pueden contener 
información confidencial. Por ello, se informa a quien lo reciba por error que 
la información contenida en el mismo es reservada y su uso no autorizado está 
prohibido legalmente, por lo que en tal caso le rogamos se abstenga de realizar 
copias del mensaje, leerlo, remitirlo o difundirlo y proceda a borrarlo 
inmediatamente." 

"This message is intended only for the use of the individual to whom it is 
addressed and may contain information that is confidential. If you have 
received this communication, by error, you are hereby notified that any 
distribution or copying of this communication is prohibited."   

Reply via email to