Copy-dependencies will pull from sibling target folders because it starts with 
the dependencies already resolved by Maven. (meaning it will find sibling deps 
even if you don't do "install")

Copy will only pull from the repository so you must have already installed or 
deployed it. 

Copy was intended to allow you to access artifacts that aren't normal 
dependencies like zips or wars.

Copy-dependencies is more of a quicker way to grab all dependencies from the 
existing list.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marvin Froeder
Sent: Tuesday, June 26, 2007 12:46 PM
To: Maven Users List
Subject: Re: multi-modules: a web-app and an Applet

But that will work with dependencies on the repository only?!
I believe no....

Maybe is a good idea to create as a dependency kind....


VELO

On 6/26/07, #Cyrille37# <[EMAIL PROTECTED]> wrote:
>
> Nick Stolwijk a écrit :
> > Looking at the list of available plugins [1] I guess you'd need the
> > dependency plugin[2] with goal "copy" [3].
> >
> > Hth,
> >
> > Nick Stolwijk
> >
> > [1] http://maven.apache.org/plugins/index.html
> > [2] http://maven.apache.org/plugins/maven-dependency-plugin/
> > [3]
> > http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html
> Thank you very much.
>
> I'm not shure to have find the right solution, please can you correct me :
>
> if I use 'copy' in the Applet project, the copy will be made when this
> project build, so it's what I want, but these not seems to be the right
> place.
> So perhaps I've to use  copy-dependencies in the Web Application project.
> I'll try that now.
>
> thanks again,
> cyrille
>
> >
> > #Cyrille37# wrote:
> >> Hello,
> >>
> >> I've read the doc
> >>
> >>
> http://maven.apache.org/guides/getting-started/index.html#how_do_i_build_more_than_one_project_at_once
> >>
> >> and it's working for deploying a library but not to deploy an Applet
> >> in a WebApplication.
> >>
> >> I've 2 maven modules : a web application 'web-app' and an Applet
> >> 'theApplet'.
> >>
> >> I would like that maven deploy the applet's jar in the folder
> >> web-app/src/main/webapp like jetty can serve the file theApplet.jar.
> >> Or in another place if it is necessary, I do not care, I just need to
> >> run the web-app with jetty-run and that jetty serves the applet in
> >> html page.
> >>
> >> Have you got an idea or a documentation link please ?
> >> thanks
> >> cyrille.
> >>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to