But while we are waiting for the attach stuff you simply run
the deploy and assembly in the same command like this :
mvn assembly:assembly deploy

/Kaare

On 07/04/06, dan tran <[EMAIL PROTECTED]> wrote:
> The correction solution is in maven-assembly-plugin itself by binding
> assembly:attach to your package phase.
>
> This is  a new feature therefore you need to build it from source.
>
> -D
>
>
>
>
> On 4/7/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> >
> > On 4/7/06, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > In my pom.xml I put the maven-assembly-plugin configuration, so now not
> > > only I can do "mvn install" to make my program jar (i.e. pks-3.0.jar),
> > > but also "mvn assembly:assembly" to produce the whole application
> > > package (pks-3.0-jar-with-dependencies.jar).
> > >
> > > When I do "mvn deploy", it deploys the pks-3.0.jar to remote repository.
> > > How can I deploy pks-3.0-jar-with-dependencies.jar ?
> >
> >
> > You should be able to do that using this:
> >
> >
> > http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
> >
> > to "attach" the assembly so that it will also be deployed.
> >
> > --
> > Martin Cooper
> >
> >
> > Please respond to my email address (I do not subscribe currently to the
> > > mail group).
> > > --------------------------------------------------------
> > >
> > > If you are not an intended recipient of this e-mail, please notify the
> > > sender, delete it and do not read, act upon, print, disclose, copy,
> > retain
> > > or redistribute it. Click here for important additional terms relating
> > to
> > > this e-mail.     http://www.ml.com/email_terms/
> > > --------------------------------------------------------
> > >
> > >
> >
> >
>
>

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

Reply via email to