Re: Configuring repositories

2011-02-26 Thread Brett Porter
On 26/02/2011, at 1:41 PM, Mark wrote: How can I configure maven to first check all the default repositories and if a jar is not found THEN check our corporate repo (Archiva)? I've added the following to settings.xml however It tries to connect to this repo first, not last. idFoo/id

Re: Configuring repositories

2011-02-26 Thread Stevo Slavić
You can use a profile and configure corporate repo in it, this profile should not be active by default, activate that profile only when you're on corporate VPN, when corporate repo is accessible. You can find more details on activating profiles and build profiles in general here:

Assembly plugin to produce an EAR archive

2011-02-26 Thread Celinio
Hi, I have this multiple module project where one module is the parent and 2 other modules are children. One child module produces a JAR and the other child module produces a WAR archive (webapp). I would like to use the assembly plugin to join these 2 archives inside an EAR archive. Is there

Re: Assembly plugin to produce an EAR archive

2011-02-26 Thread Anders Hammar
Normally, you ear plugin should fit your needs. If it turns out not to do all you want it to do, then possibly look at the assembly plugin. /Anders On Sat, Feb 26, 2011 at 16:11, Celinio cel...@yahoo.com wrote: Hi, I have this multiple module project where one module is the parent and 2

Re: Generating site content with Maven 2 site-plugin

2011-02-26 Thread Karl Heinz Marbaise
Hi, So that is the next thing to tackle is trying to make this platform agnostic. you can use profiles for exactly this purpose. http://maven.apache.org/guides/introduction/introduction-to-profiles.html http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireOS.html Based on the

Re: poll: Best web framework 2011

2011-02-26 Thread Wayne Fay
based on a test from Matt in 2007, I've created a poll to find out what the best Web framework you know. Here's the survey: http://www.doodle.com/bga6m28r26iazzpb?newDesign=false Perhaps you'll be kind enough to follow up in a couple weeks when you've tallied the results? Just reply to this

Determine how a plugin was executed

2011-02-26 Thread Anders Hammar
Is it possible to determine, from within a mojo execution, how it was executed? That is, was it called from command line or was it started by being bound to the lifecycle. /Anders

Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-26 Thread sebb
I uploaded commons-parent POM 19-SNAPSHOT to the snapshot repo [1], and then deleted it from my local repo (because I want to test how it will work for others). When I try to depend on it as a parent, i.e. parent groupIdorg.apache.commons/groupId