You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by to...@gi-de.com on 2008/03/10 21:36:15 UTC

. needed in assembly

Hi, 

in Windows XP it seems to be necessary to configure the outputDirectory in 
a <file> element with a dot like

<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/assembly-1.0.0.xsd" xmlns="
http://maven.apache.org/POM/4.0.0">

        <formats>
          <format>zip</format>
        </formats>

        <includeBaseDirectory>false</includeBaseDirectory>
        <files>
                <file>
                        <source>src/main/config/update-db2.bat</source>
                        <filtered>true</filtered>
                        <outputDirectory>.</outputDirectory>
                </file>

to work properly in an assembly (

Otherwise, the created zip-File will not unpack as expected !
Without the <outputDirectory>.</outputDirectory> all files will be 
unpacked to the current <Root> directory.

I do the unpacking with dependency:unpack


Am I doing something wrong?
Help appreciated, 

Torsten