Strange behavior with Assembly Plugin's directory-single goal

View: New views
1 Messages — Rating Filter:   Alert me  

Strange behavior with Assembly Plugin's directory-single goal

by Klaus L'Imbecile :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: users-unsubscribe@...
For additional commands, e-mail: users-help@...