Re: [ANN] Maven Assembly Plugin 2.2-beta-3 Released

2009-01-07 Thread TM
exclude tag as follows: assemblies/minimal/src/main/release / bin/** I cross checked the maven-assembly-plugin Web site for documentation of the pattern format without success. I guess, somewhere, it is documented, but I couldn't find it (as

Re: [ANN] Maven Assembly Plugin 2.2-beta-3 Released

2009-01-06 Thread Paul
Thanks a lot for all the work, this release was truly awaited ! Le Monday 05 January 2009 21:25:04 John Casey, vous avez écrit : > The Maven team is pleased to announce the release of the Maven Assembly > Plugin, version 2.2-beta-3 > > This plugin is used to create custom archiv

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

2009-01-05 Thread John Casey
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2-beta-3 This plugin is used to create custom archives using the build output, dependencies, and other files owned by a Maven project. You can find more information, including instructions and examples

Re: maven-assembly-plugin resource filtering with shared assembly

2008-12-21 Thread Brett Randall
Well the good news here is that I updated to maven-assembly-plugin 2.2-beta-3-SNAPSHOT, and the filtering outlined below just works, regardless of the build start-point. I couldn't spot where this was fixed. >From the svn logs it looks like 2.2-beta-3 could go final soon, so I'l

maven-assembly-plugin resource filtering with shared assembly

2008-12-21 Thread Brett Randall
Hi, I'm having trouble with resource-filtering in an assembly which is shared amongst multiple modules in a multi-module project, according to the recipe in MDG 12.6.1. Maven 2.0.9, Assembly 2.2-beta-2. What I'm seeing i

Re: Renaming jars using the assembly plugin

2008-12-13 Thread Chris Graham
true > > > *.jar > > > runtime > > > > > It is used as such: > > > > >

Renaming jars using the assembly plugin

2008-12-13 Thread Chris Graham
. zip false true *.jar runtime It is used as such: maven-assembly-plugin

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread Barrie Treloar
On Wed, Nov 26, 2008 at 7:10 PM, CheapLisa <[EMAIL PROTECTED]> wrote: > > setting the Class-Path in MANIFEST.MF can be done (and should be done) with > the assembly plugin. There is an option for that. It may do that. What I have posted will work and is perfectly acceptable. B

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread John Stoneham
- YahooRetriever.retrieve() should throw Exception - the project POM is missing the Java 1.5 compiler configuration: maven-compiler-plugin 1.5 1.5 As I said, I skipped all the test stuff, but did verify that simply adding maven-assembly-plugin

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread CheapLisa
o create a single jar with all dependencies using >> maven? > > Lisa, > > I believe that Sonatype's Maven book has exactly the example you're > looking for. The key piece is to build up all your artifacts with > dependencies as usual and then use the Maven assembly plugin

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread CheapLisa
setting the Class-Path in MANIFEST.MF can be done (and should be done) with the assembly plugin. There is an option for that. Also copying jars to a lib/ directory (and checking them in) is the reason we moved away from ant to maven and I do not believe this is necessary. Lisa baerrach

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-25 Thread John Stoneham
the example you're looking for. The key piece is to build up all your artifacts with dependencies as usual and then use the Maven assembly plugin using the built-in descriptor "jar-with-dependencies". Turns out your particular use case is actually very simple. The example is cover

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-25 Thread Barrie Treloar
the MANIFEST.MF correctly with Class-Path is the jar plugin's job. See http://maven.apache.org/shared/maven-archiver/examples/classpath.html > In the end I want to be able to: > $cd dist > $java -jar patch-main.jar We are doing this. You need to setup both maven-jar-plugin and maven-as

Need *end-to-end* example using the maven assembly plugin

2008-11-25 Thread CheapLisa
ave dependencies and there are over 400 jars in my maven repo (many of them mine but mostly not) What I am looking for is a *complete end-to-end* example of how to do this and what to type on the command line to do this so that I get an output jar in dist/. I have looked at the maven assembly plugin and afte

AW: assembly plugin: include files only from specific groupId/artifactId

2008-11-24 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
?ngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 24. November 2008 10:39 An: users@maven.apache.org Betreff: assembly plugin: include files only from specific groupId/artifactId Hi @all, is there any chance to tell the assembly plugin to only include

assembly plugin: include files only from specific groupId/artifactId

2008-11-24 Thread Thomas.TH.Hamacher
Hi @all, is there any chance to tell the assembly plugin to only include dependencies from a defined groupId? I though of something like this (pseudo-code) : ... com.myCompany.*:* ... This should result in the following: all dependencies that match the "com.myCompany&quo

Re: what filtering does assembly plugin provide?

2008-11-21 Thread Rusty Wright
again! Olivier Dehon wrote: On Fri, 2008-11-21 at 14:07 -0800, Rusty Wright wrote: I'm trying to inject some properties from my pom.xml into a shell script using the assembly plugin. Is that possible? Is there some special syntax that I should be using? In my pom.xml I have [snip]

Re: what filtering does assembly plugin provide?

2008-11-21 Thread Olivier Dehon
On Fri, 2008-11-21 at 14:07 -0800, Rusty Wright wrote: > I'm trying to inject some properties from my pom.xml into a shell script > using the assembly plugin. Is that possible? Is there some special syntax > that I should be using? In my pom.xml I have > [snip] > And

what filtering does assembly plugin provide?

2008-11-21 Thread Rusty Wright
I'm trying to inject some properties from my pom.xml into a shell script using the assembly plugin. Is that possible? Is there some special syntax that I should be using? In my pom.xml I have dev dev etc. For my assembly descriptor I have deploy-s

Assembly plugin not filtering parent.parent-version

2008-11-19 Thread Pablo Saavedra
Hi, I have a file in a project which contains the following: projectname--${parent.parent.version} The project structure is the following: main (packaging:pom) dev (packaging:pom) project-where-the-file-is-located (packaging:jar) other-project (packaging:jar) war-projec

How do I bind AntRun plugin to Assembly plugin?

2008-11-03 Thread Trevor Harmon
I've got a POM that packages up my code using the Assembly plugin, then it does some custom processing of the assembled code using the AntRun plugin. To accomplish this, I've got both plugins bound to the package phase so that they always run together. This works okay, except tha

Defining file mode when unpacking dependencies with assembly-plugin

2008-10-28 Thread Amélie
Hi, I am using assembly-plugin to create a tar.gz assembly. I have a .tgz dependency which I need to unpack to create the assembly. Here is how my assembly descriptor looks like: / *tgz true But in the dependency .tgz, there are

Tests running twice with Assembly plugin?

2008-10-16 Thread David C. Hicks
I added a maven-assembly-plugin section to our build and bound it to the "package" phase. Now, if I run goals "clean install" the tests all get run twice. I don't see any reason for it, though. Can someone point me in the direction of a good

Re: Assembly plugin: You must set at least one file.

2008-10-16 Thread johoso
rehensible message: >> >> >> >> [INFO] >> >> >> -------- >> >> [ERROR] BUILD ERROR >> >> [INFO] >> >> >>

Re: Assembly plugin: You must set at least one file.

2008-10-16 Thread Ricardo Nascimento
bedded error: You must set at least one file. > >> > >> Anyone what what file this message might be talking about, and where one > >> might "set" this file? > >> > >> The assembly now looks like this: > >> > >> > &g

Re: Assembly plugin: You must set at least one file.

2008-10-16 Thread johoso
> >> Regards, >> Graham >> -- >> >> >> >> ----- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > &g

Re: Assembly Plugin

2008-10-13 Thread Michael McCallum
On Tue, 14 Oct 2008 07:08:27 David wrote: > Is it possible to have two different descriptor files where one can be > binded to a phase and the other only activated from the command line? > > Thanks, > > David you could probably do that with a profile, just specify the plugin in a profile but only

Re: Assembly Plugin

2008-10-13 Thread David
Hey Michael, Thanks for replying. I did think of that but wanted to see if there was another way. David On Mon, Oct 13, 2008 at 1:26 PM, Michael McCallum <[EMAIL PROTECTED]> wrote: > On Tue, 14 Oct 2008 07:08:27 David wrote: > > Is it possible to have two different descriptor files where one c

Assembly Plugin

2008-10-13 Thread David
Is it possible to have two different descriptor files where one can be binded to a phase and the other only activated from the command line? Thanks, David

Re: Creating a self extracting archive with the assembly plugin

2008-10-08 Thread Brett Porter
...instalation script pre > unarch. > > SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0` > ${TAIL} +$SKIP $0 | gzip -dc | (cd $OPTIMA_HOME ; $TAR xvf -) > >instalation script post > unarch

Creating a self extracting archive with the assembly plugin

2008-10-08 Thread Zoltan Farkas
SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0` ${TAIL} +$SKIP $0 | gzip -dc | (cd $OPTIMA_HOME ; $TAR xvf -) instalation script post unarch..... __ARCHIVE_FOLLOWS__ this was very useful in simplifying the instal

Re: Help with assembly (?) plugin

2008-10-07 Thread Thomas Lutz
. This is configured in a file embedded within the jar by the build. I figure that I should be able to make one module with all the code and the default (cache) setup in it. I think that I can then configure the no-cache module to depend on the cache version and then use the assembly plugin to unpa

RE: Help with assembly (?) plugin

2008-10-07 Thread Martin Gainty
org > Subject: Help with assembly (?) plugin > > > All, > > Can someone first of all either confirm that I am on the right track or tell > me that I am an idiot and point me in the right direction. > > If I *am* on the right track, can someone give me a shove towards t

Help with assembly (?) plugin

2008-10-07 Thread Andy Law
configured in a file embedded within the jar by the build. I figure that I should be able to make one module with all the code and the default (cache) setup in it. I think that I can then configure the no-cache module to depend on the cache version and then use the assembly plugin to unpack the jar into

Re: mysterious assembly-plugin

2008-10-06 Thread Wolfgang22
illing in a bit more in your xml file. > > Also use the information at > http://maven.apache.org/plugins/maven-assembly-plugin/usage.html and go > down > to the example below the heading "Normal Assemblies" to see how the pom > should look. >

Re: mysterious assembly-plugin

2008-10-03 Thread Lee Meador
Try filling in a bit more in your xml file. Also use the information at http://maven.apache.org/plugins/maven-assembly-plugin/usage.html and go down to the example below the heading "Normal Assemblies" to see how the pom should look. Your parts should look like this:

mysterious assembly-plugin

2008-10-02 Thread Wolfgang.Winter
Hi, I have great problems to solve a simple requirement with Maven2. I have a Maven project with several sub-modules. Each submodule has its own config- and install files. I want to distribute and deploy these files together with its respective submodule artefact. The assembly-plugin seems to be

Inconsistent handling on SNAPSHOT dependencies between maven-jar-plugin 'addClassPath' and maven-assembly-plugin 'dependencySet'?

2008-09-24 Thread Marat Radchenko
When artifact has SNAPSHOT dependency, 'addClassPath' feature of maven-jar-plugin will use 'SNAPSHOT' as version string. However, maven-assembly-plugin's 'dependencySet' feature will save file using fully qualified repository version (something like 20080924.150522-14). This inconsistency leaves th

Re: Flatten dependencySet includes (assembly plugin)

2008-09-11 Thread sverhagen
John Casey-5 wrote: > > there's an open issue related to mappers in > http://jira.codehaus.org/browse/MASSEMBLY > > That issue covers this functionality, and hasn't been completed yet. > You are right. This is the exact one: http://jira.codehaus.org/browse/MASSEMBLY-45 It looks like the sort

Re: Flatten dependencySet includes (assembly plugin)

2008-09-11 Thread John Casey
there's an open issue related to mappers in http://jira.codehaus.org/browse/MASSEMBLY That issue covers this functionality, and hasn't been completed yet. sverhagen wrote: Hi. Using the assembly plugin. Is there a way to get stuff that's in a certain folder X of a dependen

Flatten dependencySet includes (assembly plugin)

2008-09-10 Thread sverhagen
Hi. Using the assembly plugin. Is there a way to get stuff that's in a certain folder X of a dependency end up in my assembly's folder Y. Given the following assembly.xml: /sql true etc

Re: Assembly Plugin - Archive in Archive

2008-08-28 Thread Dan Tran
ed to run multiple executions of the assembly plugin per descriptor -D On Thu, Aug 28, 2008 at 4:06 AM, Peter Horlock <[EMAIL PROTECTED]> wrote: > Hi Dan, thanks for your fast reply. > > However - could you please a bit more specific of how this can be done? > E.g. > a) Where

Re: Assembly Plugin - Archive in Archive

2008-08-28 Thread Peter Horlock
Hi Dan, thanks for your fast reply. However - could you please a bit more specific of how this can be done? E.g. a) Where can I add the multiple assembly executions - in the pom or in the assembly descriptor? b) what''s a "staging area"? Thanks, Peter

Re: Assembly Plugin - Archive in Archive

2008-08-28 Thread Dan Tran
run multiple assembly executions, use maven-dependency-plugin to prepare staging area as needed. -D On Thu, Aug 28, 2008 at 3:58 AM, Peter Horlock <[EMAIL PROTECTED]> wrote: > Hi, > > I am successfully using the Assembly Plugin to create an archive containing > extra con

Assembly Plugin - Archive in Archive

2008-08-28 Thread Peter Horlock
Hi, I am successfully using the Assembly Plugin to create an archive containing extra content for a release. However, now I would like to create another archive containing this archive, plus the generated war file, plus a readme file for the client. Any idea how that can be done? Thanks in

maven-assembly-plugin / artifact built from maven-assembly-plugin being installed before execution of following plugins in same pom.xml

2008-08-25 Thread Julien CARSIQUE
Changed subject (maven-assembly-plugin) Julien CARSIQUE a écrit : Hi, I need to build resources artifacts (I use maven-assembly-plugin) and use them (with our maven-nuxeo-plugin) from the same pom.xml The built resources artifacts do not need to be in the project dependency but have to be

Re: maven-assembly-plugin and custom file extension

2008-08-21 Thread Stefano Bagnara
Brett Porter ha scritto: I already answered your question 2 days ago: http://markmail.org/message/qixvhtloug5rlmkz Please just follow up the original thread rather than reposting a copy-paste. I apologize! Both, my message and your answer was in my spam filter and I thought my message never h

Re: maven-assembly-plugin and custom file extension

2008-08-21 Thread Brett Porter
t is a sar file. > A sar file for phoenix avalon container is simply a zip/jar file > including jars and any configuration file needed. > > Using the maven-assembly-plugin I have been able to generate a zip > including everything I need, but it is named zip and not sar. > > Is ther

maven-assembly-plugin and custom file extension

2008-08-21 Thread Stefano Bagnara
Hi all, One of my ant based project output is a sar file. A sar file for phoenix avalon container is simply a zip/jar file including jars and any configuration file needed. Using the maven-assembly-plugin I have been able to generate a zip including everything I need, but it is named zip and

Assembly plugin - tests classifier?

2008-08-15 Thread Simon Trudeau
I have a project witch builds a jar (a few source files which need to be compiled) and also creates an assembly for all my modules. My pom.xml defines my assembly as maven-assembly-plugin final target/assembly src/main/assembly/installer-assembly.xml

Re: maven assembly plugin does not create actual zip

2008-08-14 Thread maarten roosendaal
yment/Config.xml                             C:/Temp/x.jar                         C:/Temp/y.jar             Here´s the plugin definition       maven-assembly-plugin       2.1                       assembly.xml         package-all       c:\temp\deploy             i call mvn clean pa

Re: maven assembly plugin does not create actual zip

2008-08-13 Thread Wendy Smoak
On Wed, Aug 13, 2008 at 10:12 PM, maarten roosendaal <[EMAIL PROTECTED]> wrote: > I'm trying to create a relative simple .zip file with the assembly plugin but > all i get is a directory structure with the correct files., not an actual zip > file. > I've set to zip

maven assembly plugin does not create actual zip

2008-08-13 Thread maarten roosendaal
Hi, I'm trying to create a relative simple .zip file with the assembly plugin but all i get is a directory structure with the correct files., not an actual zip file. I've set to zip but it does not seem to work. Any suggestions? Maven 2.0.9 assembly plugin version 2.1 OS: Window

Re: Assembly plugin : how to customize the name of the generated file

2008-08-08 Thread MedElb
thanks for your response ii've found that use example maven-assembly-plugin 2.2-beta-1 assemble install att

Re: Assembly plugin : how to customize the name of the generated file

2008-08-08 Thread Brett Porter
You can look at finalName (only affects the name in ./target), appendAssemblyId and classifier (affects the repository deployed artifact) in the configuration reference. http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html Cheers, Brett 2008/8/8 MedElb <[EMAIL PROTEC

Assembly plugin : how to customize the name of the generated file

2008-08-08 Thread MedElb
Hi I'm using the maven assembly plugin to generate the install pachage that contain others sub package each one has his own assembly discriptor, and my projetc is mutli modules!! my probleme now is that zip files generated gets names with ${architypeName}-${version}-${assemblyId} how

Assembly Plugin: How to copy files and preserve filesystem attributes (Mac OSX)

2008-08-04 Thread daniel309
Hi all, Im trying to add a Mac OSX native application to the assembly (zip) of my application. The .app is build by XCode, I just need to copy the result over into the assembly using a "" (with false) in the assembly descriptor. The problem however is that OSX filesystem attributes and custom fold

Assembly Plugin - Line Feeds by Format

2008-08-01 Thread Geoffrey Wiseman
It looks like the assembly plugin can do line feed filtering, but not in a format-specific way as far as I can see. Like, it'd be nice to have CRLFs in the ZIP and just LFs in the .tar.gz. I could do that with two assembly descriptors, but that'd involve duplication. Am I missing a w

Assembly plugin: how to specify user and group?

2008-07-14 Thread Jochen Hinrichsen
/Assembly-plugin%3A-how-to-specify-user-and-group--tp18440443p18440443.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Assembly plugin Unpack dependency source for compile

2008-07-10 Thread Clifton
I jsut read and re-read the docs on the Assembly plugin. It looks like just the thing I need but I have one problem. I can't figure out which features to use to do what I need. I need to unpack the source of runtime-dependencies into a specified directory. The dependencies in question al

Accessing artifact Final name in assembly plugin.

2008-07-10 Thread Kallin Nagelberg
Hi, I'm using a dependency set in an assembly of mine using the following config: false / group:artifact1 group:artifact1 group:artifact1 I w

Re: assembly plugin includes duplicates

2008-07-09 Thread Kallin Nagelberg
I noticed that archive file resolution is mentioned here: http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html It says that in case file/filesets have conflicting sources only one will be copied. It seems this isn't true for dependencies though. Is there a w

assembly plugin includes duplicates

2008-07-08 Thread Kallin Nagelberg
I have an assembly descriptor that looks like the following code. There are duplicate libraries in 'target/dependencies' and 'target/core-bl-template/unpack/lib'. This results in duplicate JARs being zipped up at xxx.zip/lib . Is there a way to prevent this? bin zip

[maven-assembly-plugin] storing dependency sets in "repository layout"

2008-07-07 Thread Ibrahim Hasbini
Hello, I would like to inquire if it is possible store a dependencySet defined in a moduleSet in an assembly descriptor, in "repository layout"? just like the maven-dependency-plugin does. http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#useRepositoryLayout The

Re: Mixed version of assembly plugin causing errors in multi-module build

2008-07-05 Thread Jörg Schaible
Hi Jamie, Jamie Whitehouse wrote: > I'm hoping someone can explain some odd behavior I'm seeing and suggest > a solution. > > I have a multi-module project that makes use of two different versions > of the assembly plugin on purpose. There's functionality that

Mixed version of assembly plugin causing errors in multi-module build

2008-07-05 Thread Jamie Whitehouse
I'm hoping someone can explain some odd behavior I'm seeing and suggest a solution. I have a multi-module project that makes use of two different versions of the assembly plugin on purpose. There's functionality that is only available in the 2.2-beta-2 version that is required for

Re: Odd warning in assembly plugin

2008-07-01 Thread Kathryn Huxtable
Well, that's what Grouper is, but Signet is also a non-Maven project. I created pom files for each of them, though, and specified them in my install:install-file command. And yet, I only get the warning on Grouper. ** I just figured it out! * The pom file for Grouper has the wrong g

Re: Odd warning in assembly plugin

2008-07-01 Thread Magne Nordtveit
On Mon, 2008-06-30 at 18:27 -0500, Kathryn Huxtable wrote: > Correct. I have several Internet2 projects which are not currently in > any repository except my local one. They, in turn, have dependencies. > > Of these, only the Grouper project gives me the warning. > > -K, who will go over the Gr

Re: Odd warning in assembly plugin

2008-06-30 Thread Kathryn Huxtable
of a pom artifact, and the project-builder is constructing a pom artifact to build the project instance from instead. I just need to modify the assembly plugin to make sure it's passing in pom artifacts, but this shouldn't affect your assembly in any way. -john On Mon, Jun 30, 2008 a

Re: Odd warning in assembly plugin

2008-06-30 Thread John Casey
gt;> and the project-builder is constructing a pom artifact to build the >> project >> instance from instead. >> >> I just need to modify the assembly plugin to make sure it's passing in pom >> artifacts, but this shouldn't affect your assembly in any way

Re: Odd warning in assembly plugin

2008-06-30 Thread Kathryn Huxtable
ifact, and the project-builder is constructing a pom artifact to build the project instance from instead. I just need to modify the assembly plugin to make sure it's passing in pom artifacts, but this shouldn't affect your assembly in any way. -john On Mon, Jun 30, 2008 at 5:17

Re: Odd warning in assembly plugin

2008-06-30 Thread John Casey
Nothing to be too concerned about. It's a warning more intended for plugin developers, meaning they passed in a jar artifact instead of a pom artifact, and the project-builder is constructing a pom artifact to build the project instance from instead. I just need to modify the assembly plug

Odd warning in assembly plugin

2008-06-30 Thread Kathryn Huxtable
I'm making an assembly for a project and one of its runtime dependencies is something called "grouper". I'm getting the following warning: [WARNING] Attempting to build MavenProject instance for Artifact (edu.internet2.middleware.grouper:grouper:1.3.0) of type: jar; constructing POM artif

RE: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread De Smet Ringo
Kent, > -Original Message- > From: Kent Närling > Sent: woensdag 25 juni 2008 11:22 > To: Maven Users List > Subject: Re: Please help with assembly plugin dependency problems! :-( > > Thanks a lot, this fixed it! :-) You're welcome! As to the 'why&#

Re: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
Thanks a lot, this fixed it! :-) 2008/6/25 De Smet Ringo <[EMAIL PROTECTED]>: > Kent, > > > -Original Message- > > From: Kent Närling > > Sent: woensdag 25 juni 2008 10:53 > > To: Maven Users List > > Subject: Re: Please help with assembly plug

RE: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread De Smet Ringo
Kent, > -Original Message- > From: Kent Närling > Sent: woensdag 25 juni 2008 10:53 > To: Maven Users List > Subject: Re: Please help with assembly plugin dependency problems! :-( > > Update to this one, this seems to happen if I execute the > build from within

Re: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
it seems to ignore it then! (but not from within Eclipse) 2008/6/25 Kent Närling <[EMAIL PROTECTED]>: > Hi, > > I still cannot get the assembly plugin to work properly in many situations. > > There are a lot of situations where a plugin/depenedency depends on > something el

Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
Hi, I still cannot get the assembly plugin to work properly in many situations. There are a lot of situations where a plugin/depenedency depends on something else where it works nicely for building and running since it only requires the jar. But then the assembly plugin tries to get the POM

Re: Maven assembly plugin dependency leakage

2008-06-23 Thread Bengali Bengali
e > tied to the maven assembly plugin > (Maven 2.0.8, assembly 2.1). > > I have a multimodule project and one assembly that is executed in 1 > project messes up dependencies on another. > (When i disable assembly plugin execution i don't have that behaviour). > >

Maven assembly plugin dependency leakage

2008-06-23 Thread Bengali Bengali
Hi, I started another thread from my previous one since my issue seems to be tied to the maven assembly plugin (Maven 2.0.8, assembly 2.1). I have a multimodule project and one assembly that is executed in 1 project messes up dependencies on another. (When i disable assembly plugin execution i

Re: Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-30 Thread Kent Närling
ing schrieb: > > Hi! > > > > I would like to be able to build a self-sufficient application package > from > > a project into a zip/tar, ie with all dependencies and a prepared scrip > to > > execute it. > > > > I have so far tried two approches: >

Re: Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-30 Thread [EMAIL PROTECTED]
Kent Närling schrieb: > Hi! > > I would like to be able to build a self-sufficient application package from > a project into a zip/tar, ie with all dependencies and a prepared scrip to > execute it. > > I have so far tried two approches: > > A, Using maven-assembly

Antwort: Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-29 Thread torsten . reinhard
"Kent Närling" <[EMAIL PROTECTED]> 30.05.2008 07:02 Bitte antworten an "Maven Users List" An users@maven.apache.org Kopie Thema Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin? Hi! I would like to be able

Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-29 Thread Kent Närling
Hi! I would like to be able to build a self-sufficient application package from a project into a zip/tar, ie with all dependencies and a prepared scrip to execute it. I have so far tried two approches: A, Using maven-assembly-plugin and creating my own assembly file This has two problems

Re: Assembly plugin with several descriptors

2008-05-23 Thread John Casey
e the plugin assembly is built first, maybe by specifying it as the first of the assembly plugin in your POM (this should work), or by attaching it via test (if it doesn't work). So, when you build your plugin zip, it'll have a filename other than what you want in your distro...like

Assembly plugin with several descriptors

2008-05-21 Thread Dobri Kitipov
descriptor (D1) have ZIP format, but I have the same format into the second descriptor (D2). As these two descriptors are specified to one given assembly plugin they share one common specified: maven-assembly-plugin 2.2-beta-2

Updating assembly plugin failed using Maven 2.0.7

2008-05-20 Thread Dobri Kitipov
Hi all, I have an issue updating the assembly plugin from 2.2-beta-1 to 2.2-beta-2 version. The exception thrown is the following: OS name: "linux" version: "2.6.9-55.elsmp" arch: "i386" [exec] [DEBUG] Building Maven user-level plugin registry from: '/ho

RE: Using a distribution built by the assembly plugin as a dependency...

2008-04-24 Thread Brian E. Fox
Actually yes: http://blogs.sonatype.com/brian/2008/04/17/120848550.html -Original Message- From: Michael Ransley [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 7:21 PM To: users@maven.apache.org Subject: Using a distribution built by the assembly plugin as a dependency

Using a distribution built by the assembly plugin as a dependency...

2008-04-24 Thread Michael Ransley
Hello, In the FAQ located at: http://maven.apache.org/plugins/maven-assembly-plugin/faq.html It says the following: "Can I use an artifact created by the assembly plugin as a dependency?" and the short answer is yes but it doesn't give an example. Does anyone have an example of

Problem using maven-assembly-plugin with multiple projects

2008-04-22 Thread Lamarre, Michael
classpath into the manifest, and I am also using the maven-assembly-plugin to bundle up the engines JAR file as well as all of its dependencies into a single ZIP archive. If I go into the eninges directory and do 'mvn install', the Class-Path in the manifest that is

Use of assembly plugin

2008-04-17 Thread Thomas Darbois
I'm ahving some trouble using assembly plugin. With the simpliest example, I'm having all files from the module in double in the assembled jar. Any ideas ? Tomas Darbois Edifixio Grenoble - Projet ScorWare 04 76 29 89 27 [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>

RE: Maven-assembly-plugin

2008-04-16 Thread Krishnamurthi, Venkat
esday, April 16, 2008 10:45 AM To: Maven Users List Subject: Re: Maven-assembly-plugin To change the format for the dependency artifacts, add something like the following to the dependencySet: ${artifact.artifactId}.${artifact.extension} For other options to fine-tune your assembly configuration

Re: Maven-assembly-plugin

2008-04-16 Thread John Casey
To change the format for the dependency artifacts, add something like the following to the dependencySet: ${artifact.artifactId}.${artifact.extension} For other options to fine-tune your assembly configuration, see: http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html -john

RE: Maven-assembly-plugin

2008-04-16 Thread Krishnamurthi, Venkat
Hi, I used the following assembly descriptor to create an assembly directory with my project's jar and all the jars that are it's dependencies: distribution dir false target

Maven-assembly-plugin

2008-04-16 Thread Krishnamurthi, Venkat
Hi, I used the following assembly descriptor to create an assembly directory with my project's jar and all the jars that are it's dependencies: distribution dir false target

Assembly plugin 2.2-beta-2 shows odd behavior regarding dependencies inclusion

2008-04-16 Thread TM
Hello, today I tried to upgrade the Maven assembly plugin from 2.2-beta-1 to 2.2-beta-2. However, I noticed that for my project which consists of multiple modules the resulting binary assembly now contains dependency JAR files multiple times. The assembly descriptor contains the following

assembly-plugin behaviour for duplicate dependency (but with different version)

2008-04-16 Thread aldana
hi, i am using dependency analyzer to pack my app. currently i want to remove some not-needed dependencies. what happened was that respective dependency was not included any longer but instead the same dependency but with different version got packed. so i guess that assembly plugin includes

Re: OutputDirectory Paths in the Assembly Plugin

2008-04-14 Thread Andrew Hughes
outputDirectory is actually part of the fileset :) my bad. geoserver-data zip src/main/config true . . On Tue, Apr 15, 2008 at 10:10 AM,

OutputDirectory Paths in the Assembly Plugin

2008-04-14 Thread Andrew Hughes
Hi All - Any help I can get with zip assembly would be much appreciated :) I'm trying to zip up everything in the ./src/main/config directory for a distro. I'm happy that when the zip is unpacked it unpacks the contents under.. ./artifactId-version/* However, it maintains the relative ./src/ma

assembly plugin dependency set multiple instances of jars

2008-04-09 Thread tadamski
seven consecutive times right before the project is zipped up. [Info] Processing DependencySet (output=lib) Then maven goes on and attempts to build Maven project for Artifact...each time Any insight would be very appreciative. -- View this message in context: http://www.nabble.com/assembly-p

<    2   3   4   5   6   7   8   9   10   11   >