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

2010-09-12 Thread M. Richey
Datum: Sun, 12 Sep 2010 18:40:40 +0200 Von: Anders Hammar and...@hammar.net An: Maven Users List users@maven.apache.org Betreff: Re: [maven-assembly-plugin] Using binaries from submodule instead of executing assembly again If you execute mvn package on the aggregating project, all

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

2010-09-12 Thread Anders Hammar
and...@hammar.net An: Maven Users List users@maven.apache.org Betreff: Re: [maven-assembly-plugin] Using binaries from submodule instead of executing assembly again 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

Maven-assembly-plugin: How to make the assembly the primary artifact

2010-07-01 Thread Andreas Sewe
Hi all, I have a project which should produce a ZIP, with all contents of ${project.build.outputDirect} put into a base directory within the ZIP. So far, the maven-assembly-plugin with includeBaseDirectory fits the bill perfectly. There is one issue, however, which I haven't been able

Re: Maven-assembly-plugin: How to make the assembly the primary artifact

2010-07-01 Thread Kalle Korhonen
-darmstadt.de wrote: Hi all, I have a project which should produce a ZIP, with all contents of ${project.build.outputDirect} put into a base directory within the ZIP. So far, the maven-assembly-plugin with includeBaseDirectory fits the bill perfectly. There is one issue, however, which I haven't

Re: Maven-assembly-plugin: How to make the assembly the primary artifact

2010-07-01 Thread Tamás Cservenák
of ${project.build.outputDirect} put into a base directory within the ZIP. So far, the maven-assembly-plugin with includeBaseDirectory fits the bill perfectly. There is one issue, however, which I haven't been able to solve: I can't get the plugin to make the produced assembly the *primary* artifact

Re: Maven-assembly-plugin: How to make the assembly the primary artifact

2010-07-01 Thread Anders Hammar
:56 AM, Andreas Sewe s...@st.informatik.tu-darmstadt.de wrote: Hi all, I have a project which should produce a ZIP, with all contents of ${project.build.outputDirect} put into a base directory within the ZIP. So far, the maven-assembly-plugin with includeBaseDirectory fits

Re: Maven-assembly-plugin: outputFileNameMapping and ${artifact.*}

2010-06-10 Thread Andreas Sewe
Hi all, here's a report of my progress on this issue, in case others find it useful: The maven-assembly-plugin uses an ObjectBasedValueSource to evaluate ${artifact.*} expressions with respect to the artifact's MavenProject (among other things). You can thus access the artifact's properties

Maven-assembly-plugin: outputFileNameMapping and ${artifact.*}

2010-06-09 Thread Andreas Sewe
Hi all, I am using the maven-assembly-plugin to copy some dependencies around. Unfortunately, I have to rename them in some fairly arbitrary fashion, i.e., the final name has nothing to do with the dependencies artifactId or groupId. (And no, I can't change that!) According to the Maven

maven-assembly-plugin manifestmainClass not producing a Main-Class in the Manifest

2010-06-09 Thread Ron Wheeler
I expected the following plug-in to produce a line in the Jar manifest Main-Class: com.artifact_software.carshistorycollector.CarsHistoryCollectorMain build plugins plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-5/version configuration archive manifest

Re: maven-assembly-plugin manifestmainClass not producing a Main-Class in the Manifest

2010-06-09 Thread Ron Wheeler
Solved As you may have guessed, I forgot to run the assembly step. This added a lot of things to the jar that I had overlooked as missing after the build. Sorry for the silly question. On 09/06/2010 1:17 PM, Ron Wheeler wrote: I expected the following plug-in to produce a line in the Jar

maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread jid1jid1
Hi, I need to add some scripts in my webapp and control filemods and line endings. Doing this with maven-assembly-plugin is easy: ... fileSets fileSet directoryscripts/directory outputDirectoryWEB-INF/scripts/outputDirectory includes

Re: maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread Karl Heinz Marbaise
in context: http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28755581.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread jid1jid1
will be reinventing the wheel. In any case thanks for the reply -- View this message in context: http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28756099.html Sent from the Maven - Users mailing list archive at Nabble.com

maven assembly question

2010-04-14 Thread amin sakka
Hi I use maven for the creation of my jars and it works very well. Now I want to create a zip file containing for example 2 jar (these jars are maven projects having many dependencies ). To do that, I use maven assembly plugin (i use jar-with-dependencies as descriptorRef, but in my zip

Including bouncycastle when using maven-assembly-plugin

2010-03-31 Thread Benjamin Damm
Hello folks, We're starting to use maven in our shop and for the most part the transition is going fairly well. There's a couple things we're stuck on though. One is the problem of assembling a jar from a collection of jars; if one of the collection is a JCE provider (Bouncycastle), the

problem attaching non-archived files with maven-assembly-plugin

2010-02-25 Thread Maring, Steven
I am trying to deploy plain-text files (specifically, a WSDL and XSD) as part of a project with pom packaging. I would like other developers to be able to directly reference the WSDL as deployed in our local Nexus repository. I have no difficulty deploying these with the zip format. However,

Re: problem attaching non-archived files with maven-assembly-plugin

2010-02-25 Thread Jörg Schaible
Hi Steven, Maring, Steven wrote at Donnerstag, 25. Februar 2010 14:29: I am trying to deploy plain-text files (specifically, a WSDL and XSD) as part of a project with pom packaging. I would like other developers to be able to directly reference the WSDL as deployed in our local Nexus

Re: Maven-Assembly-Plugin throwing (InvalidArtifactRTException).

2010-01-28 Thread Caio Formiga
Hello everybody, I solve my problem, but for that I had to changed the plugin version of maven-assembly-plugin again, this time I decide to 2.2-beta-2, so on follows my plugin config at pom.xml file. plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-2/version

add dependency using maven-assembly-plugin

2010-01-25 Thread Viggo Navarsete
Hi, is it possible to add a dependency (i.e a JDBC Connector for PostgreSQL) to an assembly using the maven-assembly-plugin by just providing the groupId, artifactId and version? I've tried to use the moduleSet, but with no luck. Any clue? Best regards, Viggo Navarsete

Specifying maven-assembly-plugin descriptors from separate profiles

2009-12-23 Thread Ricky Clarkson
Hi, I have one profile, windows, which configures the maven-assembly-plugin with the src/main/assembly/win32.xml assembly descriptor, and another profile, installer, which configures it with the src/main/assembly/executable.xml assembly descriptor. Unfortunately specifying -Pinstaller makes it so

Re: Specifying maven-assembly-plugin descriptors from separate profiles

2009-12-23 Thread Ricky Clarkson
, windows, which configures the maven-assembly-plugin with the src/main/assembly/win32.xml assembly descriptor, and another profile, installer, which configures it with the src/main/assembly/executable.xml assembly descriptor. Unfortunately specifying -Pinstaller makes it so that the effective

Re: maven assembly plugin - the artefact size is multiplied by 2

2009-12-15 Thread Jerome Lacoste
is multiplied by 2 in the destination folder.    I thought that it just makes a copy. double size sounds like it included the EAR + all the dependencies of the EAR. How are you using the maven assembly plugin exactly ? J

maven assembly plugin - the artefact size is multiplied by 2

2009-12-14 Thread le squere, vincent
Hello, I'm working on a multi-module project. This project contains an ear artifact, which is correctly generated. I'm also using maven-assembly-plugin (tried with version 2.2-beta-2 to 2.2-beta-4), to group all the artifact I've generated in a specific folder, call it destination

Re: maven assembly plugin - the artefact size is multiplied by 2

2009-12-14 Thread Wayne Fay
   But, when the size of my ear is more than 20Mo, the size is multiplied by 2 in the destination folder.    I thought that it just makes a copy. Use Winzip or similar to unpack the Ear and look at the contents. You can probably figure out what's going on with a little more information, but

Re: maven assembly plugin - the artefact size is multiplied by 2

2009-12-14 Thread le squere, vincent
I've tried to use winzip, 7-zip, and to extract with the jar command. It's always the same message, this archive is not a valid archive. So I can't see its contents. Just a precision, my assembly work fine on windows, the problem is just on debian. The JDK I use is 1.6.0_16-b01 But, when

[ANN] Maven Assembly Plugin 2.2-beta-5 Released

2009-12-13 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2-beta-5. This plugin is useful in creating project artifacts that have custom layouts. It also includes a set of predefined standard custom artifact types you can choose to create. For more information

Re: maven-assembly-plugin et dependencySet

2009-12-07 Thread Dirk Olmes
Rémy wrote: Hi, I've got a problem with the maven-assembly-plugin:2.2-beta-4 plugin. In the POM, I set a reference to a descriptor.xml's file and some dependencies. In the descriptor.xml file I defined dependencySets to spread dependencies in folders. I noticed that by using the element

Fwd: Urgent-kindly help in installing maven assembly plugin

2009-11-20 Thread Dipankar Das
-- Forwarded message -- From: Dipankar Das dipankar.dipnil2...@gmail.com Date: Fri, Nov 20, 2009 at 3:31 AM Subject: Urgent-kindly help in installing maven assembly plugin To: bri...@apache.org, br...@apache.org Dear Sir, I am using both of the following packages (apache-maven

Re: Urgent-kindly help in installing maven assembly plugin

2009-11-20 Thread Anders Hammar
...@gmail.comwrote: -- Forwarded message -- From: Dipankar Das dipankar.dipnil2...@gmail.com Date: Fri, Nov 20, 2009 at 3:31 AM Subject: Urgent-kindly help in installing maven assembly plugin To: bri...@apache.org, br...@apache.org Dear Sir, I am using both of the following packages

maven-assembly-plugin: referencing assembly id from component descriptor

2009-11-19 Thread Stevo Slavić
Hello Maven users, Is there a way to reference assembly id from component descriptor? Is it exposed as some property? Regards, Stevo.

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-18 Thread eyal edri
Finally it worked ! :) (thanks Alexander!) Summarizing: in order to create an executable JAR file that will depend on other libraries/jars from other internal project or external without including them inside the JAR's project: 1. use maven jar plugin to define the mail class in the manifest:

maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread eyal edri
Hi, i'm trying to figure out how can i create a working executable JAR that has dependencies (in-house maven projects plus external lib such as Log4J). I tried using the assembly plugin by creating a jar-with-dependencies. but this creates a big JAR with all the dependencies included. I want

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread Alexander
You could do this without assembly plugin. Just copy all dependencies with maven-dependency-plugin to some folder and than add this folder as classpath prefix in maven-jar-plugin. example for second part plugin artifactIdmaven-jar-plugin/artifactId

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread eyal edri
can i use the 'dependency:copy-dependencieshttp://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html' goal in this project to tell it to copy all it's dependencies to the lib dir? like shown in here: build plugins plugin

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread Alexander
Dont be shy, just try it. 2009/11/17 eyal edri eyal.e...@gmail.com can i use the 'dependency:copy-dependencies http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html ' goal in this project to tell it to copy all it's dependencies to the lib dir? like shown in

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread eyal edri
i will, once i get to work tomorrow :) thanks for the help. On Tue, Nov 17, 2009 at 8:05 PM, Alexander the.malk...@gmail.com wrote: Dont be shy, just try it. 2009/11/17 eyal edri eyal.e...@gmail.com can i use the 'dependency:copy-dependencies

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread Brian Fox
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/ On Tue, Nov 17, 2009 at 1:12 PM, eyal edri eyal.e...@gmail.com wrote: i will, once i get to work tomorrow :) thanks for the help. On Tue, Nov 17, 2009 at 8:05 PM, Alexander the.malk...@gmail.com wrote: Dont be

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread Alexander
Question was how make executable jar without including all dependencies in application jar but in separate folder. 2009/11/18 Brian Fox bri...@infinity.nu http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/ On Tue, Nov 17, 2009 at 1:12 PM, eyal edri

[Maven Assembly Plugin] Deploy assembly

2009-11-13 Thread rgubler2
way can we deploy the assembly? Yours Rüdiger -- View this message in context: http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333720.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: [Maven Assembly Plugin] Deploy assembly

2009-11-13 Thread Anders Hammar
A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html /Anders On Fri, Nov 13, 2009 at 10:35, rgubler2 rgub...@init-ka.de wrote: Hello, we have the following pom: project xmlns=http://maven.apache.org/POM/4.0.0

Re: [Maven Assembly Plugin] Deploy assembly

2009-11-13 Thread rgubler2
Anders Hammar wrote: A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html /Anders Hmm, I changed execution idmake-assembly/id phasepackage/phase goals

Re: [Maven Assembly Plugin] Deploy assembly

2009-11-13 Thread Stevo Slavić
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Regards, Stevo. On Fri, Nov 13, 2009 at 10:51 AM, rgubler2 rgub...@init-ka.de wrote: Anders Hammar wrote: A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy

Re: [Maven Assembly Plugin] Deploy assembly

2009-11-13 Thread Anders Hammar
Yes, read the docs. My earlier link points at info about the deprecated goal (attached). There is a new one. My apologizes. /Anders On Fri, Nov 13, 2009 at 10:55, Stevo Slavić ssla...@gmail.com wrote: http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Regards, Stevo

How to generate hash digests with Maven Assembly

2009-11-10 Thread Steve Brannstrom
Hi friends , We use Maven Assembly plug-in to create the binary and source archives in .zip, .tar.gz formats . We also want to generate hash digests such as md5, sha1 for those archives . Is there any way to achieve this using Maven Assembly plug-in ? If not please provide a pointer

Re: How to generate hash digests with Maven Assembly

2009-11-10 Thread Anders Hammar
One way is if you use a repository manager (Nexus for instance), it will be generated for you when deploying. /Anders On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom steveb...@gmail.com wrote: Hi friends , We use Maven Assembly plug-in to create the binary and source archives in .zip

Re: How to generate hash digests with Maven Assembly

2009-11-10 Thread Steve Brannstrom
, Anders Hammar and...@hammar.net wrote: One way is if you use a repository manager (Nexus for instance), it will be generated for you when deploying. /Anders On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom steveb...@gmail.com wrote: Hi friends , We use Maven Assembly plug-in to create

Re: How to generate hash digests with Maven Assembly

2009-11-10 Thread Anders Hammar
On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom steveb...@gmail.com wrote: Hi friends , We use Maven Assembly plug-in to create the binary and source archives in .zip, .tar.gz formats . We also want to generate hash digests such as md5, sha1 for those archives . Is there any way

RE: How to generate hash digests with Maven Assembly

2009-11-10 Thread Jamie Whitehouse
[mailto:steveb...@gmail.com] Sent: Tuesday, November 10, 2009 4:19 AM To: Maven Users List Subject: Re: How to generate hash digests with Maven Assembly Thanks for the reply. But we have .zip and .tar.gz archives and AFAIK not possible to deploy them to a repository, hence I don't think this approach

Re: How to generate hash digests with Maven Assembly

2009-11-10 Thread Sagara Gunathunga
-helper-maven-plugin/attach-artifact-mojo. html -Original Message- From: Steve Brannstrom [mailto:steveb...@gmail.com] Sent: Tuesday, November 10, 2009 4:19 AM To: Maven Users List Subject: Re: How to generate hash digests with Maven Assembly Thanks  for the reply. But we have .zip

can maven assembly plugin be used for the configuration and installation?

2009-11-03 Thread rajuchacha007
thought maven assemblies could be an option. Has anyone worked on something similar? Has anyone tried maven assembly plugin to use this application? Please let me know if anyone has got any relevant information and or such installer. I have tried some like NSIS, GhostInstaller, Nvin installer, Witem

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
is on the site and in the book. [1] http://maven.apache.org/plugins/maven-assembly-plugin/ [2] http://www.sonatype.com/books/maven-book/reference/assemblies.html Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Thu, Oct 22, 2009 at 5:58

Re: Maven assembly and onejar goal

2009-10-23 Thread Nick Stolwijk
That should be the right syntax. How did you configure your pom wrt the assembly plugin? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Oct 23, 2009 at 2:55 PM, Laurent PELLEGRINO laurent.pellegr...@gmail.com wrote:

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
I use the following : plugin artifactIdmaven-assembly-plugin/artifactId configuration finalName${pom.artifactId}-${pom.version}/finalName descriptors descriptorsrc/main/assembly/jar-with-dependencies.xml/descriptor /descriptors /configuration executions execution phasepackage/phase

Re: Maven assembly and onejar goal

2009-10-23 Thread Nick Stolwijk
Looks good. I don't really know what is going wrong. Just to be sure we are dealing with an assembly problem, but there are classes in your target/classes directory after you have run mvn clean assembly:assembly? Could you also take a look at the logging of the assembly plugin, maybe even with

Re: Maven assembly and onejar goal

2009-10-23 Thread Alexander
Looks good. +1. If default jar-with-all-dep works fine why don't you add your changes one by one to determine what one actually is confusing assembly work? 2009/10/23 Nick Stolwijk nick.stolw...@gmail.com Looks good. I don't really know what is going wrong. Just to be sure we are dealing with

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
I have make again the jar-with-dependencies.xml step by step and forced assembly version to 2.2-beta3 and it seems now it works... However the library com.ontotext.owlim:big-owlim is never include in my jar. Even if I use the default jar-with-dependencies descriptor which contains no exclude.

Re: Maven assembly and onejar goal

2009-10-23 Thread Alexander
Does this library declared in *dependencies* section? 2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com I have make again the jar-with-dependencies.xml step by step and forced assembly version to 2.2-beta3 and it seems now it works... However the library com.ontotext.owlim:big-owlim

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
yes it is :( 2009/10/23 Alexander the.malk...@gmail.com: Does this library declared in *dependencies* section? 2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com I have make again the jar-with-dependencies.xml step by step and forced assembly version to 2.2-beta3 and it seems now it

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
is it possible there is something in the jar library which indicates to maven that it cannot be assembly in one-jar ? 2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com: yes it is :( 2009/10/23 Alexander the.malk...@gmail.com: Does this library declared in *dependencies* section?

Re: Maven assembly and onejar goal

2009-10-23 Thread Alexander
Only if dependency have an inappropriate scope. 2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com is it possible there is something in the jar library which indicates to maven that it cannot be assembly in one-jar ? 2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com: yes

Re: Maven assembly and onejar goal

2009-10-23 Thread Nick Stolwijk
Try running mvn help:effective-pom and mvn dependencies:tree to see if it really has the appropriate scope. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Oct 23, 2009 at 6:43 PM, Alexander the.malk...@gmail.com wrote: Only if

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
With mvn dependency:tree I see it : [INFO] | \- com.ontotext.owlim:big-owlim:jar:3.2.2:compile If I change scope to compile in assembly I don't see it in the generated jar. 2009/10/23 Nick Stolwijk nick.stolw...@gmail.com: Try running mvn help:effective-pom and mvn dependencies:tree to see

Re: Maven assembly and onejar goal

2009-10-22 Thread Laurent Pellegrino
Nobody can help me ? -- View this message in context: http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

RE: Maven assembly and onejar goal

2009-10-22 Thread Edelson, Justin
Gotta love how Nabble removes the context, forcing people to go to the site... Anyway, one-jar isn't a built-in descriptor: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht ml There is one here: http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html But I

Re: Maven assembly and onejar goal

2009-10-22 Thread Alexander
Help, where? 2009/10/22 Laurent Pellegrino laurent.pellegr...@gmail.com Nobody can help me ? -- View this message in context: http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Maven assembly and onejar goal

2009-10-22 Thread Laurent PELLEGRINO
/22 Edelson, Justin justin.edel...@mtvstaff.com: Gotta love how Nabble removes the context, forcing people to go to the site... Anyway, one-jar isn't a built-in descriptor: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht ml There is one here: http

Re: Maven assembly and onejar goal

2009-10-22 Thread Alexander
to go to the site... Anyway, one-jar isn't a built-in descriptor: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht ml There is one here: http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html But I have no idea if this is what you're referring

Re: Maven assembly and onejar goal

2009-10-22 Thread Nick Stolwijk
Iam lost, is it possible to do that ? 2009/10/22 Edelson, Justin justin.edel...@mtvstaff.com: Gotta love how Nabble removes the context, forcing people to go to the site... Anyway, one-jar isn't a built-in descriptor: http://maven.apache.org/plugins/maven-assembly-plugin

Re: Maven assembly and onejar goal

2009-10-22 Thread Laurent PELLEGRINO
...@mtvstaff.com: Gotta love how Nabble removes the context, forcing people to go to the site... Anyway, one-jar isn't a built-in descriptor: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht ml There is one here: http://binkley.blogspot.com/2006/12/making

Re: Maven assembly and onejar goal

2009-10-22 Thread Nick Stolwijk
I don't have the setup or time to give you a full working example. Just try it yourself, the documentation is on the site and in the book. [1] http://maven.apache.org/plugins/maven-assembly-plugin/ [2] http://www.sonatype.com/books/maven-book/reference/assemblies.html Hth, Nick Stolwijk ~Java

Maven assembly and onejar goal

2009-10-21 Thread Laurent PELLEGRINO
Dear all, I have a project which depends of two library A and B. Both (jar) have a directory named META-INF/services/ with in a file named config for example. However the content of the file config is different for the two libraries. My project use the assembly plugin with one-jar goal. When I

Maven Assembly PlugIn...Multiple Artifacts with different configurations

2009-10-20 Thread Karl Heinz Marbaise
package mvn -Pprod package The disadvantage of this is that every time we call the package all other things like unit test etc. will run...and of course i have to call mvn three time (manually)... Solution 2: I can configure the Maven Assembly Plugin like the following: plugin

Re: Maven Assembly PlugIn...Multiple Artifacts with different configurations

2009-10-20 Thread Stevo Slavić
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-components.html Regards, Stevo. On Tue, Oct 20, 2009 at 8:39 PM, Karl Heinz Marbaise khmarba...@gmx.dewrote: Hi, i have the following question: I have to deliver a package with different configurations

Re: Maven Assembly Plugin

2009-10-07 Thread Bert van Brakel
/fileSet /fileSets ... /assembly On windows you can use '/' but this won't work on *nix boxes, where you have to use '.' -- View this message in context: http://www.nabble.com/Maven-Assembly-Plugin-tp16351103p25783885.html Sent from the Maven - Users mailing list

Maven Assembly plugin: Changing user and group identity

2009-09-30 Thread Edgar Schmidt
Hello, I'm currently using the maven assembly plugin to build a tar.gz assembly with a custom descriptor. I found the option to set read/write permissions, but I need to change the user and group identity, too. I haven't found anything suitable in the descriptor documentation, so I assume

Re: Get the following error from wagon-ssh-external-1.0-beta-2.jar when using maven-assembly-plugin

2009-09-09 Thread Tonte . Pouncil
I figured out what my problem was. I stop trying to use maven-assembly-plugin:2.1 and started used maven-assembly-plugin:2.2-beta-4. Which gave me an error saying I need to set at least one file. I set the scope in my dependency set to runtime and all works fine. From: Tonté Pouncil

Get the following error from wagon-ssh-external-1.0-beta-2.jar when using maven-assembly-plugin

2009-09-08 Thread Tonte . Pouncil
I am trying to run maven-assembly-plugin:2.1 with my custom assembler and I get the following error: [INFO] Scanning for projects... [INFO] [INFO] Building aviall-ws-ubl-assembly-distribution [INFO] [INFO] Id

Re: [Solved] Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-08-07 Thread Arnaud HERITIER
I'm just having the same issue on MacOS after upgrading the assembly plugin from 2.1 to 2.2-beta-4 I think we could consider that it is a regression ? In my case the build hangs and I have to do a CTRL+C to have the error. Googling it I found this thread. Even if it took for me only few minutes to

Re: maven-assembly-plugin fileset excludes

2009-07-27 Thread Ryan Connolly
I just struggled with this very thing yesterday... Adding a trailing slash to the directory name did the trick for me. Example: **/somedir/ On 7/27/09, Jason Chaffee jason.chaf...@zilliontv.tv wrote: I am not able to exclude directories for some reason. I have several directories that are

maven-assembly-plugin fileset excludes

2009-07-26 Thread Jason Chaffee
I am not able to exclude directories for some reason. I have several directories that are identified with .temp and I have particular directory config that I would like to exclude them as follows: fileSet directory${project.build.directory}/ux/directory

maven assembly plugin problem.

2009-07-01 Thread Alexander Vaysberg
Hi, I have a problem with assembly plugin. I have a standalone application and I make for this app a jar with manifest. In manifest set I a Main-Class and all dependencies for this app with jar plugin. That work fine. Than, I create with assembly the zip and get the all dependencies in

RE: maven assembly plugin problem.

2009-07-01 Thread Mohan KR
} Thanks, mohan kr -Original Message- From: Alexander Vaysberg [mailto:w...@vaisberg.de] Sent: Wednesday, July 01, 2009 2:42 AM To: Maven Users List Subject: maven assembly plugin problem. Hi, I have a problem with assembly plugin. I have a standalone application and I make for this app

Re: maven assembly plugin problem.

2009-07-01 Thread Alexander Vaysberg
it is ${artifact.baseVersion} and *not* ${artifact.version} Thanks, mohan kr -Original Message- From: Alexander Vaysberg [mailto:w...@vaisberg.de] Sent: Wednesday, July 01, 2009 2:42 AM To: Maven Users List Subject: maven assembly plugin problem. Hi, I have a problem with assembly plugin. I have

Re: Maven Assembly Question

2009-06-25 Thread virtualshock
BumpAnybody have some suggestions? -- View this message in context: http://www.nabble.com/Maven-Assembly-Question-tp23833852p24205262.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe

Re: Maven assembly plug-in and deploy not happening?

2009-06-25 Thread lsacco
I see that the attached goal works, but for beta-4 it says that goal is deprecated. Is this a bug in the single goal that prevents it from being published during the package phase? Thanks, Lou Jörg Schaible-2 wrote: Hi Andrew, Andrew Robinson wrote: The maven assembly plug

Maven assembly - include/exclude by classifier

2009-06-15 Thread Dimitar Dimitrov
useStrictFilteringtrue/useStrictFiltering unpacktrue/unpack includes include*:*:jni-solaris-spark:*/include /includes /dependencySet /dependencySets /assembly -- View this message in context: http://www.nabble.com/Maven-assembly---include

Re: Maven assembly: cut down on number of assemblies made?

2009-06-08 Thread ljnelson
to override this. Thanks, Laird -- View this message in context: http://www.nabble.com/Maven-assembly%3A-cut-down-on-number-of-assemblies-made--tp23904468p23923016.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Maven assembly: cut down on number of assemblies made?

2009-06-07 Thread Brian Fox
On Sat, Jun 6, 2009 at 11:37 AM, ljnelson ljnel...@gmail.com wrote: Hello; I've started to dive into the rather baffling world of the maven-assembly plugin. I am trying to configure the silly thing so that I get one .zip file output when I run mvn assembly:assembly.  At the moment, I get

Maven assembly: cut down on number of assemblies made?

2009-06-06 Thread ljnelson
Hello; I've started to dive into the rather baffling world of the maven-assembly plugin. I am trying to configure the silly thing so that I get one .zip file output when I run mvn assembly:assembly. At the moment, I get this .zip file, but I also get a .tar file, a bzip file, etc. etc. mvn

[ANN] Maven Assembly Plugin 2.2-beta-4 released

2009-06-05 Thread John Casey
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2-beta-4. This plugin is useful in creating project artifacts that custom layouts. It also includes a set of predefined standard custom artifact types you can choose to create. For more information, see

[ANN] Maven Assembly Plugin 2.2-beta-4 released

2009-06-05 Thread John Casey
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2-beta-4. This plugin is useful in creating project artifacts that custom layouts. It also includes a set of predefined standard custom artifact types you can choose to create. For more information, see

maven assembly plugin

2009-06-04 Thread huser
Hi, I am using the maven assembly plugin to create a zip file containing certain jars. The zip file contains the version info of the jars as well. Example: abc.zip has activation-1.1.jar, commons-7.2.jar How can I remove the version info from getting attached to the jar file and consequently

RE: maven assembly plugin

2009-06-04 Thread Jim McCaskey
Hi there, The assembly plugin has an outputFileNameMapping capability. So you would add something like this: outputFileNameMapping${artifact.artifactId}.${artifact.extension}/outputFileNameMapping You can find additional info here: http://maven.apache.org/plugins/maven-assembly-plugin

Maven Assembly Question

2009-06-02 Thread virtualshock
,**/**.properties / /copy Thanks -- View this message in context: http://www.nabble.com/Maven-Assembly-Question-tp23833852p23833852.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: [maven-assembly-plugin][jar-with-dependencies] How to include only one dependency in the final jar ?

2009-05-28 Thread daronmaster
Hi everybody, you can find my solution http://www.developpez.net/forums/d751119/java/edi-outils-java/maven/maven-assembly-plugin-inclure-seule-dependence-jar/#post4348039 here it's my french thread Have a nice day Tchû -- View this message in context: http://www.nabble.com/-maven-assembly

[maven-assembly-plugin][jar-with-dependencies] How to include only one dependency?

2009-05-27 Thread daronmaster
(the last), do you have an idea? Thank you -- View this message in context: http://www.nabble.com/-maven-assembly-plugin--jar-with-dependencies--How-to-include-only-one-dependency--tp23737766p23737766.html Sent from the Maven - Users mailing list archive at Nabble.com

maven-assembly-plugin 2.2-beta-3 includes all module directories with complete path

2009-05-27 Thread widerst...@t-online.de
Hi, I'm using maven 2.1.0. With the maven-assembly plugin 2.2-beta-3. When I use the descriptor project it simply zips all directory contents and also inclused the target directory. Also the whole directory path is included (C:\User ...\ ...) When using the with-dependencies descriptor also

maven assembly plugin 2.2-beta-3 fails packing parent pom

2009-05-27 Thread widerst...@t-online.de
Hi, I'm using Maven 2.1.0. I get: [INFO] [assembly:single {execution: make-assembly}] [WARNING] Cannot include project artifact: org.foo.bar:j2se:pom:1 .0.2-SNAPSHOT; it doesn't have an associated file or directory. [INFO]

maven-assembly-plugin

2009-05-05 Thread Karrys, Michael (IS)
Maven Users Is there a way to specify what goes on the Classpath that is created by the Archive tag when using the jar-with-dependencies descriptor? I want to add some *.xml configuration files to the classpath so I can find them when the application starts. Mike Karrys

Maven assembly issue

2009-04-02 Thread predhme
in the forum is not suitable. I need to get around the issue. Thanks! -- View this message in context: http://www.nabble.com/Maven-assembly-issue-tp22851137p22851137.html Sent from the Maven - Users mailing list archive at Nabble.com

<    1   2   3   4   5   6   7   >