Will toolchain work for maven-antrun-plugin ?

2008-12-05 Thread Anders Kristian Andersen
Hi I have just seen the toolchain feature in Maven 2.0.9 ++ Will it be possible to run maven-antrun-plugin in various JVM's My situation is that we use Weblogic 9.2 (and therefore JVM 1.5) for our builds But we have a few weblogic 8.x things that runs JVM 1.4 Therefore it could actually be

Re: scm:update

2008-12-05 Thread Olivier Lamy
-X in the mvn cli doesn't ? -- Olivier 2008/12/5 Danny Schimke [EMAIL PROTECTED]: Hello! I haven't much experience with Maven yet... In our Project we use the SCM- plugin. We use scm:update instead of svn up (cause: to long directory names in Windows) Is it possible to run scm:update with

Maven - build project from SVN

2008-12-05 Thread Harshal Joshi
Hi All, We are using SVN for repository for many of our projects, earlier for build I use to get latest from SVN and copy it to my local directory and from there I use to build it. Now I want to build directly from SVN without copy project to local directory. So can you please suggest me how can

Re: Maven - build project from SVN

2008-12-05 Thread Stephen Connolly
Hi, AFAIK, there is nothing you can do to avoid the project being checked out of SVN in order to build it. So ***If I understand your question correctly*** you are looking for a maven command that will do the checkout for you and then build locally, do you also want it to tidy up afterwards for

maven-antrun-plugin maven.compile.classpath does not respect systemPath

2008-12-05 Thread Anders Kristian Andersen
Hi Regarding http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html I have found that maven.compile.classpath does not respect systemPath Is this correct behaviour? I belive that dependency groupIdcom.bea.weblogic.server.lib/groupId

Maven - build project from SVN

2008-12-05 Thread Harshal Joshi
Hi All, We are using SVN for repository for many of our projects, earlier for build I use to get latest from SVN and copy it to my local directory and from there I use to build it. Now I want to build directly from SVN without copy project to local directory. So can you please suggest me how can

Re: deploying with maven and a production control/release management group?

2008-12-05 Thread martijnverburg
We used 2 solutions. 1.) Help them install Maven and then get them to execute a maven build that uses the scm plugin to get a tagged version 2.) Build it for them and simply hand them the WAR :) Cheers, Martijn On Dec 4, 2008 11:53pm, Rusty Wright [EMAIL PROTECTED] wrote: I was wondering

Maven Repository

2008-12-05 Thread prasanna.goupal
Hi All, Is there any way to download complete repository on my local machine instead of checking downloading required plaugins? Thanks in advance. Regards, Prasanna A. Goupal -- This electronic mail, together with the attached files, if

Re: Maven Repository

2008-12-05 Thread Baptiste MATHUS
Well, technically yes. But in practice no. Since mirroring the whole lot gives you a risk of being banned from the repository access for some time... Moreover the complete repo is many GB large and there's chances you will only use something like 2% or the whole... Better way is to install and

Re: Maven - build project from SVN

2008-12-05 Thread Harshal Joshi
Stephen, Thanks man!!! You understand my requirement correctly, I want to checkout files on local and build it locally but it should automatic process, I don't want to manually checkout files. I have gone through what you have suggested and check url also and applied scm stuff in pom file. my

Re: Maven Repository

2008-12-05 Thread Martin Höller
On 05 Dec 2008, prasanna.goupal wrote: Is there any way to download complete repository on my local machine instead of checking downloading required plaugins? Beside what Baptiste already wrote: you don't have to download plugins or dependencies manually, maven does this automatically for

RE: Maven Repository

2008-12-05 Thread prasanna.goupal
The problem here is that internet is not accessible from our build server. I need to download plugin on my machine first and then need to copy it on build server and so go on... Regards, Prasanna A. Goupal -Original Message- From: Martin Höller

Release aggregating parent poms

2008-12-05 Thread jallen
Could someone from the dev team possibly explain their process of releasing parent poms such as the maven-plugins. i see that the trunk of this includes modules for everything. However the release versions have this commented out. I presume this change is made just before a release is performed

Re: deploying with maven and a production control/release management group?

2008-12-05 Thread Siegfried Goeschl
We had a third solution 3.) Build it for them and simply give the company repo URL to download the WAR plus all the ready-to-use configuration files for their target environments Siegfried Goeschl [EMAIL PROTECTED] wrote: We used 2 solutions. 1.) Help them install Maven and then get them to

RE: Maven Repository

2008-12-05 Thread Ben Lidgey
And in addition using a maven repository manager (there are several free ones) also acts as a cache, so you can automatically get updates for artifacts in the repository without having to go and sync the whole thing again (and get banned again). Ben -Original Message- From: [EMAIL

Re: Good weblogic plugin?

2008-12-05 Thread Rémy Sanlaville
Hi , David : We are testing the Cargo weblogic (9.x and 10.x) implantation right now. I will try to let you know if it works fine or not. Scott : What are the difference between your weblogic plugin and Cargo weblogic implantation ? We rather want to use cargo because we have several J2EE

RE: Maven Repository

2008-12-05 Thread Ben Lidgey
Not even through a proxy? You could always run the repository manager on your machine, and copy the stuff onto the build machine from there (either manually or automatically). Ben -Original Message- From: prasanna.goupal [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 10:47 To:

RE: Maven - build project from SVN

2008-12-05 Thread Nord, James
Joshi, Your SCM url is incorrect. See http://maven.apache.org/scm/subversion.html /James -Original Message- From: Harshal Joshi [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 10:01 To: Maven Users List Cc: [EMAIL PROTECTED] Subject: Re: Maven - build project from SVN

why does a release consider all the projects in the reactor rather than just those in the hierarchy

2008-12-05 Thread jallen
Aggregators do not need to be the parent of their modules yet the release plugin assumes that all projects in the reactor are equal, for instance in terms of the checking for SNAPSHOTs etc. Yet as a rule, being simple humans we tend to inhert from the project above us. However doing so means

Re: why does a release consider all the projects in the reactor rather than just those in the hierarchy

2008-12-05 Thread Stephen Connolly
OK, here are my thoughts. I tend not use use the aggregator pom as the parent pom. I have a structure like: aggregator-pom + parent-pom + child-jar + child-jar etc. The aggregator uses parent-pom as it's parent too. You need to override some of the URLs as inheritance expects

Re: deploying with maven and a production control/release management group?

2008-12-05 Thread Rusty Wright
Is that company repo the maven repository? I haven't yet set up a local repository manager so I'm guessing that they're downloading the war via the repo's web interface? Siegfried Goeschl wrote: We had a third solution 3.) Build it for them and simply give the company repo URL to download

Re: deploying with maven and a production control/release management group?

2008-12-05 Thread Rusty Wright
Help them install Maven and then get them to execute a maven build that uses the scm plugin to get a tagged version. This is part of what I was wondering about. We also store the ultimate artifact, the war in this case, in the scm system; cvs for older projects and subversion for newer ones.

Re: Maven - build project from SVN

2008-12-05 Thread Rusty Wright
Mine looks like the following: scm developerConnectionscm:svn:svn+ssh://[EMAIL PROTECTED]/andsoforth/developerConnection /scm Harshal Joshi wrote: Stephen, Thanks man!!! You understand my requirement correctly, I want to checkout files on local and build it locally but it

Re: deploy archetype-catalog

2008-12-05 Thread Jason Voegele
On Thursday 04 December 2008 07:47:32 am Raphaël Piéroni wrote: Hi, Please consider raising a Jira http://jira.codehaus.org/browse/ARCHETYPE-223 -- Jason Voegele Truly great madness can not be achieved without significant intelligence. -- Henrik Tikkanen

properties substitution problem in pom

2008-12-05 Thread Rusty Wright
There's something about properties substition that I don't understand. I'm getting the error about a missing artifact, the coordinates for the artifact it's complaining about are jdbc-groupId-placeholder:jdbc-artifactId-placeholder:jar:version-jdbc-placeholder And the path message is Path

Does maven plugin configuration skip option is managed by the plugin?

2008-12-05 Thread Mapo
Hi, I would like to use the proguard plugin and be able to run it only at night using a property. For example: mvn install -Dskip.proguard=false And by default it won't do it. That will speed up our build time. I try this : properties skip.proguardtrue/skip.proguard /properties . . .

Re: properties substitution problem in pom

2008-12-05 Thread Rusty Wright
I got it to work by being less aggressive about using property placeholders; now the dependencyManagement dependencies use a specific groupId and artifactId. Likewise for the dependency section in the cars-download pom. But I'm still confused about why it wasn't working. It seems like it's

splitting apart a web app

2008-12-05 Thread Rusty Wright
I haven't seen this in the examples in the 2 maven books and I was wondering if it's perhaps not a good idea. I was thinking of splitting my web app so that I have a cars-war project where in the scm it contains only things like the jsps, no java code. In its pom it will specify a dependency

Re: deploying with maven and a production control/release management group?

2008-12-05 Thread Siegfried Goeschl
Hi Rusty, +) you can use an additional company repo where you deploy your very own releases. In effect you have three repos then : local - company - public +) it is enough to run an Apache to server the repo - as it is done on repo1.maven.org Cheers, Siegfried Goeschl Rusty Wright wrote: Is

RE: splitting apart a web app

2008-12-05 Thread Todd Thiessen
The defintive guide has a good example of a multi-module web app which may point you in the right direction. http://books.sonatype.com/maven-book/reference/multimodule.html --- Todd Thiessen -Original Message- From: Rusty Wright [mailto:[EMAIL PROTECTED] Sent: Friday, December 05,

Re: Does maven plugin configuration skip option is managed by the plugin?

2008-12-05 Thread Wayne Fay
I would like to use the proguard plugin and be able to run it only at night using a property. For example: mvn install -Dskip.proguard=false And by default it won't do it. That will speed up our build time. Each individual plugin must have code in the plugin itself to manage the skip

Re: splitting apart a web app

2008-12-05 Thread Rusty Wright
I looked at that but they're not splitting it down to the level that I'm trying. Todd Thiessen wrote: The defintive guide has a good example of a multi-module web app which may point you in the right direction. http://books.sonatype.com/maven-book/reference/multimodule.html --- Todd Thiessen

Maven consultant

2008-12-05 Thread Brett . Albertson
We are having a problem getting our applications to build. we have exhausted our in house resources and are considering bringing in a Maven Consultant. can somebody point me to a resource for finding Maven Consultants? Brett Albertson Team Manager, Zoot Engineering 406-556-8819 / [EMAIL

Re: Plugin that bundles Jetty + Webapp for release

2008-12-05 Thread Brian Fox
We use the assembly plugin to put the nexus bundle together. I have a Plugin mostly written that can do it also but it's focused on using plexus and jsw in the bundle. --Brian (mobile) On Dec 4, 2008, at 5:20 PM, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi Stephan, I doubt there is

Re: Maven Repository

2008-12-05 Thread Brian Fox
Trying to download all 70gb from central will likely get you banned. Instead use a repository manager and let it cache the things you actually need. --Brian (mobile) On Dec 5, 2008, at 4:24 AM, prasanna.goupal [EMAIL PROTECTED] wrote: Hi All, Is there any way to download complete

Re: ConversionException

2008-12-05 Thread Dmitry Beransky
I wish I remembered since I just got this error again. On Thu, Nov 6, 2008 at 5:44 AM, eznibe [EMAIL PROTECTED] wrote: Hi, Did you find the problem, since im now getting the same exception thanks Dmitry Beransky-3 wrote: Hi, what could be causing this exception (in maven 2.0.9)?

APT and the maven-compiler-plugin

2008-12-05 Thread Mark Derricutt
Is it possible to easily add annotation processors into the maven-compiler-plugin? Looking at the docs I see I can add a compilerArgument element and pass in the -processorpath argument, but how do I generate the path to a dependency? Ideally, i just want to add a dependency block into the

Deploying a mult-module bundle artifact without including the bundle's dependencies

2008-12-05 Thread Brian Whipple
I have a multi-module project parent project that contains multiple child projects. I want to distribute a single jar that is a bundle or aggregation of all the child project Java classes. In addition, I want to distribute a test jar that is a bundle or aggregation of all the child project