Barrie,

And you are sure these files exist?

yes

D:\projekte\template\templatePom-trunk>dir src\main\assembly
..
14.01.2007  11:03               884 client.xml
14.01.2007  11:04               886 server.xml

remember it works without <executions>.

Bernd




I have the following in my pom and it correctly runs both the "bin"
and "project" assemblies:

     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-assembly-plugin</artifactId>
       <executions>
         <execution>
           <id>assembly:package-bin</id>
           <phase>package</phase>
           <goals>
             <!--
               Work around for http://jira.codehaus.org/browse/MASSEMBLY-97
               as the goal should be attached.
             -->
             <goal>single</goal>
           </goals>
           <configuration>
             <descriptors>
               <descriptor>
                 src/main/assembly/bin.xml
               </descriptor>
             </descriptors>
           </configuration>
         </execution>
         <execution>
           <id>assembly:package-project</id>
           <phase>package</phase>
           <goals>
             <!--
               Work around for http://jira.codehaus.org/browse/MASSEMBLY-97
               as the goal should be attached.
             -->
             <goal>single</goal>
           </goals>
           <configuration>
             <descriptors>
               <!-- Available as a predefined descriptor in 2.2 -->
               <descriptor>
                 src/main/assembly/project.xml
               </descriptor>
             </descriptors>
           </configuration>
         </execution>
       </executions>
     </plugin>

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



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

Reply via email to