Home > error reading > error reading assemblies no assembly descriptors found

Error Reading Assemblies No Assembly Descriptors Found

Contents

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss maven-assembly-plugin the workings and policies of this site About Us Learn more about mvn assembly Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow error reading assemblies no assembly descriptors found jar-with-dependencies Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each maven assembly descriptorref other. Join them; it only takes a minute: Sign up Error reading assemblies: No assembly descriptors found up vote 24 down vote favorite I get Error reading assemblies: No assembly descriptors found when building my project. I'm trying to set permissions for my .sh files and exclude a nasty .jar file that makes my application crash...I don't think the

Maven-assembly-plugin Usage

problem is about that though.... My maven-assembly plugin is added like this in my pom.xml file: maven-assembly-plugin 2.2.1 make-assembly package single src/main/assembly/src.xml My assembly descriptor looks like this: my-assembly-descriptor jar war ${project.build.directory} ${project.build.directory} *.sh 0755 spring-2.5.4.jar The structure in my project is: Interface - src - main - assembly - src.xml - pom.xml When trying to do Run as -> Debug as -> and then in goal putting assembly:single I get the same error. I tried in console, with assembly:assembly, and I got nothing. I even tried to put a wrong path to my assembly descriptor, but the error didn't change. When putting ${basedir}/ before the path to my assembly descriptor, I get the same. I have Ubuntu 10.10 Maverick Meerkat, and I'm working with Eclipse EE,... Thanks! assemblies maven-assembly-plugin share|improve this question edited May 18 '15 at 22:52 Martin Ser

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss

Maven-assembly-plugin Finalname

the workings and policies of this site About Us Learn more about maven-assembly-plugin latest version Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow maven assembly example Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each http://stackoverflow.com/questions/5183460/error-reading-assemblies-no-assembly-descriptors-found other. Join them; it only takes a minute: Sign up Why do I get “No assembly descriptors found.” error while building this project? up vote 0 down vote favorite 1 I have a little project written in Kotlin. When I run clean compile assembly:single install, I get following error message: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project http://stackoverflow.com/questions/36293625/why-do-i-get-no-assembly-descriptors-found-error-while-building-this-project alma-econsim: Error reading assemblies: No assembly descriptors found. -> [Help 1] My jar-with-dependencies.xml is located in src/main/assembly and referenced in pom.xml like this: maven-assembly-plugin 2.2-beta-5 assembly single package src/main/assembly/jar-with-dependencies.xml But I still get the error. How can I correct my project in order to be able to package it as jar with dependencies? java maven maven-3 kotlin maven-assembly-plugin share|improve this question asked Mar 29 at 19:38 DP_ 1,7641978164 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted +100 First use an uptodate version of maven-assembly-plugin and not an ancient version...Furthermore you should call it via mvn clean package cause you bound the maven-assembly-plugin to the package life cycle phase...if you try to do mvn ... assembly:single you are not calling the life cycle...Apart from that you would like to use jar-with-dependencies descriptor than you should do that like this: [...] [...]