Benedikt Ritter wrote: > Hello Gilles, > > Gilles <gil...@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-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org