Re: Maven 2.1.0, threads in tests failing for site

2009-05-08 Thread Lee Meador
Oh ... I do have the plugins locked down except for two that I just found courtesy of the Versions plugin. Source and Deploy plugins weren't locked down. I think I updated to the latest release on SureFire plugins too. Thanks. -- Lee On Fri, May 8, 2009 at 10:12 PM, Lee Meador wrote: > I have

Maven 2.1.0, threads in tests failing for site

2009-05-08 Thread Lee Meador
I have a test that is suddenly failing in 2.1.0 but only when I do a site build. The test is a little wierd in that it is testing some code that makes the 2nd thread to enter a method pause with a thread wait until the 1st thread to enter is finished. To do this the test makes up a couple of runna

Dynamically Modifying the Classpath

2009-05-08 Thread Jeffrey N Hagelberg
Hi, We are trying to find a way to add some jars that are generated during the pre-integration-test phase to the class path when the integration tests run. There is also a folder with configuration files that is created at the same time that we also need to add to the class path. The jar and d

RE: Undocumented Feature: Usage of negation for profile activation

2009-05-08 Thread Martin Gainty
fantastic..what are the chances of opening the capability to use regular expresssions? thanks, Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If

Re: Undocumented Feature: Usage of negation for profile activation

2009-05-08 Thread Wendy Smoak
On Fri, May 8, 2009 at 6:59 AM, TM wrote: > > Hello, > > I just found a---to my best knowledge---undocumented feature and though I > should share it with the community in the hope that it will made its way > into the Maven documentation. > > The feature is that you can use the negation symbol "!"

Re: Maven scm:checkin requires developerConnectionUrl ?

2009-05-08 Thread Baptiste MATHUS
http://maven.apache.org/pom.html#SCM Well, connectionUrl is used for readonly access (for example, when you provide users with public access), and access for developers (developerConnection) is the one used for committing (write access). IMO, your problem also comes from the fact that you should

duplicate entry error with maven eclipse and tomcat

2009-05-08 Thread Jeroen Dijkmeijer
Hi, I'm working on a private/solo project and I've set up a project with maven on eclipse using the m2 plugin. A parent project and 2 maven subprojects (modules?). 1 module is a spring project, the other a web project wicket. In the spring project I want to use profiles to dispatch the

Re: Child POM inherit reporting configurtaion from parent POM?

2009-05-08 Thread Brian Fox
The merging inside the configuration doesn't add the things together because it isn't known ahead of time if replacement or merging makes sense for a given plugin. On Fri, May 8, 2009 at 9:33 AM, REMIJAN, MICHAEL J [AG/1000] < michael.j.remi...@monsanto.com> wrote: > I have javadoc reporting conf

RE: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Todd Thiessen
Override the dependency defined in the POM, as Steve outline in his earlier response. Let me quote his explanation for ease of reference: "E.g. if project P has test scoped dependency to a LIB1, and compile scoped dependency to LIB2, while LIB2 has compile scope dependency to LIB1, currently proje

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Mark Hobson
2009/5/8 Jörg Schaible : >> E.g. if project P has test scoped dependency to a LIB1, and compile scoped >> dependency to LIB2, while LIB2 has compile scope dependency to LIB1, >> currently project P's war will wrongly end up without LIB1 included. > > This is the whole point: This is not wrong, Mave

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Mark Hobson
2009/5/8 Jörg Schaible : > This would be the show stopper for me for ever using Mercury. If I narrow > the scope in the local POM it is done *because I want it so*, e.g. > preventing compile time deps to a specific implementation that's hidden > behind an interface. This should be done in dependen

Re: General questions regarding dependencies

2009-05-08 Thread Brian Fox
You can't have a pile of files as dependencies, not the way I think you're looking at it. You want to zip them up as a single artifact and then use those as the dependency. You can use the dependency:unpack / unpack-dependencies goal to extract the files from the artifact prior to compilation. For

Re: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Brian Fox
2009/5/8 Todd Thiessen > Your argument Jorg I think applies to provided and runtime scope, but not > to test. > > The root smell here lies in the definition of "scope". Test scope means > needed to compile test code. Compile scope means needed to compile > production and test code. These are bo

Re: hi, how to specify java_opts in maven

2009-05-08 Thread Brian Fox
I said below to set MAVEN_OPTS in your environment ;-) On Fri, May 8, 2009 at 1:46 AM, shrimpywu wrote: > > so what should i do??? > > > > BRIAN FOX-5 wrote: > > > > set MAVEN_OPTS = -Xmx512m for example. It can't be done directly from the > > cli. > > > > On Thu, May 7, 2009 at 1:39 AM, shrimpy

Re: setup maven2 with icefaces

2009-05-08 Thread hrbaer
Thank you very much for the files. I'm realy looking forward to try these in my application! -- View this message in context: http://n2.nabble.com/setup-maven2-with-icefaces-tp2844860p2845570.html Sent from the maven users mailing list archive at Nabble.com. ---

Re: General questions regarding dependencies

2009-05-08 Thread Doug Hughes
So, I'm getting the impression that the dependencys need to be a single file such as a jar, zip, or something else. I can't have a folder of files as my dependency? This is fine, it seems that dependency or assembly plugin can be used to explode this as needed. Where can I find documentation on

Undocumented Feature: Usage of negation for profile activation

2009-05-08 Thread TM
Hello, I just found a---to my best knowledge---undocumented feature and though I should share it with the community in the hope that it will made its way into the Maven documentation. The feature is that you can use the negation symbol "!" within a profile activation specifification not only to

RE: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Todd Thiessen
Your argument Jorg I think applies to provided and runtime scope, but not to test. The root smell here lies in the definition of "scope". Test scope means needed to compile test code. Compile scope means needed to compile production and test code. These are both related to when a dependency i

Re: setup maven2 with icefaces

2009-05-08 Thread Nayan Hajratwala
After looking at the files, it turned out to be pretty simple to  sanitize them, so here you go. Hope it helps:pom.xml.generic is the WAR project, and pom.xml.generic-parent is from the parent moduleunder WEB-INF/  faces-config.xml  web.xml http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://ww

Re: setup maven2 with icefaces

2009-05-08 Thread Nayan Hajratwala
Contact me off list -- I recently completed two projects using IceFaces and Maven. I can share the config files with you, but would prefer not to post them to the list as they need to be stripped of proprietary info. Thanks! -- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nh

Child POM inherit reporting configurtaion from parent POM?

2009-05-08 Thread REMIJAN, MICHAEL J [AG/1000]
I have javadoc reporting configuration in a PARENT POM an it looks like this: org.apache.maven.plugins maven-javadoc-plugin true http://java.sun

Re: General questions regarding dependencies

2009-05-08 Thread Graham Leggett
Doug Hughes wrote: > I have some questions about how dependencies are handled within Maven. I > understand that when you add a dependency that Maven looks at the central > repository, finds the correct files and downloads them. I'm wondering if > this can only be done for JAR/WAR files? No, any

Re: setup maven2 with icefaces

2009-05-08 Thread hrbaer
Wayne Fay wrote: > > You will probably have a lot more luck asking this question on the > Icefaces Users list (where everyone uses Icefaces, and probably some > of them also use Maven) than on the Maven Users list (where very few > people use Icefaces). > > Wayne > Thanks for your quick repl

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Jörg Schaible
Hi Stevo, Stevo Slavić wrote at Freitag, 8. Mai 2009 14:15: > Issue is elsewhere. Initial example I gave included inheritance, but > unwanted behavior happens even without it. > > E.g. if project P has test scoped dependency to a LIB1, and compile scoped > dependency to LIB2, while LIB2 has comp

Multiple resources directory for site plugin

2009-05-08 Thread Daniel Maier
Hi, is it possible to change the resources directory for the site plugin? And is it possible to use multiple resources directories with this plugin? Thanks Daniel - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org Fo

Re: General questions regarding dependencies

2009-05-08 Thread Wayne Fay
> My question then is, is it possible to somehow define a dependency which is > a collection of files?  Also, if I did somehow define that dependency, is > there a way to make sure that the dependency is coppied to a specific > directory within he webapp?  Or, should I be looking at plugins to > ac

Re: setup maven2 with icefaces

2009-05-08 Thread Wayne Fay
> My problem is that the examples for icefaces aren't provided for maven2. > Specially with the dependencies I have a lot of problems. You will probably have a lot more luck asking this question on the Icefaces Users list (where everyone uses Icefaces, and probably some of them also use Maven) tha

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Stevo Slavić
Issue is elsewhere. Initial example I gave included inheritance, but unwanted behavior happens even without it. E.g. if project P has test scoped dependency to a LIB1, and compile scoped dependency to LIB2, while LIB2 has compile scope dependency to LIB1, currently project P's war will wrongly end

General questions regarding dependencies

2009-05-08 Thread Doug Hughes
Hello, I'm rather new to Maven, but I've been working through the Maven: The Definitive Guide, 1st Edition book. I've been fairly successful so far making Java and Groovy projects and adding dependencies. I've even got it working with Eclipse, which for various reasons was rather painful. I hav

[ANN] Flexmojos 3.2 Released

2009-05-08 Thread Marvin Froeder
Hi people, I released last night the latest version of flexmojos, version 3.2.0. Release notes: https://issues.sonatype.org/browse/FLEXMOJOS/fixforversion/10296 This release was mainly focused on improving the unit test support. The greatest new is for Linux headless machines (CI servers). Now

setup maven2 with icefaces

2009-05-08 Thread hrbaer
Hi folks, I'm triing since a few days to setup an maven2-project in eclipse using icefaces. Unfortunatly I fail to get a running example. My problem is that the examples for icefaces aren't provided for maven2. Specially with the dependencies I have a lot of problems. Is anybody here who alread

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Jörg Schaible
Mark Hobson wrote at Freitag, 8. Mai 2009 11:05: > This is really a symptom of the nearest-wins mentality of Maven 2, > since scopes specified in the current POM take precedence over their > transitive values, and not widened as expected. AFAIK Mercury will > replace nearest-wins version conflict

Unknown source for assertion in surefire driven JUnit test with Tellurium

2009-05-08 Thread Ernst Persson
Hi, I've started looking at the Tellurium web testing framework. I'm using their template with Maven, Surefire and JUnit to drive the tests. It's very easy to test it, just follow this guide. http://code.google.com/p/aost/wiki/TenMinutesToTellurium What happens is that when I have an assertion fa

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-08 Thread Mark Hobson
This is really a symptom of the nearest-wins mentality of Maven 2, since scopes specified in the current POM take precedence over their transitive values, and not widened as expected. AFAIK Mercury will replace nearest-wins version conflict resolution with a more usable highest-wins, so I was hopi