[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    Re: Re: Assembly plugin with war packaging type fails to work properly
From:       "Martijn Dashorst" <martijn.dashorst () gmail ! com>
Date:       2006-06-30 15:40:49
Message-ID: 918312fe0606300840p2a22cfa7x68c64afd0c3e067a () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic