Updated the pom.xml

Added the new profiles with the new distribution management

Original commit: elastic/x-pack-elasticsearch@879e02211a
This commit is contained in:
uboness 2015-01-23 05:41:13 +01:00
parent 5be5b1915b
commit 91881f8c04
2 changed files with 38 additions and 4 deletions

View File

@ -96,6 +96,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<attach>false</attach>
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
</configuration>
<executions>

41
pom.xml
View File

@ -243,16 +243,49 @@
</plugins>
</build>
<profiles>
<!--Remove this profile once the CI is configured to use the "deploy-internal" profile-->
<profile>
<id>elasticsearch-private</id>
<id>artifactory-private</id>
<distributionManagement>
<repository>
<id>elasticsearch-internal-releases</id>
<name>Elasticsearch Internal Releases</name>
<url>http://maven.elasticsearch.org/artifactory/internal-releases</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>maven.elasticsearch.org-snapshots</name>
<url>https://maven.elasticsearch.org/libs-snapshot-local</url>
<id>elasticsearch-internal-snapshots</id>
<name>Elasticsearch Internal Snapshots</name>
<url>http://maven.elasticsearch.org/artifactory/internal-snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>deploy-internal</id>
<distributionManagement>
<repository>
<id>elasticsearch-internal-releases</id>
<name>Elasticsearch Internal Releases</name>
<url>http://maven.elasticsearch.org/artifactory/internal-releases</url>
</repository>
<snapshotRepository>
<id>elasticsearch-internal-snapshots</id>
<name>Elasticsearch Internal Snapshots</name>
<url>http://maven.elasticsearch.org/artifactory/internal-snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>deploy-public</id>
<distributionManagement>
<repository>
<id>elasticsearch-public-releases</id>
<name>Elasticsearch Public Releases</name>
<url>http://maven.elasticsearch.org/artifactory/public-releases</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>default</id>
<activation>