Error Creating Assembly Archive Jar-with-dependencies
Contents |
here for a quick overview of the site Help error creating assembly archive you must set at least one file Center Detailed answers to any questions you might have Meta maven assembly example Discuss the workings and policies of this site About Us Learn more about Stack maven assembly plugin zip example Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Maven-assembly-plugin Version
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up A zip file cannot include itself - Maven-assembly plugin up vote 3 down vote favorite I'm maven assembly include dependencies building a project using maven assembly plugin. But the process fail with the following error,(Here I pasted the error in jenkins. I checked without jenkins too.) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:29.792s [INFO] Finished at: Fri Mar 14 10:26:58 IST 2014 [INFO] Final Memory: 26M/75M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default) on project ExecutionBot: Failed to create assembly: Error creating assembly archive jar-with-dependencies: A zip file cannot include itself -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Configuration in pom.xml here for a quick overview of the site Help Center Detailed the following patterns were never triggered in this artifact inclusion filter answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the http://stackoverflow.com/questions/22396986/a-zip-file-cannot-include-itself-maven-assembly-plugin Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to prevent 'Error creating assembly archive distribution: A zip file cannot include itself' up vote 0 down vote favorite I have http://stackoverflow.com/questions/33945526/how-to-prevent-error-creating-assembly-archive-distribution-a-zip-file-cannot a multi module project and I want to make a zip with all sources (and other files). I use maven-assemble-plugin. I found a way with dependencySet, but I do not want add all my module sources (and later javadoc, too) as dependencies. I tried to use moduleSet, but I get an error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (make-zip) on project test-distribution: Failed to create assembly: Error creating assembly archive distribution: A zip file cannot include itself -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (make-zip) on project test-distribution: Failed to create assembly: Error creating assembly archive distribution: A zip file cannot include itself My pom.xml: Topics Assembly Descriptors ModuleSets Examples Examples Index Single Project Filtering Some Distribution Files Including/Excluding Artifacts Using Component Descriptors Using http://maven.apache.org/plugins/maven-assembly-plugin/usage.html Repositories Multimodule Projects Include Module Artifacts Include Module Sources Sharing Assembly Descriptors Project Documentation Project Information Project Reports Maven Projects Ant Tasks Archetype Doxia JXR Maven https://java.net/projects/hudson/lists/users/archive/2010-08/message/362 Parent POMs Plugins Plugin Testing Plugin Tools Resource Bundles SCM Shared Components Skins Surefire Wagon ASF How Apache Works Foundation Sponsoring Apache Thanks Usage To handle error creating filtering this version of Maven Assembly Plugin uses Maven Filtering 1.3. To handle archiving this version of Maven Assembly Plugin uses Maven Archiver 2.5. This document is intended to provide instructions for using the maven-assembly-plugin. In order for this discussion to be useful, it's critical to cover two topics: configuration of the error creating assembly plugin - both inside the POM and, where possible, from the command line - and the different execution styles. For the sake of clarity, we'll cover configuration before execution. Deprecation notice All goals except assembly:single have been deprecated. See the introduction page for more details. Configuration Getting started with the Assembly Plugin is pretty simple. If you want to use one of the prefabricated assembly descriptors, you configure which descriptor to use with the Mailing List Use Advanced Search to search the entire archive. error in hudson : Failed to create assembly: Error creating assembly archive jar-with-dependencies » Back to List Archive Chronological | Threaded « Previous Message Next » « Previous Thread Next » From: morlajb Error Creating Assembly Archive Jar With Dependencies Error In Opening Zip File
Maven-jar-plugin