RE: Surefire - can you print TestNG results to stdout?

2010-09-02 Thread Sridhar Laxmipuram Srinivasan
Configure log4j to print on console, that's the ideal way of printing data transactions on console Thnkx sridharl -Original Message- From: Bogdan Calmac [mailto:bcal...@gmail.com] Sent: Wednesday, September 01, 2010 10:24 PM To: users@maven.apache.org Subject: Re: Surefire - can you

Why my OpenQA repository is not used..?

2010-09-02 Thread Stephane-3
Hello, I get an unresolved dependency with Selenium. Maven is looking for it in the wrong repository I think.. [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO]

Re: Why my OpenQA repository is not used..?

2010-09-02 Thread Brett Porter
If these are dependencies of a plugin, you may need to list a pluginRepository as well. Otherwise it's not quite clear from what you've included. Regardless, I'd recommend upgrading to the newer versions of Selenium (and if you're using it, the Selenium Maven Plugin). They're backwards

mvn package

2010-09-02 Thread Daniel Rindt
Hello, i couldn't package my project anymore. I am using the provided Maven2 packages of my linux distribution. So can't understand why the version mismatch is here. The ~/.m2 directory i have temporary moved, but that seems not the problem. Please take a look here: === 8 === $ mvn package /usr

Where to find the jboss-ejb3x.jar fro mthe central maven-repo?

2010-09-02 Thread thomas2004ch
I need the jboss-ejb3x.jar in my project and want to put it into my pom.xml as dependency/. But I couldn't find this jboss-ejb3x.jar any where from the central maven-repo. Maybe someone knows? Regards Thomas -- View this message in context:

Re: Release of the site plugin?

2010-09-02 Thread Steve Jerman
... thanks for the answer. I tried with the snapshot and it works... any idea when the release of the new beta will happen Steve On Sep 1, 2010, at 9:31 AM, Steve Jerman wrote: Hi, I have tried out Maven-3 Beta-3, and the site plugin is failing due to a API change from beta-2 to beta-3.

Re: mvn package

2010-09-02 Thread Antonio Petrelli
2010/9/2 Daniel Rindt dri...@visetics.com: [INFO] Error resolving version for 'org.apache.maven.plugins:maven-compiler-plugin': Plugin requires Maven version 2.0.9 It seems that in your pom you specify explicitly the need of Maven 2.0.9. What do you see when you run mvn -version? Antonio

Re: mvn package

2010-09-02 Thread Daniel Rindt
Am Donnerstag, den 02.09.2010, 11:17 +0200 schrieb Antonio Petrelli: It seems that in your pom you specify explicitly the need of Maven 2.0.9. What do you see when you run mvn -version? It was as you mentioned. I updated maven2 by hand to 2.2.1, but now i got next errors during the packaging

Re: mvn package

2010-09-02 Thread Antonio Petrelli
2010/9/2 Daniel Rindt dri...@visetics.com: Am Donnerstag, den 02.09.2010, 11:17 +0200 schrieb Antonio Petrelli: It seems that in your pom you specify explicitly the need of Maven 2.0.9. What do you see when you run mvn -version? It was as you mentioned. I updated maven2 by hand to 2.2.1, but

Re: mvn package

2010-09-02 Thread Daniel Rindt
Am Donnerstag, den 02.09.2010, 11:45 +0200 schrieb Antonio Petrelli: AFAICT, it seems that you have a problem with accessing your local repository, maybe they cannot be accessed or they are corrupt. This is strange. Did you try with a normal Maven distribution? Yes, the problem was maybe the

Re: Release of the site plugin?

2010-09-02 Thread Olivier Lamy
Hi, I'm currently waiting the end of beta-3 core release process. 2010/9/1 Steve Jerman stjer...@cisco.com: ... thanks for the answer. I tried with the snapshot and it works... any idea when the release of the new beta will happen Steve On Sep 1, 2010, at 9:31 AM, Steve Jerman wrote: Hi,

Re: Where to find the jboss-ejb3x.jar fro mthe central maven-repo?

2010-09-02 Thread Erlend Hamnaberg
Have you looked in http://repository.jboss.org? On Thu, Sep 2, 2010 at 9:02 AM, thomas2004ch thomas200...@yahoo.de wrote: I need the jboss-ejb3x.jar in my project and want to put it into my pom.xml as dependency/. But I couldn't find this jboss-ejb3x.jar any where from the central

Stack trace output maven

2010-09-02 Thread Sridhar Laxmipuram Srinivasan
Hi, My test execution in maven takes around 1 hr as I have 100+ Testcases. Surefire plugin generates reports only after all tests are run. What I want is to have the report right after first testcase, and then so on after each testcase, is there any way I can do this in maven? Please let me

RE: mvn package

2010-09-02 Thread Martin Gainty
I dont believe antlr has compile goal in any of the V2 plugins try one of the antlr-plugins such as maven-castor-plugin In the event you do'nt have internet access and want to demo offline try download ANTLR from svn checkout http://svn.codehaus.org/mojo/trunk mojo cd mojo --determine which

Re: Where to find the jboss-ejb3x.jar fro mthe central maven-repo?

2010-09-02 Thread Anders Hammar
You should use one of the repos at JBoss's new Nexus instance instead. Have a look here https://repository.jboss.org/nexus/ and also read info on the JBoss wiki. /Anders On Thu, Sep 2, 2010 at 13:00, Erlend Hamnaberg ngar...@gmail.com wrote: Have you looked in http://repository.jboss.org? On

WG: catch 22s building Maven-2.2.1 with NetBeans 5.5.1 using distributet NetBeans from HP

2010-09-02 Thread Stadelmann Josef
_ Von: Stadelmann Josef Gesendet: Donnerstag, 2. September 2010 15:15 An: 'Maven Users List'; 'Distributed NetBeans for OpenVMS'; 'nbus...@netbeans.org' Betreff: catch 22s building Maven-2.2.1 with NetBeans 5.5.1 using distributet NetBeans from HP I

Re: catch 22s building Maven-2.2.1 with NetBeans 5.5.1 using distributet NetBeans from HP

2010-09-02 Thread Stephen Connolly
why not try remote debugging from a different machine using a different OS? On 2 September 2010 14:53, Stadelmann Josef josef.stadelm...@axa-winterthur.ch wrote: _ Von: Stadelmann Josef Gesendet: Donnerstag, 2. September 2010 15:15 An: 'Maven

Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
Hello, In a multi-module project, I am attempting to provide the parent pom with an assembly descriptor which will pick up the artifacts from some of its children modules and throw them in a folder. I'm doing this by closely following the instructions given here:

Re: maven-dependency-plugin (version 2.1) question

2010-09-02 Thread Brian Fox
I can say definitively that transitive was not intended for Copy/Unpack. I wrote these goals with a very specific use case and that was to be able to cherry-pick artifacts from this list. The xxx-dependencies goals where intended to support transitivity. On Wed, Sep 1, 2010 at 10:49 AM, EJ

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 1:26 PM, Pulkit Singhal pulkitsing...@gmail.com wrote: In a multi-module project, I am attempting to provide the parent pom with an assembly descriptor which will pick up the artifacts from some of its children modules This works best if you put the assembly in its own

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
Do you mean structuring it like so: parent-maven-project |__childA-maven-project |__childB-maven-project |__childC-maven-project |__fake-assembly-project Is that the best-practice or the practical-practice? I ask because it feels a bit odd to have a parent for modules and then not use it for

Re: Assembling multi-module artifacts

2010-09-02 Thread Anders Hammar
Best-practice. Here's one reason: http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#module-binaries /Anders On Thu, Sep 2, 2010 at 20:54, Pulkit Singhal pulkitsing...@gmail.comwrote: Do you mean structuring it like so: parent-maven-project |__childA-maven-project

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 2:54 PM, Pulkit Singhal pulkitsing...@gmail.com wrote: Do you mean structuring it like so: parent-maven-project |__childA-maven-project |__childB-maven-project |__childC-maven-project |__fake-assembly-project Is that the best-practice or the practical-practice? I

Re: Enforce Maven client to use credentials for read artifacts from repository

2010-09-02 Thread Marcin Zajączkowski
On 2010-08-31 22:18, Brian Fox wrote: The http clients usually don't send the credentials until the server requests them with a 403, then it will send them and good clients will recall this and pre-emptively send the credentials for future requests to that server. Maven doesn't pre-emptively

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
Thank You Anders Wendy, that was a very educational link. But by moving the product assembler from the parent to a child project, I've now run into a problem because i also have some of the children of the parent pom building some packages using assemblers ... their assembled stuff is not

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 4:26 PM, Pulkit Singhal pulkitsing...@gmail.com wrote: Thank You Anders Wendy, that was a very educational link. But by moving the product assembler from the parent to a child project, I've now run into a problem because i also have some of the children of the parent

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
The sub-module is using the following goal for the assembler: execution phasepackage/phase goals goalsingle/goal /goals /execution But I think perhaps my artifact is being installed locally (/.m2/repository) and then for some

Re: Assembling multi-module artifacts

2010-09-02 Thread Ron Wheeler
On 02/09/2010 4:26 PM, Pulkit Singhal wrote: Thank You Anders Wendy, that was a very educational link. But by moving the product assembler from the parent to a child project, I've now run into a problem because i also have some of the children of the parent pom building some packages using

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
Yup using fileSets tag rather than dependencySets worked. I simply don't know why given the following structure: parent-pom.xml |_artifact-generating-child-pom.xml |_assembly-based-artifact-generating-child-pom.xml |_assembly-based-parent-product-packaging-delegate-pom.xml The

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 4:59 PM, Pulkit Singhal pulkitsing...@gmail.com wrote:        fileSet            directory../artifact-generating-child/target/directory ...             directory../assembly-based-artifact-generating-child/target/directory Bad idea. Maven modules are intended to stand

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
Well commands you say ... hmm ... just doing: mvn clean install and since that assembly:single goal should tie me into the maven lifecycle, I suppose I felt this command was good enough? In addition, in the .m2 repo I see exactly: ./m2/repository/parent/artifact-generating-child/artifact-xx.ABC

Re: Assembly with modules of specific classifier

2010-09-02 Thread Pulkit Singhal
I don't about bug or not but I have this nagging feeling that if you limited yourself to: includefoo:bar-rpt:jar/include it would work? On Tue, Jun 22, 2010 at 12:48 AM, Adrian Shum tcs...@taifook.com wrote: Dear all, Assume I have a multi-module project foo:bar, with several sub-modules, one

exclude META-INF/maven dirs

2010-09-02 Thread woods5242-photography
Hi, New to maven. I have a basic project setup which is packaging a jar using the maven-compiler-plugin. My resulting JAR is getting a /META-INF/maven directory with a bunch of stuff in it. How do I remove this or ensure that mvn package does not generate it? thanks

Re: exclude META-INF/maven dirs

2010-09-02 Thread Arnaud Héritier
The question could be why ?? The solution is : project ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.3.1/version configuration archive

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
If someone on the list doesn't mind, and can guide me ... I would like to put up an example w/o any of my mis-deeds ofcourse on the site that hosts this one: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html How can I do that? On Thu,

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 5:58 PM, Pulkit Singhal pulkitsing...@gmail.com wrote: If someone on the list doesn't mind, and can guide me ... I would like to put up an example w/o any of my mis-deeds ofcourse on the site that hosts this one:

[ANN] Apache Maven 3.0-beta-3 Released

2010-09-02 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of Apache Maven 3.0-beta-3. Maven is a project comprehension and build tool, designed to simplify the process of maintaining a healthy development lifecycle for your project. You can read more here: http://maven.apache.org/ Downloads of

Welcome Kristian Rosenvold to the Maven PMC

2010-09-02 Thread Brian Fox
This is a little delayed, but still deserved. A few weeks ago, Kristian joined us on the Maven PMC. He's been driving a lot of interesting work in Maven 3 to support parallel builds. If you haven't tried that out yet, please do and send some feedback. Welcome Kristian! --Brian Fox Maven PMC

Re: Dependency:sources skipping files

2010-09-02 Thread Brian Fox
File a jira, that might be an easy fix. On Wed, Sep 1, 2010 at 3:37 PM, C. Benson Manica cbman...@gmail.com wrote: I see, that explains it, although I'm a little sad that -U doesn't force it to download the sources again. On Tue, Aug 31, 2010 at 4:15 PM, Brian Fox bri...@infinity.nu wrote:

-Dmaven.test.skip=true jar:test-jar

2010-09-02 Thread Andrew Hughes
Hi Guys, When -Dmaven.test.skip=true the jar:test-jar goals are skipped. Other modules who have a dependency on the jar:test-jar artifact then fail (unresolved dependency). Is this a sensible default for the plugin and any idea's how I can override this? Thanks heaps (again) :) --Andrew

Re: -Dmaven.test.skip=true jar:test-jar

2010-09-02 Thread Barrie Treloar
On Fri, Sep 3, 2010 at 10:58 AM, Andrew Hughes ahhug...@gmail.com wrote: Hi Guys, When -Dmaven.test.skip=true the jar:test-jar goals are skipped. Other modules who have a dependency on the jar:test-jar artifact then fail (unresolved dependency). Is this a sensible default for the plugin and