Updated pom.xml
Changes reflect the restructuring of elasticsearch maven repo - changed the repository names (for consistency sake) - elasticsearch repositories now point to `/releases` and `/snapshots` - added `deploy-internal` and `deploy-public` profiles Original commit: elastic/x-pack-elasticsearch@92709ce38a
This commit is contained in:
parent
78f3e28cb8
commit
8b95d0f71c
40
pom.xml
40
pom.xml
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch-shield</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:elasticsearch/elasticsearch-shield.git</connection>
|
||||
|
@ -22,8 +22,8 @@
|
|||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>es-releases</id>
|
||||
<url>http://maven.elasticsearch.org/libs-release-local</url>
|
||||
<id>elasticsearch-releases</id>
|
||||
<url>http://maven.elasticsearch.org/releases</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
|
@ -33,8 +33,8 @@
|
|||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>es-snapshots</id>
|
||||
<url>http://maven.elasticsearch.org/libs-snapshot</url>
|
||||
<id>elasticsearch-snapshots</id>
|
||||
<url>http://maven.elasticsearch.org/snapshots</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<lucene.version>4.10.2</lucene.version>
|
||||
<lucene.maven.version>4.10.2</lucene.maven.version>
|
||||
<elasticsearch.version>1.4.2</elasticsearch.version>
|
||||
<license.plugin.version>1.0.0-beta1</license.plugin.version>
|
||||
<license.plugin.version>1.0.0-beta2</license.plugin.version>
|
||||
|
||||
<tests.jvms>auto</tests.jvms>
|
||||
<tests.shuffle>true</tests.shuffle>
|
||||
|
@ -439,9 +439,10 @@
|
|||
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<version>2.5.3</version>
|
||||
<configuration>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<attach>false</attach>
|
||||
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
|
||||
<descriptors>
|
||||
<descriptor>${basedir}/src/main/assemblies/plugin.xml</descriptor>
|
||||
|
@ -481,6 +482,31 @@
|
|||
|
||||
|
||||
<profiles>
|
||||
<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>
|
||||
<!-- default profile, with randomization setting kicks in -->
|
||||
<profile>
|
||||
<id>default</id>
|
||||
|
|
Loading…
Reference in New Issue