<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.bowriverstudio</groupId>
	<artifactId>fscrawler-parent</artifactId>
	<packaging>pom</packaging>
	<version>2.6</version>
	<modules>
		<module>framework</module>
		<module>test-framework</module>
		<module>settings</module>
		<module>test-documents</module>
		<module>elasticsearch-client</module>
		<module>core</module>
		<!-- <module>integration-tests</module> -->
		<module>distribution</module>
		<module>cli</module>
		<module>tika</module>
		<module>beans</module>
		<module>crawler</module>
		<module>rest</module>
	</modules>
	<name>FSCrawler</name>
	<url>https://github.com/Bowriverstudio/fscrawler</url>
	<description>FS Crawler with custom OCR(Microsoft Computer Vision) offers a simple way to index binary files into elasticsearch.</description>

	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<!--suppress CheckTagEmptyBody -->
	<properties>
		<elasticsearch.version>7.4.0</elasticsearch.version>
		<elasticsearch6.version>6.8.2</elasticsearch6.version>
		<elasticsearch5.version>5.6.15</elasticsearch5.version>

		<tika.version>1.22</tika.version>
		<jackson.version>2.10.0</jackson.version>
		<log4j.version>2.11.1</log4j.version>
		<jansi.version>1.17.1</jansi.version>
		<jersey.version>2.27</jersey.version>

		<!-- Non Apache2 Compatible licenses -->
		<levigo.version>2.0</levigo.version>
		<tiff.version>1.4.0</tiff.version>
		<jpeg.version>1.3.0</jpeg.version>

		<!-- To skip Tests -->
		<skipTests>false</skipTests>
		<skipUnitTests>${skipTests}</skipUnitTests>
		<skipIntegTests>${skipTests}</skipIntegTests>

		<!-- For integration tests using Docker or external cluster -->
		<integ.elasticsearch.image>docker.elastic.co/elasticsearch/elasticsearch</integ.elasticsearch.image>
		<integ.elasticsearch.version>${elasticsearch.version}</integ.elasticsearch.version>
		<integ.security.username>elastic</integ.security.username>
		<integ.security.password>changeme</integ.security.password>
		<integ.elasticsearch.port>9200</integ.elasticsearch.port>

		<!-- Randomized testing framework -->
		<tests.locale>random</tests.locale>
		<tests.timezone>random</tests.timezone>
		<tests.output>onError</tests.output>
		<tests.verbose>false</tests.verbose>
		<tests.leaveTemporary>false</tests.leaveTemporary>
		<tests.parallelism>auto</tests.parallelism>
		<tests.seed></tests.seed>
		<!-- Running the tests with Tesseract OCR might take time -->
		<tests.timeoutSuite>600000</tests.timeoutSuite>
		<tests.timeout>600000</tests.timeout>

		<!-- For CVE Audit with Sonatype -->
		<env.SONATYPE_USER></env.SONATYPE_USER>
		<env.SONATYPE_PASS></env.SONATYPE_PASS>
		<sonatype.username>${env.SONATYPE_USER}</sonatype.username>
		<sonatype.password>${env.SONATYPE_PASS}</sonatype.password>

		<java.compiler.version>1.8</java.compiler.version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>

	<developers>
		<developer>
			<id>rameshthumati</id>
			<name>Ramesh Thumati</name>
			<email>ramesh.t@softsuave.com</email>
			<url>https://www.softsuave.com</url>
			<timezone>+5:30</timezone>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:git@github.com:Bowriverstudio/fscrawler.git</connection>
		<url>scm:git:git@github.com:Bowriverstudio/fscrawler.git</url>
		<developerConnection>scm:git:git@github.com:Bowriverstudio/fscrawler.git</developerConnection>
	</scm>

	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/Bowriverstudio/fscrawler/</url>
	</issueManagement>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>3.8.0</version>
					<configuration>
						<source>${java.compiler.version}</source>
						<target>${java.compiler.version}</target>
						<encoding>UTF-8</encoding>
						<optimize>true</optimize>
						<showDeprecation>true</showDeprecation>
						<showWarnings>true</showWarnings>
						<compilerArgument>-Xlint:all,-serial,-path,-rawtypes,-unchecked</compilerArgument>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-help-plugin</artifactId>
					<version>3.1.0</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-install-plugin</artifactId>
					<version>2.5.2</version>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>versions-maven-plugin</artifactId>
					<version>2.5</version>
					<configuration>
						<generateBackupPoms>false</generateBackupPoms>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jar-plugin</artifactId>
					<version>3.1.0</version>
					<configuration>
						<skipIfEmpty>true</skipIfEmpty>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-dependency-plugin</artifactId>
					<version>3.1.1</version>
				</plugin>
				 <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>3.1.0</version>
                </plugin>
				<plugin>
					<groupId>com.carrotsearch.randomizedtesting</groupId>
					<artifactId>junit4-maven-plugin</artifactId>
					<version>2.6.3</version>
					<configuration>
						<heartbeat>10</heartbeat>
						<jvmOutputAction>pipe,ignore</jvmOutputAction>
						<leaveTemporary>${tests.leaveTemporary}</leaveTemporary>
						<ifNoTests>warn</ifNoTests>
						<parallelism>${tests.parallelism}</parallelism>
						<listeners>
							<report-text showThrowable="true"
								showStackTraces="true" showOutput="${tests.output}"
								showStatusOk="${tests.verbose}" showStatusError="true"
								showStatusFailure="true" showStatusIgnored="true"
								showSuiteSummary="${tests.verbose}" />
						</listeners>
						<seed>${tests.seed}</seed>
						<systemProperties combine.children="append">
							<arg.common>arg.common</arg.common>
							<tests.timeoutSuite>${tests.timeoutSuite}</tests.timeoutSuite>
							<tests.locale>${tests.locale}</tests.locale>
							<tests.timezone>${tests.timezone}</tests.timezone>
							<java.util.logging.manager>org.apache.logging.log4j.jul.LogManager</java.util.logging.manager>
							<java.awt.headless>true</java.awt.headless>
						</systemProperties>
					</configuration>

					<executions>
						<execution>
							<id>unit-tests</id>
							<phase>test</phase>
							<goals>
								<goal>junit4</goal>
							</goals>
							<inherited>true</inherited>
							<configuration>
								<skipTests>${skipUnitTests}</skipTests>
								<includes>
									<include>**/*Test.class</include>
								</includes>
								<excludes>
									<exclude>**/*$*</exclude>
								</excludes>
							</configuration>
						</execution>
						<!-- <execution> <id>integration-tests</id> <phase>integration-test</phase> 
							<goals> <goal>junit4</goal> </goals> <inherited>true</inherited> <configuration> 
							<skipTests>${skipIntegTests}</skipTests> <includes> <include>**/*IT.class</include> 
							</includes> <excludes> <exclude>**/*$*</exclude> </excludes> </configuration> 
							</execution> -->
					</executions>
				</plugin>
				<!-- Disable surefire so we can use randomize testing framework -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.22.0</version>
					<executions>
						<execution>
							<id>default-test</id>
							<phase>none</phase>
						</execution>
					</executions>
				</plugin>

				<!-- For IT using Docker -->
				<plugin>
					<groupId>io.fabric8</groupId>
					<artifactId>docker-maven-plugin</artifactId>
					<version>0.26.1</version>
					<configuration>
						<images>
							<image>
								<alias>elasticsearch-it</alias>
								<name>dadoonet/docker-elasticsearch:${project.version}</name>
								<build>
									<from>${integ.elasticsearch.image}:${integ.elasticsearch.version}</from>
								</build>
								<run>
									<ports>
										<port>integ.elasticsearch.port:9200</port>
									</ports>
									<wait>
										<http>
											<url>http://localhost:${integ.elasticsearch.port}/</url>
											<status>200..499</status>
										</http>
										<time>60000</time>
									</wait>
								</run>
							</image>
						</images>
					</configuration>
					<executions>
						<execution>
							<id>start-elasticsearch</id>
							<phase>pre-integration-test</phase>
							<goals>
								<goal>build</goal>
								<goal>stop</goal>
								<goal>start</goal>
							</goals>
						</execution>
						<execution>
							<id>stop-elasticsearch</id>
							<phase>post-integration-test</phase>
							<goals>
								<goal>stop</goal>
							</goals>
						</execution>
					</executions>
				</plugin>

				<!-- Generate the release zip file (run during package step) -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
					<version>3.1.0</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-enforcer-plugin</artifactId>
					<version>3.0.0-M2</version>
					<configuration>
						<rules>
							<requireJavaVersion>
								<version>${java.compiler.version}</version>
							</requireJavaVersion>
						</rules>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-deploy-plugin</artifactId>
					<version>2.8.2</version>
				</plugin>
				<plugin>
					<groupId>org.sonatype.ossindex.maven</groupId>
					<artifactId>ossindex-maven-plugin</artifactId>
					<version>3.0.1</version>
					<executions>
						<execution>
							<id>audit-dependencies</id>
							<phase>verify</phase>
							<goals>
								<goal>audit</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-changes-plugin</artifactId>
					<version>2.12.1</version>
					<configuration>
						<smtpHost>auth.smtp.1and1.fr</smtpHost>
						<smtpPort implementation="java.lang.Integer">465</smtpPort>
						<sslMode>true</sslMode>
						<fromDeveloperId>dadoonet</fromDeveloperId>
						<toAddresses>
							<toAddress implementation="java.lang.String">discuss+community-plugins@elastic.co</toAddress>
						</toAddresses>
						<issueManagementSystems>
							<issueManagementSystem>GitHub</issueManagementSystem>
						</issueManagementSystems>
						<issueTypes>
							<add>new,doc</add>
							<fix>bug</fix>
							<update>update</update>
							<remove>remove</remove>
						</issueTypes>
						<onlyCurrentVersion>true</onlyCurrentVersion>
						<urlDownload>https://repo1.maven.org/maven2/fr/pilato/elasticsearch/crawler/fscrawler-es6/${project.version}</urlDownload>
						<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-framework</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-test-framework</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-test-documents</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-it-common</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-core</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-settings</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-elasticsearch-client</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-elasticsearch-client-base</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-elasticsearch-client-v5</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-elasticsearch-client-v6</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-cli</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-beans</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-crawler</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-crawler-abstract</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-crawler-fs</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-crawler-ssh</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-tika</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>com.bowriverstudio</groupId>
				<artifactId>fscrawler-rest</artifactId>
				<version>2.6</version>
			</dependency>

			<dependency>
				<groupId>com.fasterxml.jackson.core</groupId>
				<artifactId>jackson-core</artifactId>
				<version>${jackson.version}</version>
			</dependency>
			<dependency>
				<groupId>com.fasterxml.jackson.core</groupId>
				<artifactId>jackson-databind</artifactId>
				<version>${jackson.version}</version>
			</dependency>
			<dependency>
				<groupId>com.fasterxml.jackson.core</groupId>
				<artifactId>jackson-annotations</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.fasterxml.jackson.dataformat</groupId>
				<artifactId>jackson-dataformat-xml</artifactId>
				<version>${jackson.version}</version>
			</dependency>

			<dependency>
				<groupId>org.apache.tika</groupId>
				<artifactId>tika-parsers</artifactId>
				<version>${tika.version}</version>
				<exclusions>
					<!-- Conflicting lib with log4j-slf4j-impl-2.11.1 -->
					<exclusion>
						<groupId>org.slf4j</groupId>
						<artifactId>slf4j-log4j12</artifactId>
					</exclusion>
					<!-- Not Apache2 License compatible -->
					<exclusion>
						<groupId>edu.ucar</groupId>
						<artifactId>netcdf</artifactId>
					</exclusion>
					<!-- Not Apache2 License compatible -->
					<exclusion>
						<groupId>edu.ucar</groupId>
						<artifactId>cdm</artifactId>
					</exclusion>
					<!-- Not Apache2 License compatible -->
					<exclusion>
						<groupId>edu.ucar</groupId>
						<artifactId>httpservices</artifactId>
					</exclusion>
					<!-- Not Apache2 License compatible -->
					<exclusion>
						<groupId>edu.ucar</groupId>
						<artifactId>grib</artifactId>
					</exclusion>
					<!-- Not Apache2 License compatible -->
					<exclusion>
						<groupId>edu.ucar</groupId>
						<artifactId>netcdf4</artifactId>
					</exclusion>
					<!-- Not Apache2 License compatible -->
					<exclusion>
						<groupId>com.uwyn</groupId>
						<artifactId>jhighlight</artifactId>
					</exclusion>
					<exclusion>
						<groupId>org.ow2.asm</groupId>
						<artifactId>asm-debug-all</artifactId>
					</exclusion>
					<exclusion>
						<groupId>commons-logging</groupId>
						<artifactId>commons-logging-api</artifactId>
					</exclusion>
					<!-- Must be removed because it conflicts with Jersey (another JaxRS 
						implementation) -->
					<exclusion>
						<groupId>org.apache.cxf</groupId>
						<artifactId>cxf-rt-rs-client</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<!-- Add some optional dependencies -->
			<dependency>
				<groupId>org.xerial</groupId>
				<artifactId>sqlite-jdbc</artifactId>
				<version>3.23.1</version>
			</dependency>

			<!-- For legal reasons (incompatible license), these dependencies are 
				to marked as optional so users who might want to use them have to provided 
				them manually in the lib dir. -->
			<dependency>
				<groupId>com.levigo.jbig2</groupId>
				<artifactId>levigo-jbig2-imageio</artifactId>
				<version>${levigo.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>com.github.jai-imageio</groupId>
				<artifactId>jai-imageio-core</artifactId>
				<version>${tiff.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>com.github.jai-imageio</groupId>
				<artifactId>jai-imageio-jpeg2000</artifactId>
				<version>${jpeg.version}</version>
				<optional>true</optional>
			</dependency>

			<!-- For Language detection -->
			<dependency>
				<groupId>org.apache.tika</groupId>
				<artifactId>tika-langdetect</artifactId>
				<version>${tika.version}</version>
				<exclusions>
					<!-- Must be removed because it conflicts with Jersey (another JaxRS 
						implementation) -->
					<exclusion>
						<groupId>org.apache.cxf</groupId>
						<artifactId>cxf-rt-rs-client</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<!--Dependency for parsing remote ssh directory [http://www.jcraft.com/jsch/] -->
			<dependency>
				<groupId>com.jcraft</groupId>
				<artifactId>jsch</artifactId>
				<version>0.1.54</version>
			</dependency>

			<!-- For CLI -->
			<dependency>
				<groupId>com.beust</groupId>
				<artifactId>jcommander</artifactId>
				<version>1.72</version>
			</dependency>

			<!-- For REST Server -->
			<dependency>
				<groupId>org.glassfish.jersey.containers</groupId>
				<artifactId>jersey-container-grizzly2-http</artifactId>
				<version>${jersey.version}</version>
			</dependency>
			<dependency>
				<groupId>org.glassfish.jersey.media</groupId>
				<artifactId>jersey-media-json-jackson</artifactId>
				<version>${jersey.version}</version>
			</dependency>
			<dependency>
				<groupId>org.glassfish.jersey.media</groupId>
				<artifactId>jersey-media-multipart</artifactId>
				<version>${jersey.version}</version>
			</dependency>
			<dependency>
				<groupId>org.glassfish.jersey.inject</groupId>
				<artifactId>jersey-hk2</artifactId>
				<version>${jersey.version}</version>
			</dependency>

			<!-- Logging dependencies -->
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-core</artifactId>
				<version>${log4j.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-1.2-api</artifactId>
				<version>${log4j.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-slf4j-impl</artifactId>
				<version>${log4j.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-jcl</artifactId>
				<version>${log4j.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-jul</artifactId>
				<version>${log4j.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>org.fusesource.jansi</groupId>
				<artifactId>jansi</artifactId>
				<version>${jansi.version}</version>
				<optional>true</optional>
			</dependency>

			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>2.5</version>
			</dependency>

			<!-- Test dependencies -->
			<dependency>
				<groupId>org.hamcrest</groupId>
				<artifactId>hamcrest-all</artifactId>
				<version>1.3</version>
			</dependency>
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>4.12</version>
			</dependency>
			<dependency>
				<groupId>com.carrotsearch.randomizedtesting</groupId>
				<artifactId>randomizedtesting-runner</artifactId>
				<version>2.6.3</version>
			</dependency>

			<!-- CVE Temporary Fix -->
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcprov-jdk15on</artifactId>
				<version>1.60</version>
			</dependency>
		</dependencies>
	</dependencyManagement>
	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>
	<repositories>
		<!-- This repository is used to test with x-pack -->
		<repository>
			<id>elastic-download-service</id>
			<name>Elastic Download Service</name>
			<url>https://artifacts.elastic.co/maven/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>

		<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>
			</snapshots>
		</repository>
	</repositories>

	<profiles>
		<profile>
			<id>skip-fabric8</id>
			<activation>
				<property>
					<name>tests.cluster.url</name>
				</property>
			</activation>
		</profile>
		<profile>
			<id>run-fabric8</id>
			<activation>
				<property>
					<name>!tests.cluster.url</name>
				</property>
			</activation>
		</profile>
		<profile>
			<id>oss</id>
			<properties>
				<integ.elasticsearch.image>docker.elastic.co/elasticsearch/elasticsearch-oss</integ.elasticsearch.image>
			</properties>
		</profile>
		<profile>
			<id>check_cve_anonymous</id>
			<activation>
				<property>
					<name>!sonatype.username</name>
				</property>
			</activation>
			<build>
				<plugins>
					<!-- For each module, we automatically check for vulnerabilities -->
					<plugin>
						<groupId>org.sonatype.ossindex.maven</groupId>
						<artifactId>ossindex-maven-plugin</artifactId>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>2.2.1</version>
						<executions>
							<execution>
								<id>bundle-sources</id>
								<phase>package</phase>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.7</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>check_cve_auth</id>
			<activation>
				<property>
					<name>sonatype.username</name>
				</property>
			</activation>
			<build>
				<plugins>
					<!-- For each module, we automatically check for vulnerabilities -->
					<plugin>
						<groupId>org.sonatype.ossindex.maven</groupId>
						<artifactId>ossindex-maven-plugin</artifactId>
						<configuration>
							<clientConfiguration>
								<authConfiguration>
									<username>${sonatype.username}</username>
									<password>${sonatype.password}</password>
								</authConfiguration>
							</clientConfiguration>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>release</id>
			<build>
				<plugins>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>
