The pom artifact is always produced regardless. Make your module type
pom and attach the assembly zip as an artifact with the help of
buildhelper plugin:
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html.

Kalle


On Thu, Jul 1, 2010 at 9:56 AM, Andreas Sewe
<s...@st.informatik.tu-darmstadt.de> wrote:
> Hi all,
>
> I have a project which should produce a ZIP, with all contents of
> ${project.build.outputDirect} put into a base directory within the ZIP. So
> far, the maven-assembly-plugin with <includeBaseDirectory> fits the bill
> perfectly.
>
> There is one issue, however, which I haven't been able to solve: I can't get
> the plugin to make the produced assembly the *primary* artifact. (There is
> only a single assembly per project produced this way.)
>
> Is this possible? Or is there another plugin which I can resort to? (The
>  org.apache.maven.plugins:maven-zip-plugin does almost what I want, but
> seems to be not longer supported in favour of the maven-assembly-plugin.)
> Any suggestions?
>
> Best wishes,
>
> Andreas
>
> ---------------------------------------------------------------------
> 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