<?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>com.adobe.nlp</groupId>
		<artifactId>InvokeIt</artifactId>
		<version>1.7.8</version>
	</parent>

	<artifactId>InvokeIt-decompounder-sdk</artifactId>
	<name>InvokeIt-decompounder-sdk</name>

	<packaging>bundle</packaging>


	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-remote-resources-plugin</artifactId>
				<executions>
					<execution>
						<id>process-remote-resources</id>
						<goals>
							<goal>process</goal>
						</goals>
						<configuration>
							<attachToMain>false</attachToMain>
							<attachToTest>true</attachToTest>
							<resourceBundles>
								<resourceBundle>com.adobe.nlp:InvokeIt-decompounder-data:${project.version}
								</resourceBundle>
							</resourceBundles>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>${jdk.version}</source>
					<target>${jdk.version}</target>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<!--<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> -->
						<Export-Package>
							com.adobe.nlp.components.basic.decompounderex.decompounderx,
						</Export-Package>
						<Import-Package>
							*;resolution:=optional
						</Import-Package>
						<Private-Package>

						</Private-Package>
					</instructions>
				</configuration>
			</plugin>


			<plugin>
				<groupId>org.apache.sling</groupId>
				<artifactId>maven-sling-plugin</artifactId>
				<executions>
					<execution>
						<id>install-bundle</id>
						<goals>
							<goal>install</goal>
						</goals>
						<configuration>
							<slingUrl>http://localhost:4502/system/console</slingUrl>
							<user>admin</user>
							<password>admin</password>
						</configuration>
					</execution>
				</executions>
			</plugin>

		</plugins>

	</build>

	<properties>
		<lucene.version>4.10.0</lucene.version>
		<resource.utils.version>1.0.0</resource.utils.version>
	</properties>

	<dependencies>

		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-core</artifactId>
			<version>${lucene.version}</version>
		</dependency>

		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-analyzers-common</artifactId>
			<version>${lucene.version}</version>
		</dependency>

		<dependency>
			<groupId>org.apache.lucene</groupId>
			<artifactId>lucene-queryparser</artifactId>
			<version>${lucene.version}</version>
		</dependency>
		<dependency>
			<groupId>com.adobe.nlp</groupId>
			<artifactId>adobenlp-resource-utils</artifactId>
			<version>${resource.utils.version}</version>
		</dependency>
	</dependencies>

	<repositories>
		<repository>
			<id>Adobe TAT repository</id>
			<url>http://10.5.188.77:8081/nexus/content/repositories/releases/</url>
		</repository>
		<repository>
			<id>Adobe TAT repository Snapshot</id>
			<url>http://10.5.188.77:8081/nexus/content/repositories/snapshots/</url>
		</repository>
		<repository>
			<id>Atilika Open Source repository</id>
			<url>http://www.atilika.org/nexus/content/repositories/atilika</url>
		</repository>
	</repositories>
</project>
