Questions tagged [maven-assembly-plugin]

The Assembly Plugin for Maven is primarily intended to allow users to aggregate the project output along with its dependencies, modules, site documentation, and other files into a single distributable archive.

The maven-assembly-plugin supports creating of different kind of archives like zip, tar, tar.gz etc. using the assembly:single goal. One can include not only project resources, but also dependencies and arbitrary content, making this a very versatile plugin.

More information on the Maven Assembly Plugin can be found at its home page.

1088 questions
-1
votes
2 answers

How to solve Unrecognized Tag error in Assembly Plugin

I am working on Maven Assembly Project and i have no errors at all in Project ,i used Eclipse for this but when i build using Goal-clean package assembly:single or mvn package then i got Build failure. SLF4J: Failed to load class…
Pranav
  • 4,172
  • 3
  • 30
  • 31
-1
votes
1 answer

How to create a runnable jar with dependency jar in it

I want to create a runnable jar using the below pom.xml and i dont get the expected jar. Please do the needful.
Karthick
  • 79
  • 1
  • 2
  • 7
-1
votes
1 answer

How to exclude META-INFO folder when assembling jar package

I am using maven assembly plugin to assemble a hadoop package with lots of dependencies jars. And in the dependencies there's lots of META-INFO folder which cause errors when I unpacking it. I want to exclude these META-INFO folder, how can I do…
zjffdu
  • 25,496
  • 45
  • 109
  • 159
-2
votes
1 answer

How does Maven only package referenced classes?

Maven 3. 2 modules: M1 and M2 There is a class in M2 named B.class which will reference A.class, A.class is in the first module M1. M1 has many classes, such as 100 classes as example. When I execute command under M2, is it possible only package…
-2
votes
1 answer

Maven install assembly exclusion

In my Maven project, I am using the maven-assembly-plugin bound to the package phase to create a distribution archive (zip) of the project. When I call mvn clean install to build & install the project, this archive gets installed into my local…
-2
votes
1 answer

How To Create Different Flavor Of Build with Maven

I wants to build my anndroid project with maven. There are 3 projects Project - A (jar file ) Project - B (jar file ) Project - C (sdk package) Project C is depended on B Project B is depended on A With maven I wants to release two flavor of by…
user4571931
-3
votes
1 answer

How to script maven commands in Eclipse

I have a maven project in Eclipse with a bunch of local project dependencies. Building with the Maven assembly plugin or shade plugin is a pain because I first have to build and install all of the local project dependencies before I can build my…
Andy
  • 7,885
  • 5
  • 55
  • 61
-3
votes
1 answer

maven assembly , how to specify the class i want to packaged in my jar

I need to use the plugin maven assembly from wrap one class of my application in a jar. when i use maven, the plugin assembly package all class in my package in target jar. how to specify the class i want to packaged in my jar.
1 2 3
72
73