<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>
  <parent>
    <groupId>org.drools</groupId>
    <artifactId>drools-osgi</artifactId>
    <version>6.0.0.Beta1</version>
  </parent>

  <artifactId>drools-karaf-features</artifactId>

  <name>Drools :: Karaf Features</name>

  <properties>
    <aries.jpa.version>1.0.1</aries.jpa.version>
    <jexcelapi.version>2.6.12</jexcelapi.version>
    <javax-inject.version>1.0</javax-inject.version>
    <eclipse-jdt.version>4.2.1</eclipse-jdt.version>
    <janino.version>2.6.1</janino.version>
    <servicemix-antlr-bundle.version>3.5_1</servicemix-antlr-bundle.version>
    <servicemix-jaxb.version>2.2.1.1_2</servicemix-jaxb.version>
    <servicemix-jaxb-spec.version>1.9.0</servicemix-jaxb-spec.version>
    <servicemix-quartz-bundle.version>2.1.6_1</servicemix-quartz-bundle.version>
    <servicemix-protobuf-google-bundle.version>2.4.1_1</servicemix-protobuf-google-bundle.version>
    <servicemix-xstream-bundle.version>1.4.3_1</servicemix-xstream-bundle.version>
    <servicemix-woodstock-bundle.version>3.2.9_3</servicemix-woodstock-bundle.version>
  </properties>

  <build>
    <resources>
      <resource>
        <directory>${project.basedir}/src/main/filtered-resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>

    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-artifacts</id>
            <phase>package</phase>
            <goals>
              <goal>attach-artifact</goal>
            </goals>
            <configuration>
              <artifacts>
                <artifact>
                  <file>${project.build.outputDirectory}/repository/features.xml</file>
                  <type>xml</type>
                  <classifier>features</classifier>
                </artifact>
              </artifacts>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
