commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: [ALL] How to "deploy" selectively (multi-module project)?
Date Thu, 17 Nov 2016 07:51:02 GMT
Hello Gilles,

Gilles <gilles@harfang.homelinux.org> schrieb am Do., 17. Nov. 2016 um
00:38 Uhr:

> Hello.
>
> For "Commons RNG" (branch "RNG-30__sampling"),
>
>    $ mvn clean deploy -Prelease -Ptest-deploy
>
> fails with
> ---
> Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
> on project commons-rng-build-tools: Deployment failed: repository
> element was not specified in the POM inside distributionManagement
> element or in -DaltDeploymentRepository=id::layout::url parameter ->
> [Help 1]
> ---
>
> The module referred to is "commons-rng-build-tools" but in fact
> that one must NOT be released (as, IIUC, it is only used to build
> the "public" modules of the component).
>
> How does one specify that the module should be built but not deployed?
>

Does http://maven.apache.org/plugins/maven-deploy-plugin/faq.html do the
trick for you?

Regards,
Benedikt


>
>
> Regards,
> Gilles
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message