> Please paste your plugin definition in your pom.

not sure what you mean by that, there is not much config here.

What you pasted was what I was after.


This works

       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <version>2.1</version>
             <configuration>
               <descriptors>
                 <descriptor>src/main/assembly/server.xml</descriptor>
               </descriptors>
             </configuration>
       </plugin>

and this gives the "No assembly descriptors found." error

  <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <version>2.1</version>
         <executions>
           <execution>
             <id></id>
             <phase></phase>
             <goals/>
             <configuration>
               <descriptors>
                 <descriptor>src/main/assembly/server.xml</descriptor>
               </descriptors>
             </configuration>
           </execution>
         </executions>
       </plugin>

Have you removed the values in id, phase, goals for emailing? Or is
that what you have defined in your pom.xml?

If they are blank, then they needs values, try:

           <execution>
             <id>assemble-server</id>
             <goals>
               <goal>single</goal>
             </goals>
             <configuration>
               <descriptors>
                 <descriptor>src/main/assembly/server.xml</descriptor>
               </descriptors>
             </configuration>
           </execution>
           <execution>
             <id>assemble-client</id>
             <goals>
               <goal>single</goal>
             </goals>
             <configuration>
               <descriptors>
                 <descriptor>src/main/assembly/client.xml</descriptor>
               </descriptors>
             </configuration>
           </execution>

Then if this works, and runs the assembly for each the client.xml and
server.xml you can then customize each one with the values you wanted.

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

Reply via email to