<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>net.osgiliath.wrappers</groupId>
    <artifactId>net.osgiliath.wrappers</artifactId>
    <version>0.2.1</version>
  </parent>
  <artifactId>net.osgiliath.wrapper.deltaspike-servlet-module-impl</artifactId>
  	<name>Wrapper for Deltaspike servlet impl</name>
	<description>OSGI manifest wrapper for deltaspike implementation</description>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>copy</id>
						<phase>compile</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>org.apache.deltaspike.modules</groupId>
									<artifactId>deltaspike-servlet-module-impl</artifactId>
									<overWrite>false</overWrite>
									<outputDirectory>${project.build.directory}/classes</outputDirectory>
								</artifactItem>
							</artifactItems>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<configuration>
					<instructions>
						<_include>-osgi.bnd</_include>
						<Bundle-Version>${org.apache.deltaspike.modules_deltaspike-servlet-module-impl.version}</Bundle-Version>
						<Embed-Dependency>deltaspike-servlet-module-impl,!*</Embed-Dependency>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>org.apache.deltaspike.modules</groupId>
			<artifactId>deltaspike-servlet-module-impl</artifactId>
		</dependency>
	</dependencies>
</project>