maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lin Ma <lin...@gmail.com>
Subject Re: deployment in runtime for "provided" scope jars
Date Tue, 07 Apr 2015 08:15:06 GMT
Thanks Jörg!

regards,
Lin

On Tue, Apr 7, 2015 at 12:48 AM, Jörg Schaible <joerg.schaible@swisspost.com
> wrote:

> Hi Lin,
>
> Lin Ma wrote:
>
> > Thanks Ron,
> >
> > I see Maven has phase like install and deploy, but I never used them
> > before. Are the two phases suppose to do deployment work, which copy
> > application jar and dependency jars to destination host, and setup other
> > environment variable like classpath?
>
> No. Both goals refer the Maven repository. "install" will copy the result
> of
> your project into your local repository while "deploy" will copy this stuff
> to a remote repository instead (depends on your settings in the
> distributionManagement) to make the artifacts available for other people.
> It
> has nothing to do at all with deployment of an application.
>
> > BTW, in the context of a Java jar console application.
>
> That's what IzPack may do for you.
>
> Cheers,
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message