Maven’s assembly plugin enables the creation of a big jar including all dependencies with descriptorRef jar-with-dependencies.
How can i exclude all pom.xml files of the included dependencies?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to to your project and change the configuration of the maven-jar-plugin which is configured by default to add the pom.xml file to the generated jar…The archive configuration for the maven-jar-plugin would be the right choice. Best is to create an pluginManagement section and do the configuration for maven-jar-plugin. But i don’t understand why this is a big issue.