Re: Deploying with Maven (Engineering a design)

2007-05-26 Thread Napoleon Esmundo Ramirez
Hello Vince, Nice way of doing it! Though I think it would be better to do an "installer-creator-mojo" instead of a script for the next step. Cheers! Nap On 5/26/07, vcordaro <[EMAIL PROTECTED]> wrote: Hi, I have picked up an interesting project at work. My end goal is to deploy our la

Re: tests layout

2007-05-26 Thread Napoleon Esmundo Ramirez
Hello Harry, For another example, you can check the integration/web ui tests of archiva located at: http://svn.apache.org/repos/asf/maven/archiva/trunk/archiva-web/archiva-webapp-test/pom.xml Cheers! Nap On 5/27/07, Arnaud Bailly <[EMAIL PROTECTED]> wrote: Harry Larsen <[EMAIL PROTECTED]> wri

Re: How to resolve dependency from remote repositories only?

2007-05-26 Thread John Casey
You could use the local repository instance to construct a java.io.File pointing to any locally installed version of the artifact, then delete them...that should force maven to re-resolve them. If you don't want to delete them, you could always rename them. That's probably the simplest way

How to resolve dependency from remote repositories only?

2007-05-26 Thread Olivier Dehon
Hi, I am trying to to use ArtifactResolver.resolve method on my project artifact, which can be a snapshot version, but I would like to get to the latest "deployed" version of the artifact, even if the "installed" version is more recent. The reason behind this is I need to calculate the HTTP U

Re: Including jtds package as project dependency.

2007-05-26 Thread Maria Odea Ching
Hi, Could you provide the build stack trace? Thanks, Deng imran aziz wrote: Hello All, I want to use database calls from within my project and in order to do that I have included jtds in my project, added the following lines in POM net.sourceforge.jtds jtds

Re: tests layout

2007-05-26 Thread Arnaud Bailly
Harry Larsen <[EMAIL PROTECTED]> writes: > Hello, > > Thanks for this info. I now understand better, what should I need. > I configured my pom.xml accordingly. > > BUT maven still doesn't see the directory systest. > > I made this structure: > src/main/java > src/test/java > src/systest/java > He

Re: How to Get Dependencies

2007-05-26 Thread flaubert g
Yes, I think this is what I'm looking for. I've modified a bit from that article. The only thing is that the dependencies I get are somehow associated from "test" and "compile" phase. I need runtime dependencies only and I can't seem to find how to do this. // code snippet List listene

Re: Jar mojo. Adding a classes folder to the produced jar file

2007-05-26 Thread Marcel Schutte
Hi, I would say this is more a task for the assembly plugin. A jar file should only contain folders that correspond to packages. Regards, Marcel - Original Message From: David J. M. Karlsen <[EMAIL PROTECTED]> To: Maven Users List Sent: Friday, May 25, 2007 9:54:23 PM Subject: Re: Jar

Re: Overriding the plugin depencies

2007-05-26 Thread Brad Szabo
Hey Wendy, Thanks for clarifying that... I was thinking about using exclusions to enable the override :) The issue you noted is more appropriate for this thread. After digging up some old notes on this issue however, I think you are justified in your confused feeling that you have been able to ov

Re: Overriding the plugin depencies

2007-05-26 Thread Wendy Smoak
On 5/26/07, Brad Szabo <[EMAIL PROTECTED]> wrote: Plugin dependencies cannot be overridden at the present time. There is an issue in JIRA http://jira.codehaus.org/browse/MNG-2163 (which is duplicated by a couple others). That one is about exclusions. This one is about overrideing dependencies

Re: How to Get Dependencies

2007-05-26 Thread Jo Vandermeeren
On 5/26/07, flaubert g <[EMAIL PROTECTED]> wrote: Hi Jo, Thanks for replying. I'm writing a simple mojo plugin. I want to retrieve all project dependencies and "subdependencies" and display this list on my console. I used: @parameter expression="${project.dependencies}" List dependencies; wh

Re: Overriding the plugin depencies

2007-05-26 Thread Brad Szabo
Plugin dependencies cannot be overridden at the present time. There is an issue in JIRA http://jira.codehaus.org/browse/MNG-2163 (which is duplicated by a couple others). Currently, I think the best way to work around this for a group of developers is to deploy the plugin with a modified pom.xml

Re: [M2] Site upload

2007-05-26 Thread Mac Systems
Hello, thank you. I will give it a try after the Weekend :) - Jens Jens, Are you complaining about the fact that wagon-ftp currently is not implemented to support directory copy? That can be fixed easily, it just needs to be implemented. I can send you a compiled jar with directory copy enab

Re: WSDL2Java execution failed

2007-05-26 Thread Thorsten Heit
Hi, I tried to build chapter4 daytrader example by manually adding javax.mail and javax.activation jar to the local repository as [..]\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar and [..]\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar However, it still said unable to find

Re: Overriding the plugin depencies

2007-05-26 Thread Alexandre Gomes
Hi, I tried, but it seems not to work. As Johan said, Maven is still getting the old dep version. Why? The dep resolution is a mystery for me as well :-) thanks Alexandre On 5/26/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 5/25/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > I'm using a

Re: How to Get Dependencies

2007-05-26 Thread flaubert g
Hi Jo, Thanks for replying. I'm writing a simple mojo plugin. I want to retrieve all project dependencies and "subdependencies" and display this list on my console. I used: @parameter expression="${project.dependencies}" List dependencies; which gives me a collection of "org.apache.maven.model

Re: How to Get Dependencies

2007-05-26 Thread Jo Vandermeeren
Maven API? If you are talking about a Maven project, just build it to install all of its dependencies in your local repository. Maven2 resolves transitive dependencies automatically. Cheers Jo On 5/26/07, flaubert g <[EMAIL PROTECTED]> wrote: Hi, How do I retrieve all transitive dependencies

How to Get Dependencies

2007-05-26 Thread flaubert g
Hi, How do I retrieve all transitive dependencies, which includes "sub-dependencies" from a maven api? Thanks. Cheers, flaubertg

Re: maven-changes-plugin

2007-05-26 Thread Jeff Mutonho
On 5/25/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: Dimitris Kapanidis wrote: > Codehaus has an implemented version of changes plugin. The Codehaus version is older than the Apache version and should therefor not be used. True that.Thats the reason I'm using the Apache maven-changes-plugin