Re: Multi-module build/dependency behavior?

2009-09-28 Thread Roland Asmann
And for what plugin is this? In a normal scenario, this could be the output in the project 'cdf-webtas-overrides' for the test-plugin (surefire-plugin). There could be others as well. This is normal, because the tests need your classes when being run... It always uses the classes from the current

Re: Question about maven profiles activation

2009-09-28 Thread Reynald Borer
Hi, It is indeed exactly my issue. Does anyone of you knows more about this ? I think I will have to wait on this error report to see if such a trick is really possible or not. Cheers, Reynald On 09/25/2009 05:11 PM, Juven Xu wrote: I think this issue is related:

Re: Can not use the plexus component org.sonatype.plexus.components.sec.dispatcher.SecDispatcher since maven 2.2.0

2009-09-28 Thread Tony Chemit
Le Mon, 28 Sep 2009 09:35:00 +1000, Brett Porter br...@apache.org a écrit : It looks like when they were added, they were not properly hidden from plugin classes. So you will need to ensure you use the exact version of the library that is used in Maven. On which artifact should I look on

Filtering test-resources

2009-09-28 Thread Luib-Finetti, Carlo
HI, I have implemented a filtering scheme for processing resources for different profiles in our project which works very nice - except for tests. 'process-test-resources' copies filtered resources into the classes directory (including the resource files only used for tests!), but also copies

Re: javadoc generation fails only during site generation

2009-09-28 Thread Holger Brands
Hi, we get the same exception trace using Maven 2.2.1 and after upgrading to javadoc plugin 2.6. Now we use the aggregate goal in a report set instead of the aggregate config parameter. We hava a mulit-module build with two layers of aggregation: A-parent - A1 - A2 - B-parent - B1

Re: javadoc generation fails only during site generation

2009-09-28 Thread Holger Brands
A small correction: The @options file does contain the dependencies of the first A module (A1), but misses those of all other A modules (for example A2). We use the following directory layout: A-parent/pom.xml A1/pom.xml A2/pom.xml B/B-parent/pom.xml B/B1/pom.xml B/B2/pom.xml Hope this helps,

Re: Multi-module build/dependency behavior?

2009-09-28 Thread David Hoffer
No, the problem is with the compiler. Here is more details on what is happening: I have a parent pom that has two modules, A B. B depends on A. A depends on P which is a 3rd party jar with provided scope. The task of module A is to combine the contents of A P, this sum is the output of A.

Re: Building Multiple Eclipse with Maven

2009-09-28 Thread Daniel Kulp
On Sun September 27 2009 5:37:24 pm Jason van Zyl wrote: On 2009-09-27, at 2:08 PM, Roland Asmann wrote: Again, the way we work DOES have real workspace resolution. The maven-eclipse-plugin makes the projects in the reactor reference each other PER DEFAULT, and any other projects in the

Re: Multi-module build/dependency behavior?

2009-09-28 Thread Roland Asmann
The behavior on system 2 is somehow wrong... Maybe it has something to do with the combination of Vista/Cygwin/Maven? At least make sure you have the same version of maven running and are using the same (or at least a compatible) settings.xml file... Not sure what else it could be, but imo the

Re: Multi-module build/dependency behavior?

2009-09-28 Thread David Hoffer
Yeah, that combination is all I can come up with too for the cause of this bug. I'm waiting to hear back from the developer what version of maven he is using (I think 2.1) and then I'll create a JIRA for this. -Dave On Mon, Sep 28, 2009 at 8:08 AM, Roland Asmann roland.asm...@cfc.at wrote:

Re: Multi-module build/dependency behavior?

2009-09-28 Thread Roland Asmann
And like I said: compare the settings.xml files on both systems, maybe there's something different in there! On Monday 28 September 2009 16:14, David Hoffer wrote: Yeah, that combination is all I can come up with too for the cause of this bug. I'm waiting to hear back from the developer what

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Albert Kurucz
Filtering is already used for another Maven feature. To avoid ambiguity, we should better call the one what I defined: repository-skinning or repository-certification. Do you think this new feature would hurt the repo or any Maven user? On Sun, Sep 27, 2009 at 11:27 PM, Albert Kurucz

Re: Removing dependency elements using profiles

2009-09-28 Thread Wayne Fay
don't want this dependency to be included in the final WAR. How can I tell Maven to exclude the dependency element for the overlay? The answer must be You can't remove dependencies via profiles, but you can adjust the scope (eg to provided) which has the effect of removing it. Wayne

Maven 2 TestNG skipping some tests

2009-09-28 Thread Toby Hobson
I'm finding the TestNG plugin to be a bit flaky. For example I have a few tests defined in a couple of classes and I wanted to add a new test class so I created a new class: package com.pingmenow.services; import org.testng.annotations.Test; public class DummyTest { @Test public void

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Stephen Connolly
Yes it would hurt. A build then becomes dependent on the certlist in order for it to function. In such a way, a cert list becomes directly equivalent to a repository definition in a pom.xml file. We do not allow repository definitions in pom files for a good reason. certlists is just another

Re: Building Multiple Eclipse with Maven

2009-09-28 Thread Jason van Zyl
On 2009-09-28, at 6:28 AM, Daniel Kulp wrote: On Sun September 27 2009 5:37:24 pm Jason van Zyl wrote: On 2009-09-27, at 2:08 PM, Roland Asmann wrote: Again, the way we work DOES have real workspace resolution. The maven-eclipse-plugin makes the projects in the reactor reference each other

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Albert Kurucz
Any other flaws? A build then becomes dependent on the certlist in order for it to function. The project's build will not become dependent of the certlist. If it was able to build with certlist feature turned on, it will certainly build without the certlist. We do not allow repository

Buildable standalone source bundles with the assembly plugin

2009-09-28 Thread Mark Hobson
Hi there, I was wondering if any maven-assembly-plugin experts could say whether this scenario is possible, or how much work it'd be to implement it. I need an archive that contains a complete buildable standalone project bundle. More specifically, it needs to contain: 1) the full SCM checkout

Re: Multi-module build/dependency behavior?

2009-09-28 Thread David Hoffer
It turns out this is a bug with maven version 2.0.10. It works fine if the developer switches to 2.1 or 2.2.1. -Dave On Mon, Sep 28, 2009 at 8:31 AM, Roland Asmann roland.asm...@cfc.at wrote: And like I said: compare the settings.xml files on both systems, maybe there's something different

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Brian Fox
On Mon, Sep 28, 2009 at 9:02 AM, Albert Kurucz albert.kur...@gmail.com wrote: Any other flaws? A build then becomes dependent on the certlist in order for it to function. The project's build will not become dependent of the certlist. If it was able to build with certlist feature turned on, it

RE: Shared log4j configuration - best practice?

2009-09-28 Thread Damon Silver
Can you share an example pom for such a dependent project? I.e., if A depends on B, I'm curious how A imports the dependencies from B. Currently we're accomplishing something similar to this via war overlays, but perhaps that isn't the optimal solution. Thanks, Damon -Original

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Albert Kurucz
One unwritten? rule of Maven good practice is that you change the undefined dependency version definitions to fixed versions before release. If you have done that, resolution will not be effected by certlist on or off status. The value (benefit) what certlist would provide to a Maven user, is

RE: Shared log4j configuration - best practice?

2009-09-28 Thread Edelson, Justin
That's just how Maven works. If A depends upon B and B depends upon C, A depends upon C transitively. It's, of course, not always this simple because there are different dependency scopes. See the matrix in http://maven.apache.org/guides/introduction/introduction-to-dependency-m echanism.html.

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Tamás Cservenák
Sorry for thread hijack, but was not able to resist... Another thing to think about, since it's adoption: On Mon, Sep 28, 2009 at 5:34 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: We do not allow repository definitions in pom files for a good reason. This seemed as a good

Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Tamás Cservenák
I did not propose point system to describe the quality of repository alone, I thought of it just to be able to compare two different repositories... (ie. you find same thing in two of them, decide which one will you want to use, etc). But now I understand that this would provide a lot less value

Re: Multi-module build/dependency behavior?

2009-09-28 Thread Roland Asmann
Very strange... I use 2.0.10 and I've NEVER had this problem... I still think it's a configuration issue. Either because of CygWin or the settings file. I'll keep an eye open though, in case this starts to happen to me too! Roland It turns out this is a bug with maven version 2.0.10. It

Re : Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Julien HENRY
- Message d'origine De : Albert Kurucz albert.kur...@gmail.com À : Maven Users List users@maven.apache.org Envoyé le : Lundi, 28 Septembre 2009, 19h39mn 00s Objet : Re: Maven Central Repository - Cleanup Efforts Tamas, could explain MRMs + grouping + mirrorOf or send a link?

RE: Shared log4j configuration - best practice?

2009-09-28 Thread Damon Silver
For common images, say, are you putting those in a shared jar or in a war? If the former, how do you reference them at runtime? - Damon -Original Message- From: Edelson, Justin [mailto:justin.edel...@mtvstaff.com] Sent: Monday, September 28, 2009 9:51 AM To: Maven Users List Subject:

Re: Shared log4j configuration - best practice?

2009-09-28 Thread Edelson, Justin
I've done both, depending on the use case. But in general, an image is going to be a servlet context resource and thus is a reasonable use for war overlay. That said, an image certainly could be on the classpath and accessed with ClassLoader.getResourceAsStream(). On Sep 28, 2009, at 7:07

Re: Maven 2 TestNG skipping some tests

2009-09-28 Thread Ed Hillmann
On Tue, Sep 29, 2009 at 1:14 AM, Toby Hobson toby.hob...@googlemail.comwrote: I'm finding the TestNG plugin to be a bit flaky. For example I have a few tests defined in a couple of classes and I wanted to add a new test class so I created a new class: package com.pingmenow.services; import

Re: Building Multiple Eclipse with Maven

2009-09-28 Thread Barrie Treloar
On Mon, Sep 28, 2009 at 10:58 PM, Daniel Kulp dk...@apache.org wrote: That said, you DO need to tell it where your workspace is.    You can use the -D flag on the command line if you want.   For me, I added a activeProfile to my settings.xml:    activeProfiles        

RE: Shared log4j configuration - best practice?

2009-09-28 Thread Damon Silver
This piques my curiosity because I find that having added multiple war overlays to our trunk has slowed down the build time required considerably. Has anyone else experienced this? - Damon -Original Message- From: Edelson, Justin [mailto:justin.edel...@mtvstaff.com] Sent: Monday,

M2Eclipse 0.9.9.200909092308 - Maven Project builder is running endless

2009-09-28 Thread Kai Hackemesser
Hi, Do you know how to stop M2Ecklipse Project builder from running in all the time? As soon as it reaches the end it starts from begin with info: Maven Builder: AUTO_BUILD requireFullBuild I get each time this warning 29/09/09 12:50:27 PM: [WARN] 'reporting.plugins.plugin.version' is missing

Re: maven snapshot dependencies and recompilation

2009-09-28 Thread Daniel Bell
Comments below... Hi, My question is similar to this one: http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/browser but for maven 2.0.9 - 2.2.1. I have two projects A and B. B is dependent upon A. A produces A-1.0-SNAPSHOT.jar. When a change is introduced

Re: How invoke itblast plugin two times for two different databases?

2009-09-28 Thread Don Brown
Well, -D won't do anything, but -P will...can you try -Prun_tests_oracle,run_tests_sqlserver? Don On Tue, Aug 4, 2009 at 6:13 PM, Nafter hdo...@allshare.nl wrote: When I make a build at the end the maven-itblast-plugin is used to kick off Junit tests. This is working just fine. However I

Re: How invoke itblast plugin two times for two different databases?

2009-09-28 Thread Don Brown
Doh, nm, didn't see the profiles were activated by a property. itblast has to do some rather unseemly stuff to get Cargo to run twice, once for startup and once for shutdown. It is possible itblast doesn't completely clear out state on shutdown. I'd recommend running mvnDebug and stepping