<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>org.kie.modules</groupId>
    <artifactId>kie-eap-dynamic-modules</artifactId>
    <version>6.2.0.Beta2</version>
  </parent>

  <artifactId>org-jbpm-dashbuilder-webapp</artifactId>
  <name>KIE EAP -jBPM Dashbuilder dynamic module</name>
  <packaging>pom</packaging>

  <properties>
    <module.name>jbpm-dashbuilder</module.name>
    <module.type>dynamic</module.type>
  
    <!-- jBPM Dashbuilder does not depend on all bpms-layer modules, it only depends on some of them.. --> 
    <module.dependencies>org.apache.commons.math:main,org.apache.commons.compress:main,org.apache.commons.exec:main,org.apache.lucene:main,org.apache.maven:main,org.apache.commons.net:main,org.apache.poi:main,org.apache.commons.httpclient:main,org.apache.commons.fileupload:main,org.apache.commons.jxpath:main,com.opensymphony.quartz:main,org.junit:main,org.apache.xmlbeans:main,org.apache.commons.lang3:main</module.dependencies>
    
    <!-- The jBPM Dashbuilder webapp depends on kie-wb-webapp.
        So this module should add the jboss-all.xml descriptor.-->
    <module.add-jboss-all>true</module.add-jboss-all>
  </properties>

  <dependencies>

    <!-- The WAR dependency. -->
    <dependency>
      <groupId>org.jbpm.dashboard</groupId>
      <artifactId>jbpm-dashboard-distributions</artifactId>
      <version>${project.version}</version>
      <type>war</type>
      <classifier>jboss-as7</classifier>
    </dependency>

  </dependencies>

</project>
