Hi,

Have you guys made the same experience with the directory-single goal of the 
assembly plugin? It is supposed to for the assembly plugin to ignore the 
format. The implication of this goal would be that the assembly plugin could be 
used to store artifacts in a specific directory.

Now what i observe is that the directory-single automatically uses the dir 
format. Is that normal? Am i doing something wrong? Or is that a bug?


Below are my plugin declaration in the POM and the relate descriptor. Any input 
would be much appreciated.

Klausy Mausy.

      <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <executions>
               <execution>
                   <id>package</id>
                   <goals>
                        <goal>directory-single</goal>
                   </goals>
                   <phase>package</phase>
               </execution>
           </executions>
           <configuration>
               <appendAssemblyId>false</appendAssemblyId>
               <finalName>classes</finalName>
               <descriptors>
                       <descriptor>descriptor.xml</descriptor>
               </descriptors>
           </configuration>
       </plugin>


  <assembly>
    <files>
       <file>
               <source>${repository-path}</source>
               <outputDirectory>/</outputDirectory>
               <filtered>true</filtered>
               <destName>repository.xml</destName>
       </file>
   </files>
   <fileSets>
       <fileSet>
               <directory>src/main/resources</directory>
               <outputDirectory>/</outputDirectory>
       </fileSet>
       <fileSet>
                <directory>${project.build.directory}</directory>
       </fileSet>
  </fileSets>
 </assembly>
-- 
DSL-Preisknaller: DSL Komplettpakete von GMX schon für 
16,99 Euro mtl.!* Hier klicken: http://portal.gmx.net/de/go/dsl02

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to