Tagged Questions

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.

I want to know if it is possible to exclude some resources from my maven project to be bundled within the jar file, either using the assembly or shade plugin. Note that I can do this by putting in the ...

I have a spring application that is working correctly in eclipse but when I generate a standalone jar with the maven assemble plugin and try to launch it, then I get a "cvc-complex-type.2.4.c" on all ...

I have a project A that has some dependencies in its POM.
A has a parent project B and a grand-parent project C.
When packaging A, using an assembly file, I'd like to put all necessary dependencies ...

I have some example RESTful client projects that go along with a RESTful Java web service I am working on. Basically, these projects should not be built but instead zipped up and included in the war ...

I'm using Apache Camel 2.14.0 and the Camel netty component to process several TCP routes. I use a ServerPipelineFactory with a customized DelimiterBasedFrameDecoder and a TcpToJsonProcessor to detect ...

I have a maven project with 3 classes. Each class has a main and needs to be build into its own executable jar and published to my Nexus repository. The main project artifact is getting published to ...

I would like to run Maven release so that it should perform an assembly:single for a sub module. I've included the assembly:single as part of the install of the sub module i.e. when you run install ...

I have a module and I am using maven-assembly-plugin to create an executable jar with dependencies. When I run install, the plugin prepends the name of the project ("vicinity") before the jar name and ...

I'm trying to use maven to build a jar but I keep getting the error
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project Application: ...

I am using mvn release-plugin and assembly-plugin to deploy jar with dependency. It works fine, when I use it with mvn release. It creates two files: normal XXX.jar and XXX.jar-with-dependencies.jar ...

I have a project which builds a war (no problem). And, that war needs to be packaged with a few shell scripts. Because that war contains properties files that vary from site-to-site, we can't simply ...

I customized an assembly filename using the finalName parameter. The assembly file built is named as expected in the build (target) directory : Batchs_${btbsr.trigramme}_V${project.version}_L1.0.zip, ...

I am hoping that someone may be able to explain this change in behaviour of the maven-assembly-plugin w.r.t. file permissions.
This was causing our Eclipse-based application to fail to launch as it ...

Using Maven I want to create 1) a JAR file for my current project with the current version included in the file name, myproject-version.jar, and 2) an overall artifact in tar.gzip format containing ...

I have the need to build a jar file, which contains a selection of individual class files from other sibling maven modules.
I've tried using the maven-assembly and the maven-jar-plugin's, but can't ...

I want to create a JAR file of my maven application. So to bundle the dependencies I have used the maven-assembly-plugin. But I want that the dependencies should go the lib/ folder and not anywhere ...