On Sat, Jun 6, 2009 at 11:37 AM, ljnelson <ljnel...@gmail.com> wrote:
>
> Hello; I've started to dive into the rather baffling world of the
> maven-assembly plugin.
>
> I am trying to configure the silly thing so that I get one .zip file output
> when I run mvn assembly:assembly.  At the moment, I get this .zip file, but
> I also get a .tar file, a bzip file, etc. etc.

The formats output are defined in your descriptor.
>
> mvn help:effective-pom shows me that the maven-assembly plugin has,
> preconfigured, a <descriptorRefs> section that points to one of the
> predefined descriptors--namely, project.

There is no preconfigured descriptor in the assembly config. More
likely your project is inheriting from a pom that defines this
configuration. Just redefine it and use your own descriptor.
>
> I don't *want* it to point to this.  I don't *want* any -project.* files
> output.
>
> Configuring my pom.xml to exclude this--by putting in an empty
> <descriptorRefs/> element--doesn't work.

hrm...
I guess you'll need to track down the parent pom providing this for
you and make it more configurable.
>
> How can I make it so that the only assembly produced is the one described by
> my assembly.xml file?  I certainly hope the solution is trivial and that
> I've simply overlooked it.
>
> Best,
> Laird
> --
> View this message in context: 
> http://www.nabble.com/Maven-assembly%3A-cut-down-on-number-of-assemblies-made--tp23904468p23904468.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

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

Reply via email to