You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Shaun Poore <sh...@gmail.com> on 2008/10/08 17:13:51 UTC

maven deploy plugin help

so I'm attempting to run mvn deploy from a top level pom and I have an issue
I was wondering if anyone had the answer to, any help is greatly
appreciated.

The top level pom builds several child pom modules.  Now I want all of the
child poms to be deployed except for one or two when I run mvn deploy from
the top level directory.  I'm wondering if I can specify in my pom which
child pom's I want to be deployed or don't want deployed when I run "mvn
deploy" from the top level directory.  I want to keep them all building the
same but don't want to have them all deployed.

Also another potential option is that all of the child projects that I don't
want to deploy are deployed as ear or war files.  So maybe there is a way to
specify that I only want jars to be deployed from the top level pom?

Re: maven deploy plugin help

Posted by Brett Porter <br...@gmail.com>.
You can configure the deploy plugin in each of those projects to skip
deployment:
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skip

2008/10/9 Shaun Poore <sh...@gmail.com>:
> so I'm attempting to run mvn deploy from a top level pom and I have an issue
> I was wondering if anyone had the answer to, any help is greatly
> appreciated.
>
> The top level pom builds several child pom modules.  Now I want all of the
> child poms to be deployed except for one or two when I run mvn deploy from
> the top level directory.  I'm wondering if I can specify in my pom which
> child pom's I want to be deployed or don't want deployed when I run "mvn
> deploy" from the top level directory.  I want to keep them all building the
> same but don't want to have them all deployed.
>
> Also another potential option is that all of the child projects that I don't
> want to deploy are deployed as ear or war files.  So maybe there is a way to
> specify that I only want jars to be deployed from the top level pom?
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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