mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
In order to have consistent deploys across several repositories, we should deploy to sonatype first, then mirror those contents, and then upload to s3. This means, the aws wagon is not needed anymore.
69 lines
2.1 KiB
XML
69 lines
2.1 KiB
XML
<project>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-dev-tools</artifactId>
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
<name>Elasticsearch Build Resources</name>
|
|
<description>Tools to assist in building and developing in the Elasticsearch project</description>
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
<relativePath></relativePath>
|
|
</parent>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<elasticsearch.s3.repository>s3://download.elasticsearch.org/elasticsearch/staging/</elasticsearch.s3.repository>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
<version>1.5</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>bundle</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<!-- sign the artifacts with GPG -->
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
<configuration>
|
|
<keyname>${gpg.keyname}</keyname>
|
|
<passphrase>${gpg.passphrase}</passphrase>
|
|
<defaultKeyring>${gpg.keyring}</defaultKeyring>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|