Re: [m2] plugins vs dependencies

2005-11-05 Thread dan tran
Jeff, Invoking junit is part of maven-core, but the user have to declare junit as dependency with test scope with their own version. ie junit is not a plugin. you dont specify plugin as dependency but as plugin declaration in However, you can use pluginManagement at root pom to ensure all child

Re: [m2] 's

2005-11-05 Thread dan tran
Normally, maven looks for parent pom with this order immeditate parent directory local repo remote repo So the parent pom.xml in parent dir, must have the groupID and artifacID found in child pom But there is a bug that may be your problem too http://jira.codehaus.org/browse/MNG-740 -D O

[m2] 's

2005-11-05 Thread Jeff Jensen
Hi, In , how does one use ? I can only get POM inheritance to work if I have done a "mvn install" on the parent project. Then the component projects find it in the local private repo. I'm sure I just don't understand something yet. If there is docs on it, please give me an RTFM link! TIA ---

[m2] plugins vs dependencies

2005-11-05 Thread Jeff Jensen
Hello, If I understand plugins and dependencies correctly, JUnit is a plugin. Yet, the POM examples I see have it as a dependency. It seems useful to have it as a dependency, as then one can use test. I don't know how one could specify a dependency as a plugin, but vice-versa is true (and commo

Re: How to add JARs into MANIFEST.MF's class-Path entry in Maven 2?

2005-11-05 Thread Jesse McConnell
its pretty easy really here is example of the war plugin automatically generating the classpath.. maven-war-plugin true the same holds true for the others as well (as far as I have found) cheers, jesse On 11/5/05, Thomas Phan <[EMAIL PROTECTED]> wrote: > > Dear all, > > How many I

Re: [M2] war project using war type dependencies

2005-11-05 Thread Kevin Galligan
Ok, I took a stab at it. It works, although its somewhat ugly. I modified 'AbstractWarMojo.java' to read in a war dependency, overlay it on the build directory files, and merge both wars' web.xml files (by way of org.codehaus.cargo.module.webapp.WebXmlMerger). It works, which is good enough

How to add JARs into MANIFEST.MF's class-Path entry in Maven 2?

2005-11-05 Thread Thomas Phan
Dear all, How many I do something like below: true true Or true true In Maven 2? Thanks Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Missing SAX parser with Java 5?

2005-11-05 Thread Jochen Wiedmann
Hi, I am trying to convert a first program (Apache XML-RPC) from Maven 1 to Maven 2. After doing eclipse:eclipse, my unit tests run fine within Eclipse. However, "mvn test" fails with the following exception: javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.S

JarJar missing...

2005-11-05 Thread Guillaume Laforge
Hello, The Groovy project uses jarjar in its M1 build, and we recently noticed that jarjar-0.5.jar is missing from the ibiblio repository. There used to be a tonic folder containing the version 0.5. And now, there's only a jarjar folder containing and old 0.2 version. Could jarjar-0.5.jar be bac

[m2] work in progress location for any docs?

2005-11-05 Thread Jeff Jensen
The docs page http://maven.apache.org/guides/index.html has some nice ones. Is there a work-in-progress version I can read on this one: Guide to creating a multi-module build http://maven.apache.org/guides/mini/guide-multi-module.html ? I am ramping up on m2, have a successful "install" of the

Re: Strange M2 behavior

2005-11-05 Thread Oscar Picasso
-- Kenney Westerhof <[EMAIL PROTECTED]> wrote: > On Sat, 5 Nov 2005, Oscar Picasso wrote: ... > > Furthermore in any case the resulting jar contains the following: > > META-INF/ > > META-INF/MANIFEST.MF > > ... > > META-INF/maven/ > > META-INF/maven/org.trial/ > > META-INF/maven/org.trial/test/ >

Re: Strange M2 behavior

2005-11-05 Thread Oscar Picasso
Hi, Thanks for your input. It helped a lot. I overlooked the "Getting started guide..." maybe after reading "This guide is intended as a reference for those working with Maven for the first time..." I jumped directly to the Documentation section. Too many docs to read these days, and not enough

Re: Strange M2 behavior

2005-11-05 Thread Kenney Westerhof
On Sat, 5 Nov 2005, Oscar Picasso wrote: > Hi, > > I have happily used maven 1.0 and trying to switch to M2 mainly because I want > to work with modules. But I have some difficulties to understand how it is > supposed to work. > > I have tried the following: > > mvn archetype:create -DgroupId=org.

Re: Strange M2 behavior

2005-11-05 Thread Jason van Zyl
On Sat, 2005-11-05 at 09:07 -0800, Oscar Picasso wrote: > Hi, > > I have happily used maven 1.0 and trying to switch to M2 mainly because I want > to work with modules. But I have some difficulties to understand how it is > supposed to work. > > I have tried the following: > > mvn archetype:crea

Strange M2 behavior

2005-11-05 Thread Oscar Picasso
Hi, I have happily used maven 1.0 and trying to switch to M2 mainly because I want to work with modules. But I have some difficulties to understand how it is supposed to work. I have tried the following: mvn archetype:create -DgroupId=org.trial -DartifactId=test cd test mvn jar:jar and I get .

Re: [m2] multi-module support broken in assembly-plugin ?

2005-11-05 Thread Kenney Westerhof
On Sat, 5 Nov 2005, Christian Schulte wrote: > Hi, > > Could it be that the assembly plugin does not support multi-module > projects correctly ? > I have the following project structure: > > Root > |--Module1 > |--Module2 > |--Module3 > > So somewhere in Root's pom.xml I have > > > Module1 >

maven2 jnlp plugin

2005-11-05 Thread wireframe . 14937378
I see on the plugin matrix (http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix) that a jnlp plugin is available for Maven2, but where can it be found? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Multiproject help

2005-11-05 Thread Arnaud HERITIER
Hi > > Hi, > I'm using Maven 1.x and I'm also new at Maven... I > have a simple multi-project that has 2 sub-projects: A and B, > A is dependent on B. I was able to run multiproject:install > on the project successfully by providing dependencies in A's > project.xml. But when I ran mu

RE: [m-1.1b2] cruisecontrol plugin exception "

2005-11-05 Thread Arnaud HERITIER
I didn't used it with CC 2.3.1. Can you open an issue please ... http://jira.codehaus.org/browse/MPCRUISECONTROL Arnaud > -Message d'origine- > De : Antonyan, Tigran(GE Infrastructure) > [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 4 novembre 2005 21:19 > À : Maven Users List > Objet

Re: [m2] multi-module support broken in assembly-plugin ?

2005-11-05 Thread Anuerin Diaz
hi, i just use the src\main\assembly\dep.xml to manage my assemblies[1] but i am using the assembly:directory goal to package my artifacts because i just need to put all artifacts in a certain directory. or am i not understanding your problem correctly? [1] http://maven.apache.org/maven2/g