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

2010-09-02 Thread Stephen Connolly
just use "-DskipTests" as that will skip running the tests but not compiling or packaging them... oh and it's shorter than its alias "-Dmaven.skip.test.exec=true" as well as the bigger skip that you are using "-Dmaven.skip.test=true" -Stephen On 3 September 2010 02:28, Andrew Hughes wrote: > Hi

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 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 any idea's

-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: 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 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 wrote: > >> They don't exist and the depen

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 Chair

[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 so

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 5:58 PM, Pulkit Singhal 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: > http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/mod

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, S

Re: exclude META-INF/maven dirs

2010-09-02 Thread Arnaud Héritier
The question could be why ?? The solution is : ... org.apache.maven.plugins maven-jar-plugin 2.3.1 false ... ... See : http://maven.apache.org/plugins/maven-jar-plugin/examples

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: 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: foo:bar-rpt:jar it would work? On Tue, Jun 22, 2010 at 12:48 AM, Adrian Shum wrote: > Dear all, > > Assume I have a multi-module project "foo:bar", > with several sub-modules, one of them is "foo:bar-rpt". >

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: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 4:59 PM, Pulkit Singhal wrote: >         >            ../artifact-generating-child/target ... >             > ../assembly-based-artifact-generating-child/target Bad idea. Maven modules are intended to stand alone, not go wandering around the filesystem picking up stuff. F

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 artifact-generatin

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 as

Re: Assembling multi-module artifacts

2010-09-02 Thread Pulkit Singhal
The sub-module is using the following goal for the assembler: package single But I think perhaps my artifact is being installed locally (/.m2/repository) and then for some strange reason the fake-assembly-put-my-product-toget

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 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 p

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 publis

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-emptiv

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 2:54 PM, Pulkit Singhal 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 ask because i

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 wrote: > Do you mean structuring it like so: > > parent-maven-project > |__childA-maven-project > |__childB-maven-project > |__chi

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 som

Re: Assembling multi-module artifacts

2010-09-02 Thread Wendy Smoak
On Thu, Sep 2, 2010 at 1:26 PM, Pulkit Singhal 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 module, not in the par

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 Ciramel

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: http://maven.apache.org/plugins/ma

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: 'M

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: 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 wrote: > Have you looked in http://repository.jboss.org? > > On Thu, Sep 2, 20

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

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 know

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 wrote: > > I need the jboss-ejb3x.jar in my project and want to put it into my pom.xml > as . But I couldn't find this jboss-ejb3x.jar any where from > the central maven-repo. > > Maybe someone knows? >

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 : > ... 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 h

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

Re: mvn package

2010-09-02 Thread Antonio Petrelli
2010/9/2 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 nex

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 ta

Re: mvn package

2010-09-02 Thread Antonio Petrelli
2010/9/2 Daniel Rindt : > [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: 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-

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 . 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: http://maven.40175.n5.nabble.com/Where-to-find-the-jboss-ejb3x

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 [

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 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 compatible, and already

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] skip