<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>biz.aQute.bnd</groupId>
		<artifactId>bnd-plugin-parent</artifactId>
		<version>3.2.0</version>
        <relativePath>..</relativePath>
	</parent>

	<artifactId>bnd-baseline-maven-plugin</artifactId>
	<description>This maven plugin is used to make OSGi indexes from lists of maven dependencies.</description>
	<name>${project.groupId}:${project.artifactId}</name>
	<packaging>maven-plugin</packaging>

	<dependencies>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-plugin-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.maven.plugin-tools</groupId>
			<artifactId>maven-plugin-annotations</artifactId>
		</dependency>
		<dependency>
			<groupId>org.eclipse.aether</groupId>
			<artifactId>aether-api</artifactId>
		</dependency>
		<dependency>
			<groupId>biz.aQute.bnd</groupId>
			<artifactId>biz.aQute.bndlib</artifactId>
		</dependency>
	</dependencies>
	
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-invoker-plugin</artifactId>
				<configuration>
					<cloneProjectsTo>${project.build.directory}/integration-test/projects</cloneProjectsTo>
					<cloneClean>true</cloneClean>
					<projectsDirectory>src/test/resources/integration-test</projectsDirectory>
					<settingsFile>src/test/resources/integration-test/settings.xml</settingsFile>
					<localRepositoryPath>${project.build.directory}/integration-test/repo</localRepositoryPath>
					<postBuildHookScript>verify.groovy</postBuildHookScript>
					<goals>
						<goal>deploy</goal>
					</goals>
					<debug>true</debug>
				</configuration>
				<executions>
					<execution>
						<id>integration-test</id>
						<goals>
							<goal>install</goal>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	
</project>