mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
* removes lots of duplicate pom logic * removes duplicate forbidden API logic * fixes new forbidden API violations Original commit: elastic/x-pack-elasticsearch@1fc5c6f79e
155 lines
5.4 KiB
XML
155 lines
5.4 KiB
XML
<?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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-parent</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-license</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<modules>
|
|
<module>core-shaded</module>
|
|
<module>core</module>
|
|
<module>licensor</module>
|
|
<module>plugin</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<license.basedir combine.self="override">${project.basedir}</license.basedir>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- test deps -->
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-test-framework</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch</artifactId>
|
|
<scope>test</scope>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
<artifactId>randomizedtesting-runner</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- actual deps -->
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<header>${license.basedir}/dev-tools/license/elasticsearch_license_header.txt</header>
|
|
<headerDefinitions>
|
|
<headerDefinition>${license.basedir}/dev-tools/license/license_header_definition.xml</headerDefinition>
|
|
</headerDefinitions>
|
|
<includes>
|
|
<include>**/src/main/java/org/elasticsearch/**/*.java</include>
|
|
<include>**/src/test/java/org/elasticsearch/**/*.java</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>oss-snapshots</id>
|
|
<name>Sonatype OSS Snapshots</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<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>
|
|
<profile>
|
|
<id>default</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
<artifactId>junit4-maven-plugin</artifactId>
|
|
<configuration>
|
|
<argLine>${tests.jvm.argline}</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|