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.
