skip deployment of dev tools and qa modules when deploying publicly

Closes elastic/elasticsearch#433

Original commit: elastic/x-pack-elasticsearch@3f0f7fda4f
This commit is contained in:
jaymode 2015-08-14 09:15:04 -04:00
parent 1ec293a4a6
commit 002c0282cc
3 changed files with 29 additions and 0 deletions

View File

@ -22,6 +22,7 @@
<elasticsearch.license.headerDefinition>${elasticsearch.tools.directory}/commercial-license-check/license_header_definition.xml</elasticsearch.license.headerDefinition>
<assembly.attach>true</assembly.attach>
<sources.attach>true</sources.attach>
<deploy.skip>false</deploy.skip>
</properties>
<scm>
@ -122,6 +123,13 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>${deploy.skip}</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

View File

@ -323,4 +323,13 @@
<module>shield-core-rest-tests</module>
<module>smoke-test-watcher-with-shield</module>
</modules>
<profiles>
<profile>
<id>deploy-public</id>
<properties>
<deploy.skip>true</deploy.skip>
</properties>
</profile>
</profiles>
</project>

View File

@ -57,6 +57,18 @@
<url>http://maven.elasticsearch.org/artifactory/public-releases</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>default</id>