Unexpected behavior in parsing modelVersion element (mvn 2.2.x)

2010-02-25 Thread Jonathan Gold
I'm using 2.2.x and was surprised to find that, while valid XML, the following are not valid in a pom.xml: modelVersion 4.0.0 /modelVersion or modelVersion 4.0.0 /modelVersion I had expected that the maven xml parser would be normalizing the whitespace, but looked in

Re: Help understanding install:install-file and -Dsources or -Djavadoc

2009-12-30 Thread Jonathan Gold
version of the plugin are you using? sources and javadoc params were added in v2.3. /Anders On Sat, Dec 12, 2009 at 02:15, Jonathan Gold jgold...@gmail.com wrote: Based on what I read in the install-file doc here: http://maven.apache.org/plugins/maven-install-plugin/install-file

Help understanding install:install-file and -Dsources or -Djavadoc

2009-12-11 Thread Jonathan Gold
Based on what I read in the install-file doc here: http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html I was under the impression that the following command line would install local binary, javadoc, and source jars: mvn install:install-file \

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-24 Thread Jonathan Gold
this stuff, I'm all for it. jon On Fri, Nov 20, 2009 at 01:42:27PM -0800, Jamie Whitehouse wrote: Yes, thanks for clarifying Brian. Jon, I'm still wondering why you're adverse to running mvn clean install? -Original Message- From: Jonathan Gold [mailto:jgold...@gmail.com] Sent: Friday

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-20 Thread Jonathan Gold
are reactor aware, but dependency:tree isn't.  I'm not too sure why, but you could search the issue tracker and if there's no issue for this file one. -Original Message- From: Jonathan Gold [mailto:jgold...@gmail.com] Sent: Thursday, November 19, 2009 3:00 PM To: users

Re: How do I prevent maven from searching my own artifacts in public repositories ?

2009-11-19 Thread Jonathan Gold
Torsten -- I had the same problem with poms I installed locally using the install:install-file task. Once I added '-DgeneratePom=true' to that command, I noticed that maven no longer attempted to search the public repos. I'm new to maven, so I can't confirm why this happened, but I suspect it had

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-19 Thread Jonathan Gold
. Hope that helps. Jamie. -Original Message- From: Jonathan Gold [mailto:jgold...@gmail.com] Sent: Thursday, November 19, 2009 12:52 PM To: users@maven.apache.org Subject: Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works? Brian -- Thanks for your help so

Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-18 Thread Jonathan Gold
Hi -- I'm trying to track down some other depdendency issues in my project using dependencies:tree, but am getting errors that a module isn't found. I have my project set up with a parent pom and a list of modules, each referencing the parent, etc. Essentially, I have this: pom.xml #

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-18 Thread Jonathan Gold
this mojo doesn't use maven reactor at all, and probably mod_c is ordered in list of modules in your parent module after mod_d. Regards, Stevo. On Wed, Nov 18, 2009 at 6:37 PM, Jonathan Gold jgold...@gmail.com wrote: Hi -- I'm trying to track down some other depdendency issues in my

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-18 Thread Jonathan Gold
on a SNAPSHOT version of mod_c? Do you have that version installed in your local repo? I have used dependency tree many time on a large mutli-module project so I can attest that it does work in some form. -Original Message- From: Jonathan Gold [mailto:jgold...@gmail.com] Sent: Wednesday

Format for manually creating source and javadoc bundles?

2009-11-17 Thread Jonathan Gold
Hi -- I'm new to Maven, and think it seems nice, but am having some problems finding the details on what the layout is for a source bundle. I've searched the web a good bit, and can find lots of info about the source plugin used to generate them, but not about the expected format of a source

Re: Format for manually creating source and javadoc bundles?

2009-11-17 Thread Jonathan Gold
(Minor edit: I meant that I'm targeting maven 2.2 users, not 2.1) jon On Tue, Nov 17, 2009 at 09:34:44PM -0800, Jonathan Gold wrote: Hi -- I'm new to Maven, and think it seems nice, but am having some problems finding the details on what the layout is for a source bundle. I've searched

Re: Format for manually creating source and javadoc bundles?

2009-11-17 Thread Jonathan Gold
of the file you choose. I use WinZip for this. *-docs.jar - same above except for the javadoc site Paul On Tue, Nov 17, 2009 at 11:34 PM, Jonathan Gold jgold...@gmail.com wrote: Hi -- I'm new to Maven, and think it seems nice, but am having some problems finding the details on what