Re: Web app not workin when compiled via Maven.

2011-05-12 Thread Jamshed Katta
Thank you Wayne, I will remember that next time. -- View this message in context: http://maven.40175.n5.nabble.com/Web-app-not-workin-when-compiled-via-Maven-tp4384067p4389380.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: How to skip phases?

2011-05-12 Thread Stephen Connolly
On 12 May 2011 01:21, Barrie Treloar baerr...@gmail.com wrote: On Thu, May 12, 2011 at 5:20 AM, EJ Ciramella ecirame...@casenetinc.com wrote: Starting and stopping maven like that will be slower than just doing a mvn clean install to begin with. Yeah, but I've seen odd behaviour doing them

Re: Execute a plugin after execution of another plugin

2011-05-12 Thread Eike Kettner
Hi I once came across the aggregate plugin: http://code.google.com/p/maven-aggregate-plugin/wiki/Usage i never tried it though, but might be helpful... regards Eike On [Wed, 11.05.2011 11:52], Konrad Bernstein wrote: Hi, I want to execute a plugin after execution of another plugin

Re: Execute a plugin after execution of another plugin

2011-05-12 Thread Anders Hammar
I get worried only reading the first page and their example project where they have a dependency to the maven-antrun-plugin declared. That is so wrong... /Anders On Thu, May 12, 2011 at 11:36, Eike Kettner n...@eknet.org wrote: Hi I once came across the aggregate plugin:

Re: Execute a plugin after execution of another plugin

2011-05-12 Thread Stephen Connolly
I have a sneaky feeling that the plugin does not understand about how the reactor works... which would leave you no better off than using the maven-invoker-plugin on your own pom with an invoker.properties to define what needs to get invoked (and at least that's an official plugin) On 12 May 2011

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Alex Lopez
Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty 11.04 64-bit) and installed maven 3. In maven 3.0.3, (I have not seen it with maven

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Alex Lopez
Now this got me thinking, my intuition is that this might be a network related problem... maybe maven 2 had shorter timeouts, hence not appearing to hang, does Maven 3 download more than one dependency at the same time? Does this behavior differ from version 2? Why hitting ^C under such

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Tim Pizey
On 12 May 2011 11:50, Alex Lopez wrote: Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty 11.04 64-bit) and installed maven 3. In

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Anders Hammar
Yes, Maven 3 should download artifacts in parallell. But Maven 2.2.1 also does that (this feature was introduced in 2.1.0 IIRC). But it is likely two different implementations. /Anders On Thu, May 12, 2011 at 13:01, Alex Lopez alo...@flordeutopia.pt wrote: Now this got me thinking, my

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Alex Lopez
Em 12-05-2011 12:02, Tim Pizey escreveu: On 12 May 2011 11:50, Alex Lopez wrote: Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty

order of the unpacking from unpack-dependencys

2011-05-12 Thread David Bräutigam
Hello,, i have the following strange problem with the unpack-dependencys in my pom. What i want is to unpack the scripts i need in the deploy directory. The problem is that i have multiple modules with the same scripts. Therefor to have a correct result they must be overwritten in the right

Re: order of the unpacking from unpack-dependencys

2011-05-12 Thread Asmann, Roland
Hi, You could perhaps try the unpack goal... You do have to add all the dependencies again, but that one should take the order in which the artifacts are listed. Roland On 12-05-11 15:52, David Bräutigam wrote: Hello,, i have the following strange problem with the unpack-dependencys in my

Re: order of the unpacking from unpack-dependencys

2011-05-12 Thread Michael Haefele
Or use maybe use both. Put an excludes in for the unpack-dependencies mojo to exclude all scripts and then use an includes in the unpack mojo for just the scripts you actually want from the proper artifact. Over-writing in the right order seems like the sort of thing that will eventually come

Re: How can I have a goal depend on another goal?

2011-05-12 Thread trant
Hi John, Thanks for the reference to Cargo. It looks like a cool plugin but according to the documentation it falls short - it does not seem to support remote deploy- something which I need. Only now during initial development am I deploying to local instance of WebLogic, however soon when

Run plugin during release on all modules

2011-05-12 Thread Ben Tatham
I have a custom plugin that I run on all our projects as part of the release:perform goal. We are just starting to use multi-module builds, and I notice that my plugin only runs at the top module. What do I have to do to my plugin to make it run on all the modules individually at the end of the

Re: Web app not workin when compiled via Maven.

2011-05-12 Thread Wayne Fay
Did you resolve your problem? It seemed like you were most likely missing a dependency. Wayne On Thu, May 12, 2011 at 1:09 AM, Jamshed Katta jamshed.ka...@wwindia.com wrote: Thank you Wayne, I will remember that next time. -- View this message in context:

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Andrew Robinson
They are going through my proxy, why would you think I am hitting them directly? I have my proxy setup in my settings.xml. It is working most of the time, if it were the fact that my proxy was not used, it would fail 100% of the time (all internet traffic must go through our proxy at work).

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Wayne Fay
They are going through my proxy, why would you think I am hitting them directly? I'm OK with the proxy. I'm confused about the Archiva repo you have installed. I should not have said proxy when I really meant MRM/Archiva. Your log shows that your build is hitting Archiva and then also hitting

help - how to reduce the build time using mvn and cargo

2011-05-12 Thread javadaisy
Hi, I am using maven 2.2.1 with cargo plugin to deploy into the local and remote host. It takes around 7 to 8 minutes to build and deploy the war. I would like to reduce the time to 3 minutes or less than 3 minutes. can anybody please tell me how to do that?. I tried adding set

Re: How can I have a goal depend on another goal?

2011-05-12 Thread Anders Hammar
Cargo does support remote deployment. If you switch to the cargo mailing list, we'll help you. /Anders On Thu, May 12, 2011 at 16:58, trant mmo...@webatrocity.com wrote: Hi John, Thanks for the reference to Cargo. It looks like a cool plugin but according to the documentation it falls

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread Anders Hammar
Seriously, what kind of answer are you expecting to this question? There isn't any magic configuration like -DreduceBuildTime=true. /Anders On Thu, May 12, 2011 at 18:53, javadaisy javada...@gmail.com wrote: Hi, I am using maven 2.2.1 with cargo plugin to deploy into the local and remote

RE: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread Martin Gainty
-DGetPaidForSomeoneElseDoingMyJobForMe=true Only in Amerika! Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread John Singleton
Well, the first step would be determining exactly where your build is spending its time - compiling, building the war, deploying the war (locally and/or remotely)? If your current build output doesn't give enough information, try mvn -X for more verbose output. Then you will have a better idea

Maven JarSigner and timestamp authority

2011-05-12 Thread Dahanne, Anthony
Hello Maven users, I'm in the process of mavenizing an ant build (alright !) but there is a step, signing, that seems not that obvious to achieve. I can use the maven jar signer and sign my jars ok , with : plugin groupIdorg.apache.maven.plugins/groupId

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Andrew Robinson
Okay, good to know, I'll forward that question onto the fellas that configured our settings.xml and pom.xml files for mvn3. On Thu, May 12, 2011 at 10:12 AM, Wayne Fay wayne...@gmail.com wrote: They are going through my proxy, why would you think I am hitting them directly? I'm OK with the

RE: Nested artifacts

2011-05-12 Thread EJ Ciramella
Thanks all who have replied! So the first part of the problem is the zip contains multiple rar files, but only one needs to be unpacked and tinkered with. You can't put a dependency on anything that doesn't exist when maven tries to validate the poms and resolve the dependencies. So what I

RE: order of the unpacking from unpack-dependencys

2011-05-12 Thread EJ Ciramella
If you have multiple unpack steps, what are their ID's? Or are you saying you have one unpack step with multiple artifacts given? -Original Message- From: David Bräutigam [mailto:david.braeuti...@googlemail.com] Sent: Thursday, May 12, 2011 9:53 AM To: users@maven.apache.org Subject:

RE: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread EJ Ciramella
I giggled at the first few replies to this thread, but now I'm curious - when you're finished building, and maven presents the summary output, which modules are taking the longest time and what exactly are they doing? Hi, I am using maven 2.2.1 with cargo plugin to deploy into the local and

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread javadaisy
Thanks for pointing me to the right direction. For clean and compile it takes around 1Min and it takes around 3 1/2 mins for packaging the war file. -- View this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4391561.html

settings.xml problems

2011-05-12 Thread Eric Kolotyluk
I keep getting 12/05/11 3:17:12 PDT PM: Could not read settings.xml, assuming default values Now for the back-story. Everything was fine, I am using Sonatype m2e and love it. I also have the regular maven release installed, although that is not a requirement for m2e. I've been trying to

RE: settings.xml problems

2011-05-12 Thread Martin Gainty
Eric- you can define settingsFile for npanday plugin as : mvn npanday.plugin:maven-vsinstaller-plugin:install -DsettingsFile=$USER_HOME\.m2\settings.xml could you briefly educate our members on a project called kenai? Martin Gainty __ Verzicht und

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread Ron Wheeler
On 12/05/2011 12:53 PM, javadaisy wrote: Hi, I am using maven 2.2.1 with cargo plugin to deploy into the local and remote host. It takes around 7 to 8 minutes to build and deploy the war. I would like to reduce the time to 3 minutes or less than 3 minutes. can anybody please tell me how to