Re: cobertura and surefire 2.4.1 - is it working?

2008-02-09 Thread Erez Nahir
Just found that if changing forkMode from never to once, it works. Erez. On Feb 9, 2008 10:56 PM, Erez Nahir <[EMAIL PROTECTED]> wrote: > Hi, > > I have being going through most documentation and bugs for > cobertura/surefire. > Tried all possible versions and configuration, but nothing works. >

Re: Maven Concepts

2008-02-09 Thread Rahul Thakur
Ah, gotcha! May be we should update the help message then to something like: "Forces a check for newer releases and updated snapshots on remote repositories" Cheers, Rahul Wayne Fay wrote: It really depends on what you mean by "checked for updates"... SNAPSHOTS are checked for new versions

Re: Maven Concepts

2008-02-09 Thread Wayne Fay
It really depends on what you mean by "checked for updates"... SNAPSHOTS are checked for new versions of the snapshot artifact, and they are pulled down into your local repo cache to be used in this and future builds. Depending on how your versions are declared, new versions of non-snapshot artif

Re: Maven Concepts

2008-02-09 Thread Rahul Thakur
From the following command: > mvn -help I get this description for -U option: -U,--update-snapshots Forces a check for updated releases and snapshots on remote repositories I would imagine both SNAPSHOT and releases are checked for updates :-) Rahul Mark Struberg wrote: --- Rahul

Re: Library Project Confusion

2008-02-09 Thread simon
AARGH - mixed posting style! When someone puts their reply at the bottom of your email, please do not be so rude as to then put your reply at the top. That makes things almost impossible to read. I'll reply here at the top as this is the least bad option now.. ... If B and C need library A, then

cobertura and surefire 2.4.1 - is it working?

2008-02-09 Thread Erez Nahir
Hi, I have being going through most documentation and bugs for cobertura/surefire. Tried all possible versions and configuration, but nothing works. Can someone share working sufrefire 2.4.1 and cobertura? Thanks, Erez.

Re: [M2] Are pom.xml settings.xml really well-formed?

2008-02-09 Thread Manos Batsis
Roger Ye wrote: The problem is that, the XML is not really well-formed, the tags actually contains data, e.g. field one val field two val This is well formed XML alright. Element names start with a letter and not with any case combo of "xml". Whether the design is good or bad is another m

Re: [M2] Are pom.xml settings.xml really well-formed?

2008-02-09 Thread Jason van Zyl
We don't use Xerces, never have, never will. On 9-Feb-08, at 8:47 AM, Roger Ye wrote: Hi all, I've just read haakon's blog Java Permgen space, String.intern, XML parsing (pitty his permlink is broken), that's a memory problem caused by "well formed" XMLs

Re: Maven Day for folks in the Bay Area

2008-02-09 Thread Jason van Zyl
I forgot that we'll also be demonstrating ArchetypeNG being used in the M2Eclipse integration. On 8-Feb-08, at 8:12 PM, Jason van Zyl wrote: Hi, For people interested in some enterprise Maven user stories, some information on development in 2.1. We will also be doing a demonstration of N

[M2] Are pom.xml settings.xml really well-formed?

2008-02-09 Thread Roger Ye
Hi all, I've just read haakon's blog Java Permgen space, String.intern, XML parsing (pitty his permlink is broken), that's a memory problem caused by "well formed" XMLs, which is related to the usage of String.intern(), by the XML parser Xerces 2. ccording to

Re: Library Project Confusion

2008-02-09 Thread oliverw
Sorry if I didn't make myself clear enough :) I am talking about what should be a pretty common use case: A little class library which we call libX and one or more utilities that depend on that library. We call them UtilA and UtilB. I would like to have maven powered project layout that covers a

Re: Library Project Confusion

2008-02-09 Thread Wendy Smoak
On Feb 9, 2008 7:41 AM, oliverw <[EMAIL PROTECTED]> wrote: > Let's say we have project A producing a class library consumed by projects B > and C. Is there a way around making A the parent of B and C? In B and C, declare a dependency on A. If you give a more concrete example, you'll probably get

Library Project Confusion

2008-02-09 Thread oliverw
Let's say we have project A producing a class library consumed by projects B and C. Is there a way around making A the parent of B and C? -- View this message in context: http://www.nabble.com/Library-Project-Confusion-tp15372038s177p15372038.html Sent from the Maven - Users mailing list archiv

Re: download sources

2008-02-09 Thread simon
This should do the same thing: mvn dependency:sources mvn eclipse:eclipse Not every project publishes its source unfortunately. Have a look in the maven repo dir for the jars you depend on (eg http://rep1.maven.org/maven2/...), and see if there is a -sources.jar file next to the binary jar. R

Re: download sources

2008-02-09 Thread nicolas de loof
This works fine for me (I've set true in my settings.xml) Many artifacts in maven "central" repo don't have the expected source bundles. One option is to build them yourself from source distribution, and even better propose for upload (http://jira.codehaus.org/browse/MAVENUPLOAD) Another option

download sources

2008-02-09 Thread Jan Torben Heuer
Hi, I don't know if I'm doing something wrong, but shouldn't mvn eclipse:eclipse -DdownloadSources=true download and reference the sources in eclipse? Are the sources normally available for libs in the central repository? I mean for example log4j, httpunit, xmlbeans... Does it work for some

Re: Maven Concepts

2008-02-09 Thread Mark Struberg
--- Rahul Thakur <[EMAIL PROTECTED]> schrieb: > And at times you can use the '-U' option to force an update check for > dependencies. But again, this works only for SNAPSHOT dependencies, and not for 'released' versions. LieGrü, strub Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: h

Re: Maven Concepts

2008-02-09 Thread Rahul Thakur
And at times you can use the '-U' option to force an update check for dependencies. Rahul Simon Kitching wrote: Stephen Connolly <[EMAIL PROTECTED]> schrieb: Redeploying a non-SNAPSHOT version is a _bad thing_ as Maven will not re-download it. Absolutely. Never overwrite an exi

Re: Maven Concepts

2008-02-09 Thread Rahul Thakur
You'd use dependencyManagement to baseline dependencies and their versions across various inheriting modules, while a dependency is, well, a dependency :-) Once specified in the dependencyManagement, you don't need to provider versions for those dependencies in child module's pom. HTH, Rah

Re: Maven Concepts

2008-02-09 Thread amit kumar
what is the difference between dependency and dependencyManagement? I mean when do we use dependency and when do we use dependencyManagement? On Feb 8, 2008 10:26 PM, amit kumar <[EMAIL PROTECTED]> wrote: > That makes two of us Dhruva. Seriously guys thanks a lot. Great help. > > > On Feb 8, 2008