Pom of com.erudika:para-search-elasticsearch:1.25.3

Back to com.erudika:para-search-elasticsearch:1.25.3

<?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>

        <groupId>com.erudika</groupId>
        <artifactId>para-search-elasticsearch</artifactId>
        <version>1.25.3</version>
        <packaging>jar</packaging>

        <name>Para Elasticsearch Plugin</name>
        <description>A plugin for Para which enables support for Elasticsearch using the official Java client.</description>
        <url>https://paraio.org</url>

        <organization>
                <name>Erudika</name>
                <url>https://erudika.com</url>
        </organization>

        <licenses>
                <license>
                        <name>The Apache Software License, Version 2.0</name>
                        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
                        <distribution>repo</distribution>
                </license>
        </licenses>

        <developers>
                <developer>
                        <id>albogdano</id>
                        <name>Alex Bogdanovski</name>
                        <email>alex@erudika.com</email>
                        <url>https://github.com/albogdano</url>
                        <roles>
                                <role>developer</role>
                        </roles>
                </developer>
        </developers>

        <scm>
                <connection>scm:git:https://github.com/erudika/para-search-elasticsearch.git</connection>
                <developerConnection>scm:git:git@github.com:erudika/para-search-elasticsearch.git</developerConnection>
                <url>https://github.com/erudika/para-search-elasticsearch</url>
                <tag>1.25.3</tag>
        </scm>

        <issueManagement>
                <system>GitHub</system>
                <url>https://github.com/erudika/para-search-elasticsearch/issues</url>
        </issueManagement>

        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <maven.compiler.source>1.8</maven.compiler.source>
                <maven.compiler.target>1.8</maven.compiler.target>
                <skipTests>false</skipTests>
                <skipITs>${skipTests}</skipITs>
                <skipUTs>${skipTests}</skipUTs>
                <elasticsearch.version>5.5.1</elasticsearch.version>
        </properties>

        <dependencies>
                <dependency>
                        <groupId>com.erudika</groupId>
                        <artifactId>para-core</artifactId>
                        <version>1.25.2</version>
                        <scope>provided</scope>
                </dependency>

                <!-- ELASTICSEARCH CLIENTS -->
                <dependency>
                        <groupId>org.elasticsearch.client</groupId>
                        <artifactId>transport</artifactId>
                        <version>${elasticsearch.version}</version>
                </dependency>

                <!-- TESTING -->
                <dependency>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
                        <version>2.8.47</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.12</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>

        <build>
                <plugins>
                        <plugin>
                                <groupId>com.github.alexcojocaru</groupId>
                                <artifactId>elasticsearch-maven-plugin</artifactId>
                                <version>5.7</version>
                                <configuration>
                                        <skip>${skipITs}</skip>
                                        <autoCreateIndex>false</autoCreateIndex>
                                        <version>${elasticsearch.version}</version>
                                        <clusterName>test</clusterName>
                                        <tcpPort>9300</tcpPort>
                                        <httpPort>9200</httpPort>
                                </configuration>
                                <executions>
                                        <execution>
                                                <id>start-elasticsearch</id>
                                                <phase>pre-integration-test</phase>
                                                <goals>
                                                        <goal>runforked</goal>
                                                </goals>
                                        </execution>
                                        <execution>
                                                <id>stop-elasticsearch</id>
                                                <phase>post-integration-test</phase>
                                                <goals>
                                                        <goal>stop</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-shade-plugin</artifactId>
                                <version>2.4.1</version>
                                <executions>
                                        <execution>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>shade</goal>
                                                </goals>
                                                <configuration>
                                                        <minimizeJar>true</minimizeJar>
                                                        <shadedArtifactAttached>true</shadedArtifactAttached>
                                                        <transformers>
                                                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
                                                        </transformers>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-failsafe-plugin</artifactId>
                                <version>2.20</version>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>integration-test</goal>
                                                        <goal>verify</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <skipTests>${skipTests}</skipTests>
                                        <skipITs>${skipITs}</skipITs>
                                        <encoding>UTF-8</encoding>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-checkstyle-plugin</artifactId>
                                <version>2.17</version>
                                <executions>
                                        <execution>
                                                <id>validate-core</id>
                                                <phase>validate</phase>
                                                <configuration>
                                                        <skip>${skipTests}</skip>
                                                        <configLocation>${basedir}/src/main/resources/checkstyle.xml</configLocation>
                                                        <encoding>UTF-8</encoding>
                                                        <consoleOutput>true</consoleOutput>
                                                        <failsOnError>true</failsOnError>
                                                        <linkXRef>false</linkXRef>
                                                </configuration>
                                                <goals>
                                                        <goal>check</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-release-plugin</artifactId>
                                <version>2.5.3</version>
                                <configuration>
                                        <autoVersionSubmodules>true</autoVersionSubmodules>
                                        <mavenExecutorId>forked-path</mavenExecutorId>
                                        <tagNameFormat>@{project.version}</tagNameFormat>
                                        <preparationGoals>clean</preparationGoals>
                                        <useReleaseProfile>false</useReleaseProfile>
                                        <releaseProfiles>release</releaseProfiles>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.sonatype.plugins</groupId>
                                <artifactId>nexus-staging-maven-plugin</artifactId>
                                <version>1.6.8</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <serverId>ossrh</serverId>
                                        <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                                        <autoReleaseAfterClose>true</autoReleaseAfterClose>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-deploy-plugin</artifactId>
                                <version>2.8.2</version>
                        </plugin>

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>sonar-maven-plugin</artifactId>
                                <version>3.3.0.603</version>
                        </plugin>
                </plugins>
        </build>

        <profiles>
                <profile>
                        <id>release</id>
                        <activation>
                                <property>
                                        <name>performRelease</name>
                                        <value>true</value>
                                </property>
                        </activation>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-source-plugin</artifactId>
                                                <version>3.0.1</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>2.10.4</version>
                                                <executions>
                                                        <execution>
                                                                <id>attach-javadocs</id>
                                                                <goals>
                                                                        <goal>jar</goal>
                                                                </goals>
                                                                <configuration>
                                                                        <stylesheetfile>src/main/javadoc/stylesheet.css</stylesheetfile>
                                                                        <show>public</show>
                                                                        <aggregate>true</aggregate>
                                                                        <quiet>true</quiet>
                                                                        <docfilessubdirs>true</docfilessubdirs>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                        </plugin>

                                        <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>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                </plugins>
                        </build>
                </profile>
        </profiles>

        <distributionManagement>
                <snapshotRepository>
                        <id>oss.sonatype.org</id>
                        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
                </snapshotRepository>
                <repository>
                        <id>oss.sonatype.org</id>
                        <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
        </distributionManagement>

        <repositories>
                <repository>
                        <id>sonatype-snapshots</id>
                        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
                <repository>
                        <id>oss.sonatype.org</id>
                        <url>http://oss.sonatype.org/content/repositories/releases/</url>
                </repository>
        </repositories>

</project>