elasticsearch-migration
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.eemmiirr.lib</groupId> <artifactId>elasticsearch-migration</artifactId> <version>1.2.0</version> </dependency>
<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.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <groupId>com.github.eemmiirr.lib</groupId> <artifactId>elasticsearch-migration</artifactId> <version>1.2.0</version> <packaging>jar</packaging> <inceptionYear>2019</inceptionYear> <name>Elasticsearch schema migration library</name> <url>https://github.com/eemmiirr/elasticsearch-migration</url> <description>A flyway inspired Elasticsearch schema migration library</description> <licenses> <license> <name>Apache License Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>1</id> <name>Emir Dizdarevic</name> <email>4640075+eemmiirr@users.noreply.github.com</email> </developer> </developers> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>1.8</java.version> <arguments /> <!-- Dependency Versions --> <junit.version>4.12</junit.version> <hamcrest.version>1.3</hamcrest.version> <slf4j.version>1.7.25</slf4j.version> <guava.version>21.0</guava.version> <elasticsearch.version>7.4.0</elasticsearch.version> <apache-commons-lang3.version>3.7</apache-commons-lang3.version> <apache-commons.io.version>2.4</apache-commons.io.version> <reflections.version>0.9.11</reflections.version> <jackson.version>2.10.0</jackson.version> <json-path.version>2.3.0</json-path.version> <rest-assured.version>2.9.0</rest-assured.version> <lombok.version>1.18.0</lombok.version> <log4j2.version>2.8.2</log4j2.version> <!--Plugin versions--> <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version> <maven.resources.plugin.version>2.6</maven.resources.plugin.version> <maven.clean.plugin.version>2.5</maven.clean.plugin.version> <maven.surefire.plugin.version>2.14</maven.surefire.plugin.version> <maven.failsafe.plugin.version>2.14</maven.failsafe.plugin.version> <maven.surefire.report.plugin.version>2.14</maven.surefire.report.plugin.version> <maven.source.plugin.version>2.1.2</maven.source.plugin.version> <maven.javadoc.plugin.version>2.9</maven.javadoc.plugin.version> </properties> <dependencies> <!-- Tools --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${apache-commons-lang3.version}</version> </dependency> <dependency> <groupId>org.apache.directory.studio</groupId> <artifactId>org.apache.commons.io</artifactId> <version>${apache-commons.io.version}</version> </dependency> <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>${reflections.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <!-- JSON --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jdk8</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>${json-path.version}</version> </dependency> <!-- YAML --> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.github.java-json-tools</groupId> <artifactId>json-schema-validator</artifactId> <version>2.2.10</version> </dependency> <!-- Core --> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>${elasticsearch.version}</version> <exclusions> <exclusion> <groupId>org.locationtech.spatial4j</groupId> <artifactId>spatial4j</artifactId> </exclusion> <exclusion> <groupId>com.vividsolutions</groupId> <artifactId>jts</artifactId> </exclusion> </exclusions> </dependency> <!-- Logging dependencies --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>${hamcrest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured</artifactId> <version>${rest-assured.version}</version> <scope>test</scope> </dependency> <!-- Logging --> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j2.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j2.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-1.2-api</artifactId> <version>${log4j2.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>${log4j2.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>0.26.0</version> <executions> <execution> <id>default-start</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> </execution> <execution> <id>default-stop</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> <configuration> <images> <image> <alias>elasticsearch</alias> <name>docker.elastic.co/elasticsearch/elasticsearch-oss:${elasticsearch.version}</name> <run> <env> <cluster.name>elasticsearch</cluster.name> <discovery.type>single-node</discovery.type> </env> <namingStrategy>alias</namingStrategy> <ports> <port>9200:9200</port> <port>9300:9300</port> </ports> <wait> <http> <url>http://localhost:9200/_cat/health</url> <method>GET</method> <status>200</status> </http> <time>60000</time> </wait> </run> </image> </images> </configuration> </plugin> <!-- Other plugins required by the build --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven.source.plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.plugin.version}</version> <configuration> <systemProperties> <property> <name>log4j.configurationFile</name> <value>log4j2-dev.xml</value> </property> </systemProperties> <excludes> <exclude>**/*IntegrationTest.java</exclude> <exclude>**/*FunctionalTest.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven.failsafe.plugin.version}</version> <executions> <execution> <id>integration-tests</id> <configuration> <systemProperties> <log4j.configurationFile>log4j2-dev.xml</log4j.configurationFile> </systemProperties> <includes> <include>**/*IntegrationTest.java</include> </includes> </configuration> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>2.5</version> <configuration> <header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header> <properties> <owner>Emir Dizdarevic</owner> <email>4640075+eemmiirr@users.noreply.github.com</email> </properties> <includes> <include>**/*.java</include> </includes> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <arguments>${arguments} -Psonatype-oss-release -Psign</arguments> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>sign</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <repositories> <repository> <id>sonatype-nexus-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </repository> <repository> <id>oss-snapshot</id> <url>https://oss.sonatype.org/content/groups/public</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>oss-release</id> <url>https://oss.sonatype.org/content/groups/staging</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>plugin-snapshot</id> <url>https://oss.sonatype.org/content/groups/public</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>plugin-release</id> <url>https://oss.sonatype.org/content/groups/staging</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> <distributionManagement> <repository> <id>sonatype-nexus-staging</id> <name>Sonatype Nexus release repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus snapshot repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <scm> <connection>scm:git:git://github.com/eemmiirr/elasticsearch-migration.git</connection> <developerConnection>scm:git:git@github.com:eemmiirr/elasticsearch-migration.git</developerConnection> <url>http://github.com/eemmiirr/elasticsearch-migration.git</url> </scm> </project>