Hi,
Here's the assembly.xml
<assembly>
      <id>v${provided-version}</id>
      <formats>
          <format>zip</format>
      </formats>
      <includeBaseDirectory>false</includeBaseDirectory>
      <moduleSets>
      <moduleSet>
          <includes>
                  <include>com.ear:project-ear</include>
           </includes>
           <binaries>
                  <unpack>false</unpack>
           </binaries>
      </moduleSet>
      </moduleSets>
      <files>
            <file>
            <source>${basedir}/../autodeployment/Config.xml</source>
          </file>
      <file>
            <source>C:/Temp/x.jar</source>
      </file>
      <file>
            <source>C:/Temp/y.jar</source>
      </file>
      </files>
</assembly>

Here´s the plugin definition

<plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <version>2.1</version>
      <configuration>
      <descriptors>
          <descriptor>assembly.xml</descriptor>
      </descriptors>
      <finalName>package-all</finalName>
      <outputDirectory>c:\temp\deploy</outputDirectory>
      <!-- workDirectory>target/assembly/work</workDirectory -->
      </configuration>
</plugin>

i call
mvn clean package assembly:assembly
Hope this helps



----- Original Message ----
From: Wendy Smoak <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>
Sent: Thursday, August 14, 2008 7:23:11 AM
Subject: Re: maven assembly plugin does not create actual zip

On Wed, Aug 13, 2008 at 10:12 PM, maarten roosendaal
<[EMAIL PROTECTED]> wrote:
> I'm trying to create a relative simple .zip file with the assembly plugin but 
> all i get is a directory structure with the correct files., not an actual zip 
> file.
> I've set <format> to zip but it does not seem to work. Any suggestions?

We'll probably need to see the assembly plugin configuration to be of
much help.  And what command are you executing?

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


      

Reply via email to