Hi Kees,
> There is also a format 'dir' listed here:
> http://maven.apache.org/plugins/maven-assembly-plugin/
Cool, thanks for the tip!
I filed a ticket for the skew in documentation between the front page
(above link) and the assembly descriptor page's formats/format entry (where
I had been looking):
http://jira.codehaus.org/browse/MASSEMBLY-623
Regards,
Curtis
On Mon, Aug 13, 2012 at 3:57 AM, Kees van Dieren <[email protected]> wrote:
> Curtis,
>
> There is also a format 'dir' listed here:
> http://maven.apache.org/plugins/maven-assembly-plugin/
>
>
> Best regards / Met vriendelijke groet,
>
> Kees van Dieren
> Squins | IT, Honestly
> Oranjestraat 23
> 2983 HL Ridderkerk
> The Netherlands
> Mobile: +31 (0)6 30413841
> www.squins.com
> http://twitter.com/keesvandieren
> Chamber of commerce Rotterdam: 24435130
> Boeken voor school en werk bestel je op studieboekencenter.nl
> 2012/8/10 Curtis Rueden <[email protected]>
>
> > Hi Erwin,
> >
> > > I need to look in the assembly plugin how to do that.
> >
> > Here is a start for you:
> >
> > <assembly
> > xmlns="
> > http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="
> > http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1
> > http://maven.apache.org/xsd/assembly-1.1.1.xsd">
> > <id>bundle</id>
> > <formats>
> > <!-- Is there a "none" format? -->
> > <format>zip</format>
> > </formats>
> > <baseDirectory>xxx</baseDirectory>
> > <dependencySets>
> > <dependencySet>
> > <outputDirectory>/libs</outputDirectory>
> > <unpack>false</unpack>
> > <scope>compile</scope>
> > </dependencySet>
> > <dependencySet>
> > <outputDirectory>/plugins</outputDirectory>
> > <unpack>false</unpack>
> > <scope>runtime</scope>
> > </dependencySet>
> > </dependencySets>
> > </assembly>
> >
> > Unfortunately, because of how transitive scopes work, the compile scope
> > artifacts will appear in both libs and plugins with that configuration.
> I'm
> > not sure of the best way around that.
> >
> > Another problem is that the assembly plugin normally produces an archive
> > (e.g., zip or bz2). I do not know a way to tell it to just leave all the
> > files it copies in a subfolder of target. (Anyone know if this is
> possible?
> > It would be very useful for my project as well.)
> >
> > Regards,
> > Curtis
> >
> >
> > On Fri, Aug 10, 2012 at 3:51 PM, Erwin Mueller <
> [email protected]
> > >wrote:
> >
> > > I need to look in the assembly plugin how to do that.
> > >
> > > Thank you for your help.
> > >
> > > On Thursday, August 09, 2012 10:40:16 AM Wayne Fay wrote:
> > > > > with the maven-dependency-plugin I can copy the dependencies in
> some
> > > > > output
> > > > > directory. But how can I copy some dependencies to directory libs/
> > and
> > > > > different dependencies in the directory plugins/ ?
> > > >
> > > > Realistically you should be using the assembly plugin for the
> > > > construction of "non-standard" artifact directory structures such as
> > > > what you require, and not the dependency plugin.
> > > >
> > > > Wayne
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [email protected]
> > > > For additional commands, e-mail: [email protected]
> > > --
> > > Erwin Mueller
> > > http://www.mueller-public.de - My site;
> > > http://www.anr-institute.com - Advanced Natural Research Institute
> GmbH;
> > >
> >
>