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:
parent
1ec293a4a6
commit
002c0282cc
8
pom.xml
8
pom.xml
|
@ -22,6 +22,7 @@
|
||||||
<elasticsearch.license.headerDefinition>${elasticsearch.tools.directory}/commercial-license-check/license_header_definition.xml</elasticsearch.license.headerDefinition>
|
<elasticsearch.license.headerDefinition>${elasticsearch.tools.directory}/commercial-license-check/license_header_definition.xml</elasticsearch.license.headerDefinition>
|
||||||
<assembly.attach>true</assembly.attach>
|
<assembly.attach>true</assembly.attach>
|
||||||
<sources.attach>true</sources.attach>
|
<sources.attach>true</sources.attach>
|
||||||
|
<deploy.skip>false</deploy.skip>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -122,6 +123,13 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skip>${deploy.skip}</skip>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
@ -323,4 +323,13 @@
|
||||||
<module>shield-core-rest-tests</module>
|
<module>shield-core-rest-tests</module>
|
||||||
<module>smoke-test-watcher-with-shield</module>
|
<module>smoke-test-watcher-with-shield</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>deploy-public</id>
|
||||||
|
<properties>
|
||||||
|
<deploy.skip>true</deploy.skip>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -57,6 +57,18 @@
|
||||||
<url>http://maven.elasticsearch.org/artifactory/public-releases</url>
|
<url>http://maven.elasticsearch.org/artifactory/public-releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</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>
|
||||||
<profile>
|
<profile>
|
||||||
<id>default</id>
|
<id>default</id>
|
||||||
|
|
Loading…
Reference in New Issue