<?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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-drools-wb</artifactId>
    <version>6.3.0-SNAPSHOT</version>
  </parent>

  <artifactId>kie-drools-wb-distribution</artifactId>
  <packaging>pom</packaging>

  <name>KIE Drools Workbench - Distribution</name>
  <description>Builds the download zip of KIE Drools Workbench.</description>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <descriptors>
            <descriptor>src/main/assembly/assembly-kie-drools-wb.xml</descriptor>
          </descriptors>
          <appendAssemblyId>false</appendAssemblyId>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <!-- Web application -->
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-drools-wb-distribution-wars</artifactId>
      <classifier>wildfly8</classifier>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-drools-wb-distribution-wars</artifactId>
      <classifier>eap6_4</classifier>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-drools-wb-distribution-wars</artifactId>
      <classifier>tomcat7</classifier>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-drools-wb-distribution-wars</artifactId>
      <classifier>weblogic12</classifier>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-drools-wb-distribution-wars</artifactId>
      <classifier>was8</classifier>
      <type>war</type>
    </dependency>

    <!-- Example repositories -->
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-wb-example-repositories</artifactId>
      <type>zip</type>
    </dependency>

    <!-- Configuration tool -->
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-config-cli</artifactId>
      <classifier>dist</classifier>
      <type>zip</type>
    </dependency>

    <!-- Migration tool -->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-wb-jcr2vfs-distribution</artifactId>
      <type>zip</type>
    </dependency>

  </dependencies>

</project>
