RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Matt Walsh
To: users@maven.apache.org Subject: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file I've multi module project and using maven's assembly plugin to zip the project's artifact. Proj +Module A pom.xml +Module B pom.xml

RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Pankaj
-- View this message in context: http://maven.40175.n5.nabble.com/Maven-Assembly-plugin-Multi-module-project-source-and-javadoc-not-getting-added-to-zip-file-tp5708932p5708936.html Sent from the Maven - Users mailing list archive at Nabble.com

RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Matt Walsh
, as in *:maven-*. So maybe groupA:A:jar:*:* ? -Original Message- From: Pankaj [mailto:pankaji...@rediffmail.com] Sent: Thursday, May 17, 2012 1:31 PM To: users@maven.apache.org Subject: RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

Re: maven-assembly-plugin causing modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
I have confirmed that my weird problem of building the multi-module project a second time is happening due to the maven-assembly-plugin. If I configure the pom for last (problem) modules to not bind maven-assembly-plugin to any goal then the build happens once and all is well. So what would

Re: maven-assembly-plugin causing modules in multi-module project being build twice

2012-05-08 Thread Wayne Fay
So what would cause the maven-assembly-plugin to build my multi-module project again? Note that a few of the sub-modules of the root / parent pom are also dependencies of the module with the maven-assembly-plugin and used in dependencySets of the assembly.xml file. What do your pom.xml

Re: NullPointerException in maven assembly plugin

2012-04-25 Thread ernsyn
I had the same issue and after some digging, I found out the NPE was caused by mirrors/mirrors tag in my settings.xml. I removed that entry and the NPE is gone. Hope this helps. -- View this message in context: http://maven.40175.n5.nabble.com/NullPointerException-in-maven-assembly-plugin

Re: Question about Maven Assembly Plugin

2012-04-18 Thread Anders Hammar
] [INFO] [INFO] --- maven-assembly-plugin:2.3:single (default-cli) @ tutorial --- *[WARNING] Cannot include project artifact: com.company:tutorial:jar:1.0-SNAPSHOT; it doesn't have an associated file or directory.* [INFO] META-INF/ already added

Re: Question about Maven Assembly Plugin

2012-04-18 Thread QL 983
fraterql...@gmail.com wrote: Hi. I am writing a little tutorial in my company about the use of the Maven Assembly Plugin to build a executable jar, with all dependencies inside it. When I was using Maven 2.2.1, the following would done the job: ... build plugins

Re: Question about Maven Assembly Plugin

2012-04-18 Thread Anders Hammar
and...@hammar.net wrote: I think the solution is to set useProjectArtifact to false in the assembly descriptor. /Anders On Tue, Apr 17, 2012 at 11:44, QL 983 fraterql...@gmail.com wrote: Hi. I am writing a little tutorial in my company about the use of the Maven Assembly

Re: Question about Maven Assembly Plugin

2012-04-18 Thread Curtis Rueden
...@gmail.com wrote: Hi. I am writing a little tutorial in my company about the use of the Maven Assembly Plugin to build a executable jar, with all dependencies inside it. When I was using Maven 2.2.1, the following would done the job: ... build plugins

Question about Maven Assembly Plugin

2012-04-17 Thread QL 983
Hi. I am writing a little tutorial in my company about the use of the Maven Assembly Plugin to build a executable jar, with all dependencies inside it. When I was using Maven 2.2.1, the following would done the job: ... build plugins ... plugin artifactIdmaven-assembly-plugin

Re: Question about Maven Assembly Plugin

2012-04-17 Thread Anders Hammar
I think the solution is to set useProjectArtifact to false in the assembly descriptor. /Anders On Tue, Apr 17, 2012 at 11:44, QL 983 fraterql...@gmail.com wrote: Hi. I am writing a little tutorial in my company about the use of the Maven Assembly Plugin to build a executable jar, with all

Re: Question about Maven Assembly Plugin

2012-04-17 Thread QL 983
is to set useProjectArtifact to false in the assembly descriptor. /Anders On Tue, Apr 17, 2012 at 11:44, QL 983 fraterql...@gmail.com wrote: Hi. I am writing a little tutorial in my company about the use of the Maven Assembly Plugin to build a executable jar, with all dependencies

Re: Execute maven-assembly-plugin twice during package phase

2012-02-23 Thread John Patrick
POM file in this post. Thanks, PY -- View this message in context: http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during-package-phase-tp5505700p5505700.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Execute maven-assembly-plugin twice during package phase

2012-02-23 Thread pierre46
help.effective Thanks again, PY -- View this message in context: http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during-package-phase-tp5505700p5509866.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Execute maven-assembly-plugin twice during package phase

2012-02-23 Thread Anders Hammar
/distribution.xml distribution.xml Here is the result of the command mvn help:effective-pom : http://maven.40175.n5.nabble.com/file/n5509866/help.effective help.effective Thanks again, PY -- View this message in context: http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during

Execute maven-assembly-plugin twice during package phase

2012-02-22 Thread pierre46
this message in context: http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during-package-phase-tp5505700p5505700.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Execute maven-assembly-plugin twice during package phase

2012-02-22 Thread Anders Hammar
POM file in this post. Thanks, PY -- View this message in context: http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during-package-phase-tp5505700p5505700.html Sent from the Maven - Users mailing list archive at Nabble.com

[ANN] Maven Assembly Plugin 2.3 Released

2012-02-01 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.3 This plugin allows the user to create customized archives based on their project and its dependencies. For example, the assembly plugin is commonly used to create distribution archives for projects. http

Using Maven Assembly plugin to create tar file with absolute paths

2012-01-19 Thread Kevin Smathers
I would like to be able to create an assembly descriptor that will allow me to create a tar file of my project resources with an absolute path in the file name. I have tried something like the following: assembly iddeployment/id formats formattar/format

[ANN] Maven Assembly Plugin 2.2.2 Released

2011-12-02 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2.2 A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors. http://maven.apache.org/plugins/maven-assembly-plugin/ You should specify

Re: maven-assembly-plugin StackOverflowError

2011-12-01 Thread john.vint
. We increased it to 2m and the assembler plugin was able to handle the recursive stack size. -- View this message in context: http://maven.40175.n5.nabble.com/maven-assembly-plugin-StackOverflowError-tp3321403p5039058.html Sent from the Maven - Users mailing list archive at Nabble.com

Maven assembly plugin outputDirectory cannot contain an extension

2011-11-23 Thread Glenn Silverman
Help! I have a fileSet element in my assembly.bin that looks like this: fileSet directoryresources/running.war/directory outputDirectorydeploy/running.war/outputDirectory includes include**/*/include /includes /fileSet However, instead of putting the files in

Re: Maven assembly plugin outputDirectory cannot contain an extension

2011-11-23 Thread Karl Heinz Marbaise
Hi, have you tried to add a supplemental slash in outputDirectory ? Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Marbaise http://www.soebes.de http://www.skmwiki.de http://supose.org/wiki/supose -- View this message in context: http://maven.40175.n5.nabble.com/Maven

Maven assembly plugin outputDirectory cannot contain an extension

2011-11-23 Thread glennsilverman
directory. Is there any way to do that using the assembly plugin. For reference, I am using maven 3.0.3 and assembly plugin version 2.2.1. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-assembly-plugin-outputDirectory-cannot-contain-an-extension-tp5017452p5017452.html Sent

maven-assembly-plugin

2011-11-10 Thread Rémy
/tarLongFileMode /configuration /execution /executions /plugin Have you any idea ? Thanks. Rémy -- View this message in context: http://maven.40175.n5.nabble.com/maven-assembly-plugin-tp4981554p4981554.html Sent from the Maven - Users mailing list archive

maven-assembly-plugin, built-in/shared descriptors and custom classifier

2011-09-13 Thread Stevo Slavić
Hello Maven users, It seems that when using built-in descriptors there is no way to specify custom classifier for produced assembly. single mojo has classifier parameter but it is marked as deprecated. http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html If this can

Has v2.2.1 of Maven Assembly Plugin introduced a regression of bug MASSEMBLY-416 ?

2011-09-01 Thread Itai Frenkel
Hello there, I am a newbie maven user, looking at http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-2.2.1/src/main/resources/assemblies/jar-with-dependencies.xml?view=log . It looks like revision 1000938 has reverted the fix for MASSEMBLY-416 (revision 783036

maven-assembly-plugin for test?

2011-08-16 Thread Yang
I could use jar:test-jar to generate a jar for my test cases, but it lacks the dependencies is there a way to let maven-assembly-plugin generate a jar-with-dependencies for test classes? I looked into http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html nothing seems

RE: maven-assembly-plugin for test?

2011-08-16 Thread Robert Scholte
Aug 2011 12:54:54 -0700 Subject: maven-assembly-plugin for test? From: tedd...@gmail.com To: users@maven.apache.org I could use jar:test-jar to generate a jar for my test cases, but it lacks the dependencies is there a way to let maven-assembly-plugin generate a jar-with-dependencies

maven-assembly-plugin: [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs.

2011-06-28 Thread Marco Gerber
Hello everybody I have a multipart maven project in an osgi environment and got the following warning when maven-assembly-plugin runs: [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs. I also got many of the following

Re: maven-assembly-plugin StackOverflowError

2011-06-27 Thread john.vint
. -- View this message in context: http://maven.40175.n5.nabble.com/maven-assembly-plugin-StackOverflowError-tp3321403p4528687.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Antwort: maven assembly plugin - chmod question

2011-05-18 Thread Thorsten Heit
Hi, My assembly looks like: assembly idjar-with-dependencies/id formats formatzip/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets dependencySet unpackfalse/unpack scoperuntime/scope

maven assembly plugin - chmod question

2011-05-17 Thread Brian Wawok
Hi, I am trying to use the maven-assembly plugin like so: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId version2.2.1/version executions execution

Re: maven-assembly-plugin StackOverflowError

2011-04-29 Thread kueblboe
Hello, did you ever resolve this issue? I ran into the same problem using poi 3.7 and maven-assembly-plugin 2.2.1. Cheers, Manuel-- View this message in context: http://maven.40175.n5.nabble.com/maven-assembly-plugin-StackOverflowError-tp3321403p4358228.html Sent from the Maven - Users mailing

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
separate graphs are calculated each culminating in a war with other dependencies included inside as jars). Em 06-04-2011 15:46, Wendy Smoak escreveu: On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbonsadam.s.gibb...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven-assembly

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Adam Gibbons
are calculated each culminating in a war with other dependencies included inside as jars). Em 06-04-2011 15:46, Wendy Smoak escreveu: On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbonsadam.s.gibb...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven-assembly-plugin/which

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven-assembly-plugin/which states that it can create distributions in the war format. It *can* but you generally only need it if the war plugin is not doing what you need. When building a war, the war plugin

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
inside as jars). Em 06-04-2011 15:46, Wendy Smoak escreveu: On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbonsadam.s.gibb...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven-assembly-plugin/which states that it can create distributions in the war format. It *can

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
building separate graphs are calculated each culminating in a war with other dependencies included inside as jars). Em 06-04-2011 15:46, Wendy Smoak escreveu: On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbonsadam.s.gibb...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Wendy Smoak
On Thu, Apr 7, 2011 at 5:30 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: Alex, that's perfect! Exactly the kind of thing I'm trying to do myself. Would you mind posting your reactor, war, jar and parent poms please? I'd really like to see a working example of this in action. There are lots

The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Adam Gibbons
Hello all, I'm working on a large aggregate project that I'm trying to build 4 WAR files for. What I would like is a top level pom which upon doing mvn package it will produce my 4 WAR files by compiling all child modules AND jars. Each WAR file is comprised of a number of modules and some of

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Karl Heinz Marbaise
building the WARs I'd like all of the child modules and jars built/deployed. That sound's you're trying a wrong thing, cause a war should be produced by the Maven War Plugin and not via maven-assembly-plugin... I would suggest to use a structure like this: root +-- pom.xml +-- m1 +-- m2

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Adam Gibbons
/deployed when i build the war. i'd really like to know how to achieve this! Can I not use maven-assembly before building the war to solve the jar/deployment issue and/or build 4 war files from 1 maven invocation? Again, any real world working examples of this sort of project would be greatly

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Adam Gibbons
Also I refer you to: http://maven.apache.org/plugins/maven-assembly-plugin/which states that it can create distributions in the war format. On 6 April 2011 15:27, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi Adam, What I would like is a top level pom which upon doing mvn package

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 10:37 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: At the moment I don't think the jar modules get compiled/deployed when i build the war. What makes you say that? What exactly are you doing and what happens vs. what you expected to happen? Guessing, I'd say you

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven-assembly-plugin/which states that it can create distributions in the war format. It *can* but you generally only need it if the war plugin is not doing what

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Karl Heinz Marbaise
think the jar modules get compiled/deployed Do the modules beeing build by a single call from root ? have you tried mvn clean package ? Adam Gibbons wrote: i'd really like to know how to achieve this! Can I not use maven-assembly before building the war to solve the jar/deployment issue

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Adam Gibbons
Hi Wendy, Thank you for the helpful reply! I've never used Maven on this scale before and it's a steep learning curve! I've been trying to convert a massive multi module project from ant to maven these past two weeks, it all compiles and runs unit tests now, but i've had no end of problems

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Adam Gibbons
you tried mvn clean package ? Adam Gibbons wrote: i'd really like to know how to achieve this! Can I not use maven-assembly before building the war to solve the jar/deployment issue and/or build 4 war files from 1 maven invocation? Of course, but first you build must be working correctly

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 10:56 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: for example let's say i build my pdf-creation.war file. this depends on a tree-like structure of sub modules and some in-house jar files. It seems that when I build the war the sub module tree is pulled in and the

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 11:06 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: Yes,  +-- pom.xml  +-- m1 (j1, j2)  +-- m2 (j3)  +-- m3 (j1, j3)  +-- m4  +-- m5  +-- j1  +-- j2  +-- j3  +-- war1 (m1,m2,m3)  +-- war2 (m4)  +-- war3 (m5) This setup is effectively what I have so far.

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 11:07 AM, Wendy Smoak wsm...@gmail.com wrote: That's out of scope for Maven command line if you are *just* building the war from its subdirectory.  As I mentioned, it's something your IDE might handle for you. Hmm, well... maybe not. The output of mvn --help includes:

NullPointerException in maven assembly plugin

2011-03-14 Thread Wim Deblauwe
Hi, I am upgrading my projects from maven 2 to maven 3 and most of them are fine. However, there is one project that gives a NullPointerException during the assembly: maven builder waiting mavenExecutionResult exceptions not empty org.apache.maven.lifecycle.LifecycleExecutionException: Failed to

Re: NullPointerException in maven assembly plugin

2011-03-14 Thread Olivier Lamy
Hello, Do you have same exception outside Jenkins ? Thanks -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy 2011/3/14 Wim Deblauwe wim.debla...@gmail.com: Hi, I am upgrading my projects from maven 2 to maven 3 and most of them are fine. However, there is one project

Re: Using the new maven assembly goals

2011-03-14 Thread Marc Rohlfs
/plugins/maven-assembly-plugin/assembly-mojo.html [2] http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Using the new maven assembly goals

2011-03-14 Thread Rui Vilão
reason why no one else took care of Your question so far) Kind regards Marc [1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html [2] http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html

How to rename files in maven-assembly-plugin

2011-03-11 Thread Farrukh Najmi
My maven project manages files for an open standard and uses the maven-assembly-plugin to produce a zip for all artifacts for a specific version of the standard. The project files are stored in version control so naturally the spec document files that are in the assembly zip do not have

Re: How to rename files in maven-assembly-plugin

2011-03-11 Thread Farrukh Najmi
Found the answer at: http://stackoverflow.com/questions/3998596/renaming-resources-in-maven You can avoid the over head of Ant by using the Maven Assembly plugin http://maven.apache.org/plugins/maven-assembly-plugin/ and the file assembly descriptor http://maven.apache.org/plugins/maven

Using the new maven assembly goals

2011-03-11 Thread Rui Vilão
Hi all, I've been using the maven-assembly-plugin for long time and I noticed that some goals changed and are now deprecated. I've a multi-module project and I only want to run the assembly plugin on the parent. But if I run assembly:single (according to the plugin's page is the only one

Re: Using the new maven assembly goals

2011-03-11 Thread Marc Rohlfs
configuration located (in the main build section, in the pluginManagement section or even in a profile) - Are there any other occurrences of maven-assembly-plugin configuration in this POM? - Does Your POM inherit configuration from another parent POM? - Which Maven version do You use? - Which plugin

Re: Using the new maven assembly goals

2011-03-11 Thread Rui Vilão
. - Are there any other occurrences of maven-assembly-plugin configuration in this POM? Yes, in the pluginManagement section. I tried removing the occurrence from the pluginManagement with no success. Also I noticed that are some dependencies' POM that contains occurrences, like jetty, opencsv, netty, etc

[ANN] Maven Assembly Plugin 2.2.1 Released

2011-02-27 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2.1 Do you want to create a binary distribution from a Maven project that includes supporting scripts, configuration files, and all runtime dependencies? You need to use the Assembly Plugin to create

Re: setting permissions of basedir in maven-assembly-plugin

2011-02-16 Thread Steve Cohen
On 02/15/2011 12:58 PM, Steve Cohen wrote: I can set the permissions of fileSets and moduleSets and dependencySets in the maven-assembly-plugin, but it seems from the online documentation that I can't do so on the baseDir. What is more, when assembling a zip format, the perms default to 777

setting permissions of basedir in maven-assembly-plugin

2011-02-15 Thread Steve Cohen
I can set the permissions of fileSets and moduleSets and dependencySets in the maven-assembly-plugin, but it seems from the online documentation that I can't do so on the baseDir. What is more, when assembling a zip format, the perms default to 777. At least that's what I get when I unzip

maven-assembly-plugin and .folder

2011-02-10 Thread Hauschel Fred Robert
Hi all, I will zip a folder with the name '.metadata' but assembly plugin is ignoring me ;-) This is ignored: include.metadata/version.ini/include Does anybody have an idea, why assembly is ignoring '.metadata'? Or is it a feature of the fileset ?? fileSets fileSet

Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-04 Thread Frederic Camblor
Thanks for the prompt replies :-) I didn't precise I was not at an Application layer, but in a layer above. I confirm that on the Application layer, Spring answers really well about the problematic. For example, my packaging will produce a complete archive with tomcat bundled into it. In the

Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-03 Thread Frederic Camblor
Nobody has any piece of advice against these options ? :( On Sun, Jan 30, 2011 at 3:13 AM, Frederic Camblor fcamb...@gmail.comwrote: Hi all ! My context : - 1 pom Artefact - This artefact generate N zip artefacts via the maven-assembly-plugin. These N artefact are contextualized upon

Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-03 Thread Hilco Wijbenga
On 3 February 2011 15:48, Frederic Camblor fcamb...@gmail.com wrote: Nobody has any piece of advice against these options ? :( N artifacts is (as I think you've already discovered) not very scalable. :-) So take the configuration out of the WAR. Create a single WAR that can be (re)used by all

Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-03 Thread Wendy Smoak
On Thu, Feb 3, 2011 at 6:48 PM, Frederic Camblor fcamb...@gmail.com wrote: Nobody has any piece of advice against these options ? :( When you tell us you can't change anything, there's not much to say. Either move the configuration out of the war, or put it *all* in there and use something

Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-01-29 Thread Frederic Camblor
Hi all ! My context : - 1 pom Artefact - This artefact generate N zip artefacts via the maven-assembly-plugin. These N artefact are contextualized upon a target deployment environnment. - N = ~5 for the moment, but it can evolve depending on the number of environnment that will grow in the future

Maven Assembly Plug-in - Creating custom root folder inside TAR file

2011-01-20 Thread Tirumal Reddy Moolamalla
-assembly-plugin/assembly/1.1.2; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd; idbin/id formats formattar/format

RE: Maven Assembly Plug-in - Creating custom root folder inside TAR file

2011-01-20 Thread Tirumal Reddy Moolamalla
@maven.apache.org Subject: Maven Assembly Plug-in - Creating custom root folder inside TAR file Hi, I want to create a tar file using assembly plugin. I am able to do create a tar file but unable to customize the root folder. It always is project/module name. For example: My module name

Re: Maven Assembly Plug-in - Creating custom root folder inside TAR file

2011-01-20 Thread Marc Rohlfs
Simply add 'includeBaseDirectoryfalse/includeBaseDirectory' to Your 'bin.xml'. (See http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_assembly) On 20/01/11 12:33, Tirumal Reddy Moolamalla wrote: I need something like this. Example.tar -MyFolder But I am

Re: Maven Assembly Plug-in - Creating custom root folder inside TAR file

2011-01-20 Thread Marc Rohlfs
...@zensar.com] Sent: Thursday, January 20, 2011 5:04 PM To: users@maven.apache.org Subject: Maven Assembly Plug-in - Creating custom root folder inside TAR file Hi, I want to create a tar file using assembly plugin. I am able to do create a tar file but unable to customize the root folder. It always

Re: Tar pom.xml dependencies - Maven Assembly Plugin?

2011-01-11 Thread Anders Hammar
Yes, the assembly plugin is they way to do this. Declare the packaging as pom. There are several examples at the plugin's homepage, or google for some live ones. /Anders On Tue, Jan 11, 2011 at 02:11, jaybytez jayby...@yahoo.com wrote: Is the Maven Assembly Plugin the right way for me

RE: Tar pom.xml dependencies - Maven Assembly Plugin?

2011-01-11 Thread khaido
: http://maven.40175.n5.nabble.com/Tar-pom-xml-dependencies-Maven-Assembly-Plugin-tp3335797p3336789.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Tar pom.xml dependencies - Maven Assembly Plugin?

2011-01-11 Thread jaybytez
Thanks...I went through the example and created a bin.xml that represented the jar-with-dependencies example. assembly xmlns=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org

Re: Tar pom.xml dependencies - Maven Assembly Plugin?

2011-01-11 Thread Anders Hammar
: Thanks...I went through the example and created a bin.xml that represented the jar-with-dependencies example. assembly xmlns= http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http

Tar pom.xml dependencies - Maven Assembly Plugin?

2011-01-10 Thread jaybytez
Is the Maven Assembly Plugin the right way for me to define a pom.xml and be able to tar up the jars that are labeled as a dependency? The only way I know how to do this with my limited knowledge is to make the pom.xml a war and allow the war to pull all the dependency jars into the target

Re: maven-assembly-plugin StackOverflowError

2010-12-29 Thread john.vint
A quick update. Despite having other poi dependencies, this is the only one which causes the StackOverFlow. It occurs when the plugin imports the xsb's into the jar. -- View this message in context: http://maven.40175.n5.nabble.com/maven-assembly-plugin-StackOverflowError-tp3321403p3321427

maven assembly plugin 2.2 multimodule projects

2010-12-28 Thread Steve Cohen
I'm having a bit of difficulty with the multimodule project documentation for the 2.2 plugin. The basic idea, as expressed here: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html seems to be that you have a parent pom and a child pom

maven assembly - in folders

2010-12-22 Thread mickeys
i have created a project using maven assembly in multiproject. Right now I get all my jar, war, ear files into one file.tar.gz now my question is how do I go from this (as it is now in my file.tar.gz) a.jar b.jar c.jar d.war e.ear to this a_to_c/a.jar a_to_c/b.jar a_to_c/c.jar d_to_e

Re: maven assembly - in folders

2010-12-22 Thread Anders Hammar
Use outputDirectory in the assembly descriptor (in the appropriate section). /Anders On Wed, Dec 22, 2010 at 13:56, mickeys nero2...@hotmail.com wrote: i have created a project using maven assembly in multiproject. Right now I get all my jar, war, ear files into one file.tar.gz now my

Maven assembly

2010-12-20 Thread mickeys
I am trying to get the maven assembly working but I dont get it to work the way I want. I got a multi-project I got a root - under_root - project (pom.xml) Now I want ALL my modules latest releases in a tar.gz package. How do I do this the simplest way??? Where do I add the plugin

Re: Maven assembly

2010-12-20 Thread Anders Hammar
the maven assembly working but I dont get it to work the way I want. I got a multi-project I got a root - under_root - project (pom.xml) Now I want ALL my modules latest releases in a tar.gz package. How do I do this the simplest way??? Where do I add the plugin in (in which pom?) Will I

Problems with maven assembly and mar files

2010-12-20 Thread jbellver
Hello, i trying package my project with the plugin maven assembly. The command that i use is mvn assembly:assembly -DdescriptorId=jar-with-dependencies, but the following error is showed: [ERROR] BUILD ERROR [INFO

maven-assembly-plugin 2.2 flag useProjectArtifact (false) not working

2010-12-09 Thread fhomasp
.nabble.com/maven-assembly-plugin-2-2-flag-useProjectArtifact-false-not-working-tp3299078p3299078.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Problem with maven-assembly-plugin with shared assemblies after upgrading to version 2.2

2010-10-25 Thread Joakim Olsson
/1990/services/webservices/service-service-assurance/base-war-assembly.xml [snip] Regards, Joakim -- View this message in context: http://maven.40175.n5.nabble.com/Problem-with-maven-assembly-plugin-with-shared-assemblies-after-upgrading-to-version-2-2-tp3208708p3234946.html Sent

Re: Problem with maven-assembly-plugin with shared assemblies after upgrading to version 2.2

2010-10-24 Thread Kevin Calcagno
-with-maven-assembly-plugin-with-shared-assemblies-after-upgrading-to-version-2-2-tp3208708p3234946.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: [ANN] Maven Assembly Plugin 2.2 Released

2010-10-15 Thread Jesse Farinacci
Greetings, On Mon, Oct 11, 2010 at 12:11 PM, John Casey jdca...@apache.org wrote: http://maven.apache.org/plugins/maven-assembly-plugin/ The site still shows version 2.2-beta-5, not the updated 2.2 documentation. -Jesse -- There are 10 types of people in this world, those that can read

Problem with maven-assembly-plugin with shared assemblies after upgrading to version 2.2

2010-10-12 Thread Joakim Olsson
Hi, I have a problem using shared assemblies after upgrading from version 2.2-beta-5 to the newly released version 2.2. This is my configuration: plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-5/version executions execution

Re: Problem with maven-assembly-plugin with shared assemblies after upgrading to version 2.2

2010-10-12 Thread Patrick Aikens
I'm seeing this same problem with a previously working setup. On Tue, Oct 12, 2010 at 6:42 AM, Joakim Olsson joa...@unbound.se wrote: Hi, I have a problem using shared assemblies after upgrading from version 2.2-beta-5 to the newly released version 2.2. This is my configuration:      

[ANN] Maven Assembly Plugin 2.2 Released

2010-10-11 Thread John Casey
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2 This plugin allows the user to create customized archives based on their project and its dependencies. For example, the assembly plugin is commonly used to create distribution archives for projects

Re: Override 'provided' dependency in maven assembly?

2010-09-22 Thread Thomas Scheffler
the scope in the pom in question to 'runtime' the maven assembly is still not deploying the jar into the deployment zip. We tried to force it using an include tag in the dependencySet tag, but this only let to a message that the string didn't match. Even more strange - this worked well while the pom

Override 'provided' dependency in maven assembly?

2010-09-21 Thread Kai Hackemesser
Hi there, we have the case that we have a managed dependency to jug:jug.jar :provided in our managed dependency pom. Now one of our applications should include that jar as it gets deployed to a place where jug is not provided. When we set the scope in the pom in question to 'runtime' the maven

Re: Override 'provided' dependency in maven assembly?

2010-09-21 Thread Wayne Fay
we have the case that we have a managed dependency to jug:jug.jar :provided in our managed dependency pom. Now one of our applications should include that jar as it gets deployed to a place where jug is not provided. When we Did you try just setting it to compile? And explicitly mentioning it

Re: Override 'provided' dependency in maven assembly?

2010-09-21 Thread Kai Hackemesser
We tried it in the pom we want to build, but no success. The setting in the parent pom should stay untouched. 2010/9/22 Wayne Fay wayne...@gmail.com we have the case that we have a managed dependency to jug:jug.jar :provided in our managed dependency pom. Now one of our applications should

[maven-assembly-plugin] Using binaries from submodule instead of executing assembly again

2010-09-12 Thread M. Richey
Hi all, I've got a question regarding the assembly plugin. Assume we have three projetcs called A, B, C. Project B and C are modules of A. C is a multi module project itself. Both A and C uses the assembly plugin bind to the package phase. My problem is that each time executing mvn package on

Re: [maven-assembly-plugin] Using binaries from submodule instead of executing assembly again

2010-09-12 Thread Anders Hammar
If you execute mvn package on the aggregating project, all the modules will be built. That's how it works. If you don't want that, you need to move C outside of the aggregating project. You shouldn't bind the m-assembly-p in the A projects, but rather put it in a module of its own instead. That's

<    1   2   3   4   5   6   7   >