2015-07-13 06:12:01 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2015-07-13 06:12:01 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>x-plugins</artifactId>
|
2015-08-17 07:44:33 -04:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2015-07-13 06:12:01 -04:00
|
|
|
<packaging>pom</packaging>
|
2015-08-17 16:45:59 -04:00
|
|
|
<name>X-Plugins: Parent POM</name>
|
2015-07-13 06:12:01 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>plugins</artifactId>
|
2015-08-17 07:44:33 -04:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2015-07-13 06:12:01 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
2015-07-14 13:29:18 -04:00
|
|
|
<elasticsearch.license.header>${elasticsearch.tools.directory}/commercial-license-check/elasticsearch_license_header.txt</elasticsearch.license.header>
|
|
|
|
<elasticsearch.license.headerDefinition>${elasticsearch.tools.directory}/commercial-license-check/license_header_definition.xml</elasticsearch.license.headerDefinition>
|
2015-07-23 10:35:40 -04:00
|
|
|
<assembly.attach>true</assembly.attach>
|
|
|
|
<sources.attach>true</sources.attach>
|
2015-08-14 09:15:04 -04:00
|
|
|
<deploy.skip>false</deploy.skip>
|
2015-07-13 06:12:01 -04:00
|
|
|
</properties>
|
|
|
|
|
2015-07-14 06:49:02 -04:00
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git@github.com:elastic/x-plugins.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:elastic/x-plugins.git</developerConnection>
|
|
|
|
<url>http://github.com/elastic/x-plugins</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>oss-snapshots</id>
|
|
|
|
<name>Sonatype OSS Snapshots</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
2015-07-22 11:13:58 -04:00
|
|
|
<updatePolicy>always</updatePolicy>
|
2015-07-14 06:49:02 -04:00
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-releases</id>
|
|
|
|
<url>http://maven.elasticsearch.org/releases</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>daily</updatePolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-internal-snapshots</id>
|
|
|
|
<url>http://maven.elasticsearch.org/artifactory/internal-snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
2015-07-16 12:59:52 -04:00
|
|
|
<artifactId>securemock</artifactId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2015-07-14 13:29:18 -04:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- include x-dev-tools resources bundle -->
|
|
|
|
<resourceBundles combine.children="append">
|
2015-08-18 03:42:45 -04:00
|
|
|
<resourceBundle>org.elasticsearch:x-dev-tools:${elasticsearch.version}</resourceBundle>
|
2015-07-14 13:29:18 -04:00
|
|
|
</resourceBundles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-07-23 10:35:40 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<attach>${assembly.attach}</attach>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<attach>${sources.attach}</attach>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-08-09 15:40:37 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- Don't run the license checker in x-plugins -->
|
|
|
|
<id>check-license</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-08-14 09:15:04 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>${deploy.skip}</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-07-14 13:29:18 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2015-07-13 06:12:01 -04:00
|
|
|
<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>
|
2015-07-23 10:35:40 -04:00
|
|
|
<properties>
|
|
|
|
<assembly.attach>false</assembly.attach>
|
|
|
|
<sources.attach>false</sources.attach>
|
|
|
|
</properties>
|
2015-07-13 06:12:01 -04:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-public-releases</id>
|
|
|
|
<name>Elasticsearch Public Releases</name>
|
|
|
|
<url>http://maven.elasticsearch.org/artifactory/public-releases</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
2015-07-23 10:35:40 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>attached-artifact-enforcer</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-attached-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<bannedAttachedArtifacts implementation="org.elasticsearch.enforcer.rules.BannedAttachedArtifacts">
|
|
|
|
<excludes>
|
|
|
|
<exclude>.*\.zip</exclude>
|
|
|
|
<exclude>.*-sources\.jar</exclude>
|
|
|
|
</excludes>
|
|
|
|
</bannedAttachedArtifacts>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-07-13 06:12:01 -04:00
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>default</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
2015-07-23 10:35:40 -04:00
|
|
|
<distributionManagement>
|
|
|
|
<!-- by doing this, we must always specify a profile when deploying and we will not inherit the
|
|
|
|
the repositories from a parent, which could be a public repo that we do not want to deploy to. -->
|
|
|
|
</distributionManagement>
|
2015-07-13 06:12:01 -04:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<modules>
|
2015-07-14 13:29:18 -04:00
|
|
|
<module>x-dev-tools</module>
|
2015-07-14 06:49:02 -04:00
|
|
|
<module>license</module>
|
|
|
|
<module>shield</module>
|
2015-07-13 06:12:01 -04:00
|
|
|
<module>watcher</module>
|
2015-07-21 04:40:52 -04:00
|
|
|
<module>marvel</module>
|
2015-08-07 07:57:30 -04:00
|
|
|
<module>qa</module>
|
2015-07-13 06:12:01 -04:00
|
|
|
</modules>
|
|
|
|
</project>
|