It is hard to read the pom stuff that you posted.
It is possible that your assembly instructions might be specifying the tar that you are creating? If it is being created in the directory where your first tar is located and you are using wild cards, you could be asking the snake to eat its own tail.
Ron On 25/09/2013 10:17 AM, navjotece19 wrote:
Hi All,I have created a tar(say project.tar) using maven assembly
descriptor.I need to create one more tar(say final.tar) file which would
contain the previously created tar (project.tar) along with one script
file.To do this 'm trying using two descriptors specified in pom.xml. One
descriptor is for project.tar and second for final.tar .While doing so I'm
facing the following error."[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli) on
project ede: Failed to create assembly: Error creating assembly archive bin:
A tar file cannot include itself. -> [Help
1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default-cli)
on project ede: Failed to create assembly: Error creating assembly archive
bin: *A tar file cannot include itself.* " My pom.xml file is...
org.apache.maven.plugins
maven-assembly-plugin 2.4
single
assembly/src.xml
assembly/final.xml
false
...==========================================2. I've also tried changing
pom.xml file content as below....
org.apache.maven.plugins
maven-assembly-plugin 2.4
jar-with-dependencies
package
single
assembly/src.xml
assembly/final.xml
false
bin
package
single
assembly/final.xml
false
ede2
-->
...In this way, it's not able to locate the descriptors files.Could anyone
please guide me if 'm doing anything wrong?
--
View this message in context:
http://maven.40175.n5.nabble.com/Packing-one-tar-created-using-maven-assembly-into-another-tar-using-maven-assembly-tp5771832.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-- Ron Wheeler President Artifact Software Inc email: [email protected] skype: ronaldmwheeler phone: 866-970-2435, ext 102 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
