RE: setting properties

2004-03-02 Thread Andreas.Ebbert
Hi Ryan, I tried to figure out exactly the same thing as you, without success so far. Look in the archive for the thread setting plugin properties in maven.xml.  _ __  _  _ //\ndreas.[|-bbert(a)[|\|okia.com    `- Andreas Ebbert    Software Design Engineer - Nokia

RE: setting properties

2004-03-02 Thread Andreas.Ebbert
Hi, -Original Message- From: ext Sonnek, Ryan [mailto:[EMAIL PROTECTED] Thanks for the reply. I can't say I fully understand why it's needed from within maven.xml and not from the command line, unless settings passed from the command line are wrapped up and fed into maven's

Re: / /OREF:CPTAFE7A Deploy artifact method

2004-03-02 Thread Andrew Chapman
The artifact plugin does this. I changed my jar plugin to use artifact:deploy instead of deploy:artifact so I could deploy jars to the file system. Andy

AW: Launching BeanShell/Groovy from Maven?

2004-03-02 Thread Jörn Gebhardt
Hi James, You can use Ant to launch another program. Here is a Jelly script sniplet that we used to launch a JVM (we launched the Axis Admin Tool to merge wsdds). Maybe that helps you. !-- define classpath: -- ant:path id=wsdd.merge.classpath ant:path refid=maven.dependency.classpath/

Including jars in our projects (Web and not)

2004-03-02 Thread Marco Tedone
Hi, I'm using the war plugin for the first time. Let's say that my web application depends on a jar and that this jar should be available only to my web application (and it's application specific). Is there a way to include it automatically under WEB-INF/lib? Also related to this issue, there is

Re: Including jars in our projects (Web and not)

2004-03-02 Thread Andrew Chapman
1. If you look at the war plugin docs you'll see the war.bundle dependency property e.g: dependency groupIdjdom/groupId artifactIdjdom/artifactId versionb9/version properties war.bundletrue/war.bundle /properties /dependency 2. There may be a better

RE: setting properties

2004-03-02 Thread Andreas.Ebbert
Hi Heiko, -Original Message- From: ext Heiko Kundlacz [mailto:[EMAIL PROTECTED] Maybe it helps to check the deploy plugin. The deploy plugin will be invoked from within the jar plugin. And if I am not wrong, some properties will be set in the jar plugin. Thanks for the tipp. I

Re: setting properties

2004-03-02 Thread Heiko Kundlacz
Maybe it helps to check the deploy plugin. The deploy plugin will be invoked from within the jar plugin. And if I am not wrong, some properties will be set in the jar plugin. Heiko [EMAIL PROTECTED] wrote: Hi, -Original Message- From: ext Sonnek, Ryan [mailto:[EMAIL PROTECTED]

Re: Including jars in our projects (Web and not)

2004-03-02 Thread Andrew Chapman
No. maven.repo.local is where maven keeps it's local repository. You're free to change it but that won't achieve anything. If you want to include jar's that aren't in the repository then just change the dir attribute of zipgroupfileset to somewhere else. Andy

AW: copy all jars/deps of sub-projects with reactor

2004-03-02 Thread Jens Zastrow
How can I specifiy the projectDescriptor of deploy:copy-deps ?! does something like below not work ? deploy:copy-deps todir=${maven.build.dir} projectDescriptor=${x.getFile()}/ this worked but only the deps of the file (x.getFile()) are used. but I use extend in these project.xml files with

Re: copy all jars/deps of sub-projects with reactor

2004-03-02 Thread Heiko Kundlacz
Andreas, you are right. I am also checking always the plugins to see what is possible within maven and jelly. Sometimes I gave the tip to check some plugins to know what is going on. I think, there will be a growing documentation and the plugins will go better and much more configurable. It

Re: Launching BeanShell/Groovy from Maven?

2004-03-02 Thread James Strachan
On 2 Mar 2004, at 08:34, James A. Hillyerd wrote: Okay, so I guess I was too impatient to wait for an answer to my question! After a bunch more research and some trial and error, I came up with the following maven.xml: project default=java:compile xmlns:j=jelly:core xmlns:u=jelly:util

RE: copy all jars/deps of sub-projects with reactor

2004-03-02 Thread Gilles Dodinet
deploy:copy-deps todir=${maven.build.dir} projectDescriptor=${x.getFile()}/ everytime I read something like this on this list, I wonder how you can know that this es even possible. Where do I have to look to find out, that there is a property defined reactorProjects and that a getFile()

Including the uberjar in a binary distribution

2004-03-02 Thread Sean Kelly
The dist goal's binary distribution includes README and LICENSE files, documentation, and a jar. But it doesn't include any uberjar. Short of overriding the dist:prepare-bin-filesystem goal, is there a clean or preferred way to get the uberjar into the binary distribution? Thanks. -- Sean

RE: multiproject:artifact, SNAPSHOT dependencies and the reposito ry

2004-03-02 Thread Kalaveshi, Adrian
I also don't believe that Maven checks to see which SNAPSHOT is newer. Maven seems to always download it -- even if they are identical. Anyone have a definitive answer for this? I'm using 1.0-rc1. Using the -o option isn't sufficient enough. I'd like to avoid downloading SNAPSHOT jars of my

adding a folder to the dependencies

2004-03-02 Thread Marco Herrn
Hi, im managing a java app with maven. This app searches for a specific file in the classpath. Because of this I had to add a folder (where the file resides) to the classpath. Now, how do I tell maven that this folder is a dependency? I also need this for the maven eclipse goal to generate the

Re: multiproject:artifact, SNAPSHOT dependencies and the reposito ry

2004-03-02 Thread Ben Walding
Nope, Maven does check the date - it uses the http protocol to only download as required. However I think there might be some issues in it - possibly even in the ibiblio web server / dates on the server (see my earlier email today) I'll take a further look when I code up the snapshot

RE: multiproject:artifact, SNAPSHOT dependencies and the reposito ry

2004-03-02 Thread Maczka Michal
Ben: I think that such problem exists and it is certainly not limited to ibiblio only. I have the same exact bug when I am working with intranet web server. I don't know if this is problem of maven it self, web server caching, proxy server caching etc. I am too busy to look into it at the

RE: multiproject and clean:clean

2004-03-02 Thread Maczka Michal
-Original Message- From: Jens Zastrow [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 3:43 PM To: Maven Users List Subject: multiproject and clean:clean I have 2 subprojects A, B B depends on A (has a dependency) If i invoke multiproject:clean i

AW: multiproject:artifact, SNAPSHOT dependencies and the reposito ry

2004-03-02 Thread Jörn Gebhardt
Hi Ben, maybe there is also a difference between SNAPSHOT and versioned SNAPSHOT jars. I.e. if your project A has a currentVersion like '1.1-SNAPSHOT' and you create the jar with 'maven jar:install' you'll have a 'a-1.1-SNAPSHOT.jar' in your local repository. In this case if a project B has a

Re: setting properties

2004-03-02 Thread Oliver Nölle
Any pointers on how to set properties from within my maven.xml? I've got a short custom goal to set properties, then call install: goal name=all:install j:set var=maven.test.skip value=true / attainGoal name=multiproject:install-snapshot / /goal I just ran into the same

RE: setting properties

2004-03-02 Thread Sonnek, Ryan
Still no luck for me, could this be multiproject related? When I echo the property in my master project, the property is set fine, but once the call goes into a subproject the property is lost. The property stays set from one project to the next if it is passed from the command line.

Dependencies

2004-03-02 Thread Dandeneau, David J. (LNG-DAY)
We are evaluating maven for use at our company, but we are having a difficult time figuring out how maven's notion of dependencies can work with our process. The main difficulty is that we need to be able to reproduce a build at any given time. We are troubled by the idea that the repository is

Re: Dependencies

2004-03-02 Thread Christopher W. Farnham
That depends on what you mean by source controlled. The dependencies are source controlled in the sense that the dependencies are recorded in the project.xml file for each release or build. At my company we have a company repository set up that has all of our jar dependencies. For each build

JDK 1.5 is out, and it breaks Maven

2004-03-02 Thread Berin Loritsch
Thanks to the new JDK 1.5 installer, the default location to install both the runtime and the developer kit is within the %PROGRAM_FILES% directory. That means a space is in the path to the java command no matter how you slice it. The current maven script for Cygwin compatibility does not

Re: AW: copy all jars/deps of sub-projects with reactor

2004-03-02 Thread Gilles Dodinet
Jens Zastrow wrote: How can I specifiy the projectDescriptor of deploy:copy-deps ?! does something like below not work ? deploy:copy-deps todir=${maven.build.dir} projectDescriptor=${x.getFile()}/ this worked but only the deps of the file (x.getFile()) are used. but I use extend in

WebSphere AppServer 4.0 Plugin v1.1 released

2004-03-02 Thread dion
The Maven-Plugins SourceForge team is pleased to announce the WebSphere AppServer plugin 1.1 release! http://maven-plugins.sourceforge.net/maven-was40-plugin/ The Maven WebSphere AppServer plugin contains goals useful for deploying and managing applications on IBM's WebSphere Application