maven-assembly-plugin

what is the difference between maven release and maven assemblies plugins?

Question says it all, I believe. Please and thank you GC ...

How to create master install folder with maven

Im trying to setup maven to assemble all my build artifacts into a central distribution folder. to help with explainations, ive uploaded a sample project here This is a simple multi-module project with 2 j2ee components, each of those has a war, and ear sub-project. If you comment out the assembly plugin in the top level pom, everythi...

In a Maven multi-modules project, is it possible to apply the assembly plug-in in a recursive manner?

I have a multi-module Maven project, and I would like to assemble together artifacts created by running the assembly plugin on individual modules. Is this possible? ...

Set classpath in manifest.mf to access config files outside an executable jar.

I'm building an executable jar for a maven java project I have. It works great but I have a problem in that I want my config directory to live outside the jar so that I can change things easily if needed. I've got to the point where I have the jar being built without the config include and the the config directory is placed in the same ...

how to add arbitrary information in manifest from maven assembly plugin

Hi, i use the assembly plugin to create a uber jar from several maven artifacts. Now I like to add some company specific entries into the Manifest of the created assembly jar. But how ? the archive element doesnt allow arbitrary elements (or is there a way to add foobar: tutu inside the archive tag ?) also in addition with maven-jar...

How to attach an artifact with assembly-plugin during custom lifecycle

Hello, i'm trying to create a plugin with a custom lifecycle : /** * @goal my-goal * @execute lifecycle="my-custom-lifecycle" phase="attach-foo" */ public class MyMojo extends AbstractMojo { ... with src/main/resources/META-INF/maven/lifecycle.xml file : <lifecycles> <lifecycle> <id>attach-foo</id> <phases> <phas...

How do I make a WAR archive produced with maven-assembly-plugin available for other projects' unit tests?

My problem consists of two maven projects, a server project A and a client project B. A uses maven-assembly-plugin to produce several variants of A, where one variant is a WAR archive. The problem I am facing relates to the test-driven development of B; how can I make the WAR archive produced in project A accessible/addressable from unit...

maven multi-module assembly

Hi, I have a multi-module maven project, and I'm trying to create an assembly for the project. The assembly should be a zip file, including all of the jars from the dependent projects as well as all of the resources from those projects (this is for legacy support reasons - I know this isn't a good practice, but in this case, we really c...

Maven - resource filtering : implications of the @ symbol in resource files

I am using the Maven assembly plugin to prepare some configuration artifacts for different environments, and I am using resource filtering to substitute parameter values. I came across a weird behaviour where I had a property file with the contents as follows: ########################### # [email protected] # ################...

Maven war plugin not able to exlude libs in exploded war format..

Hi, I am using maven war plugin to exclude some common jar and put them in the classpath. I am able to generate war file properly which excludes specified libs and add them in the classpath but exploded war directory still contains excluded libararies. How can I generate exploded war file which use configuration of maven war plugin. ...