You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sonar, Nishant" <ni...@wachovia.com> on 2007/09/12 16:48:38 UTC
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
RE: Assembly Plugin Error : appXML attribute required
Posted by "Sonar, Nishant" <ni...@wachovia.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org