I think that is it because EAR assembling is not implemented so far?

Regards,
Nishant Sonar

-----Original Message-----
From: Sonar, Nishant 
Sent: Wednesday, September 12, 2007 10:49 AM
To: Maven Users List
Subject: Assembly Plugin Error : appXML attribute required

Hi

 

Can anyone help me?

 

I am receiving following error with assembly plug-in

 

 

Failed to create assembly: Error creating assembly archive: appxml
attribute is required

 

Here's my descriptor file

 

<assembly>

      <id>dist</id>

      <formats>

            <format>ear</format>

      </formats>

      <fileSets>

            <fileSet>

                  <directory>.</directory>

                  <outputDirectory>

                        target\generated-resources\ear

                  </outputDirectory>

                  <includes>

                        <include>

 
target\generated-resources\war\SimpleWebService.war

                        </include>

                        <include>*.xml</include>

                  </includes>

            </fileSet>

      </fileSets>

</assembly>

 

And plug-in in POM  

 

<plugin>

      <artifactId>maven-assembly-plugin</artifactId>

      <executions>

            <execution>

                  <phase>generate-test-sources</phase>

                  <goals>

                        <goal>assembly</goal>

                  </goals>

                  <configuration>

                        <descriptors>

                              <descriptor>

                                    assembly-descriptor.xml

                              </descriptor>

                        </descriptors>

                  </configuration>

            </execution>

      </executions>

</plugin>

 

What is the appXml attribute? I didn't find any in side my descriptor
file.

 

Regards,

Nishant Sonar


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

Reply via email to