maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn Dashorst" <martijn.dasho...@gmail.com>
Subject Re: Re: Assembly plugin with war packaging type fails to work properly
Date Fri, 30 Jun 2006 15:40:49 GMT
I fixed this by forcing the assembly 2.0.1 version in the plugin
management section of my projects. The only thing that isn't solved by
that is that the assembly id is appended to the filename.

Martijn

On 6/30/06, Edwin Punzalan <epunzalan@exist.com> wrote:
>
> The only difference between assembly:assembly and assembly:attached is
> the object that they are working on.  The goal assembly:assembly uses
> ${executedProject} while assembly:attached uses ${project}.
>
> So if assembly:attached works for you, then I suggest you use it.
>
>
> Martijn Dashorst wrote:
> > All,
> >
> > We have an examples project which has an artifact type of 'war'. The
> > dependencies for the war are correct and for instance servlet api has
> > scope 'provided'.
> >
> > The provided jars don't show up in the WAR file, which is what I want.
> >
> > Now the catch: I want to create a combined src/binary ZIP distribution
> > using the assembly plugin that includes *ALL* dependencies such that
> > people can import the zip file as a complete eclipse, intellij Idea or
> > netbeans project without having to install maven, and download all
> > dependencies.
> >
> > However, what ever I specify in my assembly descriptor, only compile
> > time dependencies end up in the final zip.
> >
> > Is there any way to get this fixed? Can I override the dependency
> > resolver such that the assembly ignores everything the war type tells
> > it about dependencies?
> >
> > mvn clean site package assembly:attached
> >
> > seems to work. But I think the following should result in the same
> > packaging:
> >
> > mvn clean site assembly:assembly
> >
> > Any comments?
> >
> > Martijn
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Download Wicket 1.2 now! Write Ajax applications without touching JavaScript!
-- http://wicketframework.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message