Re: [maven-failsafe-plugin] Failsafe+Jetty integration test trigger surefire twice

2010-03-03 Thread nodje
Hi Stephen, I like your second post ;) One the other hand it probably means that you already know that pestering jetty plugin people won't help! still, it's frustrating to see some phase triggered more than what is needed. I guess i have better things to do than trying to perfect something alr

Re: Always download dependencies with classifier

2010-03-03 Thread Anders Hammar
Did you try any of the latest recommended versions of Maven, like 2.2.1? Maven 2.1.0 is generally a version to stay away from as it has issues... /Anders On Thu, Mar 4, 2010 at 07:03, Thunder Farmer wrote: > Hi, > > Thanks for your quick response. > Here I provide more information. > I can repro

Re: Always download dependencies with classifier

2010-03-03 Thread Wendy Smoak
On Wed, Mar 3, 2010 at 9:44 PM, Thunder Farmer wrote: > My problems is that seems Maven always download dependencies with classifier > even I specify the version. > Is it the expected behavior or some thing goes wrong? > > Maven version: 2.1.0-M1 > Java version: 1.5.0_06 This is the right place,

Always download dependencies with classifier

2010-03-03 Thread Thunder Farmer
Hello All, My problems is that seems Maven always download dependencies with classifier even I specify the version. Is it the expected behavior or some thing goes wrong? Maven version: 2.1.0-M1 Java version: 1.5.0_06 This is first time I ask question on Maven user list. If this is NOT the right

Re: Newbie Maven layout question

2010-03-03 Thread Ron Wheeler
user09772 wrote: How can a module be independent? meaning standalone within eclipse. because as it is now, the parent pom is responsible to glue everything together at build time (not the webapp module for example within eclipse). The Eclipse project Module 4 will have a POM that creates a j

Re: Source for maven-jibx-plugin

2010-03-03 Thread Kalle Korhonen
On Wed, Mar 3, 2010 at 3:00 PM, marilysa wrote: > Does anyone know how to get the source code and license information for > maven-jibx-plugin?  The web site gives a link to the license, but that link > is broken.  It gives a link to the source code repository, but access to > that page is disabled

Source for maven-jibx-plugin

2010-03-03 Thread marilysa
Hello, Maven users, Does anyone know how to get the source code and license information for maven-jibx-plugin? The web site gives a link to the license, but that link is broken. It gives a link to the source code repository, but access to that page is disabled. It gives instructions for using C

Re: Working locally, building remotely?

2010-03-03 Thread Patrick Turcotte
Hi, How about : work on your computer (locally). commit code to versionning system on "remote" have automatic build system checkout new code, package and then deploy on maven repository (like nexus or artifactory). Patrick On 10-03-03 07:27 AM, Manos Batsis wrote: > > Hello, > > Sorry if this

Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-03 Thread Karl Heinz Marbaise
Hi Laurent, first of all many thanks for taking the time My first question: Which release of Maven do you use ? laurent.perez wrote: > > Hello > > I've tried, but did not manage to produce a report, or to check the > licenses , I'm getting an NPE whenever I try to run it after "test",

Why does maven-resources-plugin:copy-resources not filter?

2010-03-03 Thread David Hoffer
I've configured maven-resources-plugin with two executions to apply separate filters, but the output is not filtered! The debug log says it found the property in the filter file...and it says it found the file to apply the filter to. Why is it not filtered? org.apache.maven.plug

Re: Newbie Maven layout question

2010-03-03 Thread user09772
How can a module be independent? meaning standalone within eclipse. because as it is now, the parent pom is responsible to glue everything together at build time (not the webapp module for example within eclipse). user09772 wrote: > > Thanks that is an excellent resource. > > I think parent

Re: Newbie Maven layout question

2010-03-03 Thread user09772
Thanks that is an excellent resource. I think parent poms is what i was looking for. The way i understand it parent poms are used to simply install the proper modules? so for each product its possible to have a parent pom which ties various modules into the repro. If module1 depends on modul

Re: maven-dependency-plugin:build-classpath bug

2010-03-03 Thread David Hoffer
Yeah, but not everything is Java on Windows. You can't pass that to the Windows API, for instance. In my case I would be at the mercy how InstallAnywhere deals with this. If it just reads the file verbatim and passes it on to Windows it isn't going to work. -Dave On Wed, Mar 3, 2010 at 10:38 A

Re: [ANNOUNCEMENT] - Maven License Verifier Plugin 0.2-SNAPSHOT

2010-03-03 Thread Laurent Perez
Hello I've tried, but did not manage to produce a report, or to check the licenses , I'm getting an NPE whenever I try to run it after "test", I get no results if I try "mvn clean licence-verifier:report". The documentation is a little bit lacking ;) Can you help me ? Thanks My configuration : -

Re: maven-dependency-plugin:build-classpath bug

2010-03-03 Thread Wayne Fay
> Will create something like classpath=packages\foo.jar instead of > classpath=packages\\foo.jar so it can't be read.  Is there a fix for I'd think the fix should be to make all the \'s into /'s which Java on Windows seems to deal with just fine... Wayne -

Re: Working locally, building remotely?

2010-03-03 Thread Wayne Fay
> Sorry if this sounds dumb, but I was wondering what is the best way to > iteratively work on a multiproject locally, have it build remotely, then > deploy locally again. Any ideas welcome! First, define local and remote. Wayne ---

Re: migrate an ant project to maven

2010-03-03 Thread Wayne Fay
> these variants contain source code, that could be new or replacement for > the source code in core modules. How can i build that kind of project? If New code should be ok, but replacement code should not be allowed in your codebase, this is just a bad practice that Ant allowed you to implement.

Re: Reflexion about dependencies.

2010-03-03 Thread Stéphane TOUSSAINT
Hi Patrick For a more complete anwser, read: http://www.sonatype.com/people/2009/10/maven-tips-and-tricks-optimizing-with-the-maven-dependency-plugin/ Thank you for your input. Stéphane - To unsubscribe, e-mail: users-unsu

Re: XML output of missing dependencies

2010-03-03 Thread Pankaj Tandon
Thanks Jörg, Thanks for that response. However my question still remains. How can I get Maven to report to me, in XML format the missing dependencies. I know Maven currently dumps them out to the log/console in text format. Is there a plugin out there that can capture that info in XML? I'm tryin

Developing maven plugin.Can I use 'expression' and 'default-value' in my config objects.

2010-03-03 Thread boraldo
I can create configuration parameter for my plugin and annotate it with /** * The greeting to display. * * @parameter expression="${sayhi.greeting}" default-value="Hello World!" */ private String greeting; This is said here http://maven.apache.org/guides/plugin/guide-

maven-dependency-plugin:build-classpath bug

2010-03-03 Thread David Hoffer
maven-dependency-plugin:build-classpath creates invalid property file on Windows platform. org.apache.maven.plugins maven-dependency-plugin 2.1 generate-sources

Re: Reflexion about dependencies.

2010-03-03 Thread Patrick Turcotte
For a more complete anwser, read: http://www.sonatype.com/people/2009/10/maven-tips-and-tricks-optimizing-with-the-maven-dependency-plugin/ Patrick On 10-03-02 01:06 PM, Patrick Turcotte wrote: > mvn dependency:tree > > should help you see nested dependencies. The codehaus maven eclipse > plugin

Re: XML output of missing dependencies

2010-03-03 Thread Jörg Schaible
Hi Pankaj, Pankaj Tandon wrote at Wednesday, 3. March 2010 14:32: > > Hi, > I'm looking for a way to determine what artifacts are NOT in my corporate > repository (for a certain maven project) so that I can script their > addition to the corporate repository. > > So I started looking at the mav

XML output of missing dependencies

2010-03-03 Thread Pankaj Tandon
Hi, I'm looking for a way to determine what artifacts are NOT in my corporate repository (for a certain maven project) so that I can script their addition to the corporate repository. So I started looking at the maven-dependency-plugin and was happy to see a goal called analyze that takes in a co

Re: Reflexion about dependencies.

2010-03-03 Thread Jörg Schaible
Stéphane TOUSSAINT wrote at Mittwoch, 3. März 2010 13:48: > >> http://jira.codehaus.org/browse/MNG-2589 and linked stuff. >> > Thanks Jörg this is the issue I have to keep an eye on. You can already simulate this though. Assuming you're already using a depMgmt section to define your versions

Re: Reflexion about dependencies.

2010-03-03 Thread Stéphane TOUSSAINT
http://jira.codehaus.org/browse/MNG-2589 and linked stuff. Thanks Jörg this is the issue I have to keep an eye on. Stéphane - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: user

Re: properties in assembly plugin

2010-03-03 Thread Stefano Nichele
Thanks and sorry it was easy ... ste On 03/03/2010 12.59, Andreas M wrote: Stefano Nichele-2 wrote: Hi All, in my assembly file I have several fileSets sections and some of them are used to copy some files under/lib , others/bin, others in/licenses. My issue is the I'd like to have

Working locally, building remotely?

2010-03-03 Thread Manos Batsis
Hello, Sorry if this sounds dumb, but I was wondering what is the best way to iteratively work on a multiproject locally, have it build remotely, then deploy locally again. Any ideas welcome! Cheers, Manos - To unsubscribe

migrate an ant project to maven

2010-03-03 Thread Valerij Fichtner
Hi Maven users, we have a project with ant build script that we want to migrate to maven. This project contains of "backend_core" and "frontend_core" modules, there are also variants for each customer. so "customer_backend" and "customer_frontend", these variants contain source code, that coul

Re: properties in assembly plugin

2010-03-03 Thread Andreas M
Stefano Nichele-2 wrote: > > Hi All, > in my assembly file I have several fileSets sections and some of them > are used to copy some files under /lib , others /bin, others > in /licenses. My issue is the I'd like to have configured > just in one place and not replicated in all fileSets sect

properties in assembly plugin

2010-03-03 Thread Stefano Nichele
Hi All, in my assembly file I have several fileSets sections and some of them are used to copy some files under /lib , others /bin, others in /licenses. My issue is the I'd like to have configured just in one place and not replicated in all fileSets sections. Is there a way to set in once in

Re: [maven-failsafe-plugin] Failsafe+Jetty integration test trigger surefire twice

2010-03-03 Thread Stephen Connolly
In any case, running your unit tests (which should be fast) multiple times just makes sure that they really pass ;-) [and with my serious hat on, will be twice as likely to catch those unstable bits of code that sporadically cause your unit tests that fail at random] -Stephen On 3 March 2010 11:

Re: [maven-failsafe-plugin] Failsafe+Jetty integration test trigger surefire twice

2010-03-03 Thread Stephen Connolly
The jetty plugin forks a lifecycle to generate the exploded web application... perhaps you need top perster the jetty maven plugin developers to give you a goal for running exploded without forking a lifecycle On 3 March 2010 11:29, nodje wrote: > > I've been using the standard configuration des

[maven-failsafe-plugin] Failsafe+Jetty integration test trigger surefire twice

2010-03-03 Thread nodje
I've been using the standard configuration described in http://maven.apache.org/plugins/maven-failsafe-plugin/usage.html to be able to execute integration tests. That is, jetty:run-exploded goal is link to pre-integration-test phase in order to have a container to run integration test against. It

Re: Reflexion about dependencies.

2010-03-03 Thread Jörg Schaible
Stéphane TOUSSAINT wrote at Mittwoch, 3. März 2010 10:59: > That is the point. > > A sample : > my.project:test:1.0-SNAPSHOT (a Project) > my.utility:xml:1.0 (an utils librarie) > dom4j:dom4j:1.6 (the well known XML library) > > I added to my.project:test the my.utility:xml which talk about XML

Re: Reflexion about dependencies.

2010-03-03 Thread Stéphane TOUSSAINT
That is the point. A sample : my.project:test:1.0-SNAPSHOT (a Project) my.utility:xml:1.0 (an utils librarie) dom4j:dom4j:1.6 (the well known XML library) I added to my.project:test the my.utility:xml which talk about XML which use (and include in it's pom.xml) the dom4j:dom4j:1.6 artifact.