commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@bpm-inspire.com>
Subject Re: [ALL] How to "deploy" selectively (multi-module project)?
Date Thu, 17 Nov 2016 08:30:16 GMT
Benedikt Ritter wrote:

> 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?

However, if the build tools are required (i.e. referenced) to build the 
other components, you probably will have to release the build tools also.

Cheers,
Jörg


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



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


Mime
View raw message