I'm a little bit confused. Is the aggregator pom also the parent of the
modules? If it is, it should also be deployed.

If not, I guess it should be able to make it not deploy by doing exactly as
described in:
http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip
Declare this in the aggregator pom. Have you tried it and it doesn't work?

/Anders

On Fri, Sep 11, 2009 at 15:48, Roland Asmann <[email protected]> wrote:

> Hi all,
>
> Is it possible to skip deployment of a specific module when triggering 'mvn
> deploy'? I've read in [1] that it's possible, but I think this will only
> work
> on sub-modules.
>
> My problem is that I have an aggregator-pom that is only used as an
> aggregator
> and should not be deployed. Since itś just a small POM, it wouldn't be a
> real
> big problem if it finds it's way into our company's repository, but seeing
> how we have a lot of those small aggregator-POMs, it might clutter the
> repo.
>
> So, can anybody tell me if [1] works for the parent as well? If nobody
> knows,
> I might just give it a try and see what it does...
>
> Thanks.
>
>
> [1] http://maven.apache.org/plugins/maven-deploy-plugin/faq.html
>
> --
> Roland Asmann
>
> CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> Bäckerstrasse 1/2/7
> A-1010 Wien
> FN 266155f, Handelsgericht Wien
>
> Tel.: +43/1/513 88 77 - 27
> Fax.: +43/1/513 88 62
> Email: [email protected]
> Web: www.cfc.at
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to