<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2012 Red Hat, Inc. and/or its affiliates.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~       http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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.jbpm</groupId>
        <artifactId>jbpm-console-ng</artifactId>
        <version>7.0.0.Beta5</version>
    </parent>
    <artifactId>jbpm-console-ng-showcase</artifactId>
    <packaging>war</packaging>

    <name>jBPM Console NG - Showcase</name>
    <description>jBPM Console NG - Showcase</description>

    <properties>
        <!-- Add the absolute path for $JBOSS_HOME below to manage another instance -->
        <errai.jboss.home>${project.build.directory}/wildfly-${version.org.wildfly.gwt.sdm}</errai.jboss.home>
    </properties>

    <dependencies>

        <!-- errai-cdi-jboss provides gwt-dev with the proper dependency exclusions and should be first on the classpath -->
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-cdi-jboss</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- dependencies added because of new illegal transitive dependency check -->
        <dependency>
            <groupId>org.gwtbootstrap3</groupId>
            <artifactId>gwtbootstrap3</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.gwtbootstrap3</groupId>
            <artifactId>gwtbootstrap3-extras</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-services-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-structure-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-structure-client</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-common</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-ioc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-bus</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-security-server</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.jboss.resteasy</groupId>
                    <artifactId>jaxrs-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.jboss.resteasy</groupId>
                    <artifactId>resteasy-cdi</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-forms-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-internal</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.services</groupId>
            <artifactId>kie-wb-common-refactoring-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-backend-server</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-client-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-commons</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-io</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-nio2-model</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-workbench-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-security-api</artifactId>
        </dependency>

        <!-- UberFire Preferences Extension -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-preferences-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-preferences-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-preferences-processors</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-preferences-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- UberFire Plugins Extension -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-runtime-plugins-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-runtime-plugins-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- UberFire Apps -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-apps-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-apps-backend</artifactId>
        </dependency>

        <!-- Layout Editor API -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-layout-editor-api</artifactId>
        </dependency>

        <!-- identity provider -->
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-identity-session-provider</artifactId>
        </dependency>

        <!-- Hack: ANT bundled with kie-ci needs to be excluded when running on Jetty -->
        <!-- It is added back for other Application Servers in their respective assemblies -->
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-ci</artifactId>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-runtime-manager</artifactId>
        </dependency>

        <!-- jBPM Console Panels -->
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-generic-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-generic-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-generic-forms-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-generic-forms-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-generic-forms-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-data-filters-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-backend</artifactId>
            <exclusions>
                <exclusion>
                    <artifactId>jboss-transaction-api_1.2_spec</artifactId>
                    <groupId>org.jboss.spec.javax.transaction</groupId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-forms-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-forms-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-process-runtime-forms-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-process-runtime-forms-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-kie-server-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-kie-server-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-process-runtime-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-process-runtime-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-process-runtime-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-executor-service-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-executor-service-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-executor-service-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-forms-modeler-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-human-tasks-forms-modeler-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-workbench-integration-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-workbench-integration-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-workbench-forms-integration-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-workbench-forms-integration-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-workbench-forms-integration-client</artifactId>
        </dependency>

        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-wb-workitems-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-wb-workitems-editor-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-document</artifactId>
        </dependency>

        <!-- jBPM Designer -->
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-designer-client</artifactId>
            <scope>provided</scope>
            <exclusions>
                <exclusion>
                    <artifactId>slf4j-jdk14</artifactId>
                    <groupId>org.slf4j</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>log4j-over-slf4j</artifactId>
                    <groupId>org.slf4j</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-designer-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-designer-backend</artifactId>
            <exclusions>
                <exclusion>
                    <artifactId>log4j-over-slf4j</artifactId>
                    <groupId>org.slf4j</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>slf4j-jdk14</artifactId>
                    <groupId>org.slf4j</groupId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- UberFire -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-all</artifactId>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-workbench-client-views-patternfly</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-workbench-processors</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- UberFire Security Extension -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-servlet-security</artifactId>
        </dependency>

        <!-- UberFire Extension -->
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-metadata-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-metadata-commons-io</artifactId>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-metadata-backend-lucene</artifactId>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-widgets-commons</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-widgets-table</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-widgets-service-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-widgets-service-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-simple-docks-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- Errai AS -->
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-jboss-as-support</artifactId>
        </dependency>

        <!-- CDI Integration Modules -->
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-cdi-client</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-javax-enterprise</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-cdi-server</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-ui</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-data-binding</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- GWT and GWT Extensions -->
        <dependency>
            <groupId>com.google.gwt</groupId>
            <artifactId>gwt-user</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.owasp.encoder</groupId>
            <artifactId>encoder</artifactId>
        </dependency>

        <!-- Rouge imports to avoid OSGi errors -->
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.core</artifactId>
        </dependency>

        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
        </dependency>

        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-xjc</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jboss.spec.javax.transaction</groupId>
            <artifactId>jboss-transaction-api_1.2_spec</artifactId>
            <scope>provided</scope>
        </dependency>


        <!--Miscellaneous -->
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-bpmn2-emfextmodel</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse</groupId>
            <artifactId>org.eclipse.bpmn2</artifactId>
        </dependency>

        <!-- Guvnor -->
        <dependency>
            <groupId>org.kie.workbench.widgets</groupId>
            <artifactId>kie-wb-decorated-grid-widget</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-asset-mgmt-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-asset-mgmt-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-services-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-m2repo-editor-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-m2repo-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-m2repo-editor-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-project-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-project-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-workingset-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-workingset-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-project-builder</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-message-console-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-message-console-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.guvnor</groupId>
            <artifactId>guvnor-message-console-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- Kie Workbench -->
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-project-explorer-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-project-explorer-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-project-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-project-editor-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-project-imports-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.services</groupId>
            <artifactId>kie-wb-common-datamodel-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.widgets</groupId>
            <artifactId>kie-wb-common-ui</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.services</groupId>
            <artifactId>kie-wb-common-services-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.services</groupId>
            <artifactId>kie-wb-common-services-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.widgets</groupId>
            <artifactId>kie-wb-metadata-widget</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.widgets</groupId>
            <artifactId>kie-wb-config-resource-widget</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-search-screen-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-search-screen-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-search-screen-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-workbench-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-workbench-backend</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-library-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-library-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-library-backend</artifactId>
        </dependency>

        <!-- Needed for the Deployment Descriptor Editor -->
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-wb-drl-text-editor-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-wb-drl-text-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-wb-drl-text-editor-backend</artifactId>
        </dependency>

        <!-- Dashboard -->

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-dashboard-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-dashboard-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-console-ng-dashboard-api</artifactId>
        </dependency>

        <!-- formModeler dependencies -->
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-common</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-request-dispatcher</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-service-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-ui</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-form-editor</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-static-resources</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-renderer-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-renderer-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-renderer-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-editor-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-editor-backend</artifactId>
        </dependency>

        <!--Dashbuilder -->

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-server-all</artifactId>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-client-all</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-dataset-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-dataset-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-displayer-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-displayer-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-displayer-screen</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-dataset-editor</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-renderer-default</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.dashbuilder</groupId>
            <artifactId>dashbuilder-renderer-google</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- Start Forms Engine -->
        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-dynamic-forms-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-dynamic-forms-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-dynamic-forms-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-editor-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-editor-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-editor-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-layout-generator</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-serialization</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-common-rendering-shared</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-common-rendering-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-crud-component</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-processing-engine</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-data-modeller-integration-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-data-modeller-integration-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-data-modeller-integration-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-jbpm-integration-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-jbpm-integration-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.forms</groupId>
            <artifactId>kie-wb-common-forms-jbpm-integration-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- End Forms Engine -->

        <!-- Data Modeller -->
        <dependency>
            <groupId>org.kie.workbench.services</groupId>
            <artifactId>kie-wb-common-data-modeller-core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-data-modeller-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-data-modeller-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-data-modeller-client</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-form-modeler-data-modeler</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jboss.spec.javax.servlet.jstl</groupId>
            <artifactId>jboss-jstl-api_1.2_spec</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.chemistry.opencmis</groupId>
            <artifactId>chemistry-opencmis-client-impl</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.chemistry.opencmis</groupId>
                    <artifactId>chemistry-opencmis-commons-impl</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.chemistry.opencmis</groupId>
                    <artifactId>chemistry-opencmis-commons-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.chemistry.opencmis</groupId>
            <artifactId>chemistry-opencmis-commons-impl</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.chemistry.opencmis</groupId>
            <artifactId>chemistry-opencmis-commons-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.chemistry.opencmis</groupId>
            <artifactId>chemistry-opencmis-client-bindings</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.uberfire</groupId>
            <artifactId>i18n-taglib</artifactId>
        </dependency>

        <!-- hack to disable sisu annotation processing (that scans client side types) -->
        <dependency>
            <groupId>org.eclipse.sisu</groupId>
            <artifactId>org.eclipse.sisu.inject</artifactId>
            <scope>runtime</scope>
        </dependency>

        <!-- Needed by new Exec Server UI -->
        <dependency>
            <groupId>org.kie.server</groupId>
            <artifactId>kie-server-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.server</groupId>
            <artifactId>kie-server-controller-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-server-ui-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-server-ui-backend</artifactId>
        </dependency>

        <dependency>
            <groupId>org.kie.workbench.screens</groupId>
            <artifactId>kie-wb-common-server-ui-client</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- exclude cxf -->
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-workitems</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.cxf</groupId>
                    <artifactId>cxf-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.cxf</groupId>
                    <artifactId>cxf-rt-frontend-jaxws</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.cxf</groupId>
                    <artifactId>cxf-rt-databinding-jaxb</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.cxf</groupId>
                    <artifactId>cxf-rt-transports-http</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.mail</groupId>
                    <artifactId>mail</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.activation</groupId>
                    <artifactId>activation</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.neethi</groupId>
                    <artifactId>neethi</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>wsdl4j</groupId>
                    <artifactId>wsdl4j</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
        </dependency>

        <!-- Validation -->
        <dependency>
            <groupId>org.jboss.errai</groupId>
            <artifactId>errai-validation</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <classifier>sources</classifier>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <scope>provided</scope>
            <classifier>sources</classifier>
        </dependency>

        <!-- login module -->
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-security</artifactId>
        </dependency>

        <!-- Test deps -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.google.gwt.gwtmockito</groupId>
            <artifactId>gwtmockito</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.uberfire</groupId>
            <artifactId>uberfire-testing-utils</artifactId>
            <scope>test</scope>
        </dependency>

    </dependencies>

    <build>
        <finalName>${project.artifactId}</finalName>
        <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>

        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <configuration>
                    <deploy>${project.build.directory}/gwt-symbols-deploy</deploy>
                    <extraJvmArgs>-Xms1g -Xmx3g -Xss1M -XX:CompileThreshold=7000 -Derrai.jboss.home=${errai.jboss.home} -Derrai.dynamic_validation.enabled=true -Dorg.kie.demo=true -Dorg.kie.clean.onstartup=true -Dorg.kie.git.deployments=true -Dorg.uberfire.async.executor.safemode=true</extraJvmArgs>
                    <module>org.jbpm.console.ng.jBPMShowcase</module>
                    <logLevel>INFO</logLevel>
                    <noServer>false</noServer>
                    <draftCompile>true</draftCompile>
                    <server>org.jboss.errai.cdi.server.gwt.EmbeddedWildFlyLauncher</server>
                    <disableCastChecking>true</disableCastChecking>
                    <runTarget>jbpm-console.html</runTarget>
                    <hostedWebapp>src/main/webapp</hostedWebapp>
                    <compileSourcesArtifacts>
                        <!-- Kie Server needed by Exec Server UI -->
                        <compileSourcesArtifact>org.kie:kie-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.server:kie-server-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.server:kie-server-controller-api</compileSourcesArtifact>
                        <!-- Guvnor -->
                        <compileSourcesArtifact>org.guvnor:guvnor-asset-mgmt-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-asset-mgmt-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-structure-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-structure-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-m2repo-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-m2repo-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-workingset-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-workingset-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-services-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-project-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-project-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-message-console-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.guvnor:guvnor-message-console-client</compileSourcesArtifact>

                        <!-- Common dependencies -->
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-project-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-project-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-project-imports-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-project-imports-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-project-explorer-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-project-explorer-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.services:kie-wb-common-data-modeller-core</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-data-modeller-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-data-modeller-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.widgets:kie-wb-common-ui</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.widgets:kie-wb-metadata-widget</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.widgets:kie-wb-config-resource-widget</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.services:kie-wb-common-services-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.services:kie-wb-common-datamodel-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.services:kie-wb-common-refactoring-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-java-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-java-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-default-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-default-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.widgets:kie-wb-decorated-grid-widget</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-search-screen-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-search-screen-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-server-ui-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-server-ui-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-workbench-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-library-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.screens:kie-wb-common-library-api</compileSourcesArtifact>

                        <compileSourcesArtifact>org.drools:drools-wb-workitems-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.drools:drools-wb-workitems-editor-client</compileSourcesArtifact>

                        <!-- needed for the Deployment Descriptor Editor -->
                        <compileSourcesArtifact>org.drools:drools-wb-drl-text-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.drools:drools-wb-drl-text-editor-client</compileSourcesArtifact>


                        <!-- KIE UberFire extensions -->
                        <compileSourcesArtifact>org.kie.uberfire:kie-uberfire-social-activities-api</compileSourcesArtifact>

                        <!-- UberFire Extensions -->
                        <compileSourcesArtifact>org.uberfire:uberfire-commons-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-commons-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-preferences-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-preferences-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-runtime-plugins-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-runtime-plugins-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-apps-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-apps-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-widgets-commons</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-widgets-table</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-widgets-service-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-widgets-core-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-widgets-properties-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-widgets-properties-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-simple-docks-client</compileSourcesArtifact>

                        <!-- UberFire -->
                        <compileSourcesArtifact>org.uberfire:uberfire-commons</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-nio2-model</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-js</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-security-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-security-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-security-management-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-security-management-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-client-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-workbench-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-workbench-client-backend</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-backend-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.uberfire:uberfire-workbench-client-views-patternfly</compileSourcesArtifact>

                        <!-- jBPM Console -->
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-human-tasks-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-human-tasks-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-human-tasks-forms-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-human-tasks-forms-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-human-tasks-forms-modeler-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-process-runtime-forms-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-human-tasks-forms-modeler-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-process-runtime-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-process-runtime-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-kie-server-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-data-filters-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-generic-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-generic-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-generic-forms-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-generic-forms-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-workbench-forms-integration-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-workbench-forms-integration-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-workbench-integration-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-workbench-integration-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-executor-service-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-executor-service-api</compileSourcesArtifact>

                        <!-- Forms Engine -->
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-processing-engine</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-common-rendering-shared</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-common-rendering-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-crud-component</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-dynamic-forms-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-dynamic-forms-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-data-modeller-integration-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-data-modeller-integration-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-jbpm-integration-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.kie.workbench.forms:kie-wb-common-forms-jbpm-integration-client</compileSourcesArtifact>

                        <!-- Dashbuilder -->
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-json</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-widgets</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-validations</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-common-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-services-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-dataset-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-dataset-shared</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-dataset-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-dataset-editor</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-displayer-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-displayer-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-displayer-screen</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-renderer-google</compileSourcesArtifact>
                        <compileSourcesArtifact>org.dashbuilder:dashbuilder-renderer-default</compileSourcesArtifact>

                        <!-- jBPM Designer -->
                        <compileSourcesArtifact>org.jbpm:jbpm-designer-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-designer-client</compileSourcesArtifact>

                        <!-- jBPM Dashboard integration-->
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-dashboard-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-console-ng-dashboard-client</compileSourcesArtifact>

                        <!-- Form Modeler -->
                        <compileSourcesArtifact>org.jbpm:jbpm-form-modeler-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-form-modeler-editor-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-form-modeler-editor-client</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-form-modeler-renderer-api</compileSourcesArtifact>
                        <compileSourcesArtifact>org.jbpm:jbpm-form-modeler-renderer-client</compileSourcesArtifact>

                    </compileSourcesArtifacts>
                </configuration>
                <executions>
                    <execution>
                        <id>gwt-clean</id>
                        <phase>clean</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>gwt-compile</id>
                        <goals>
                            <goal>resources</goal>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <packagingExcludes>**/*.symbolMap</packagingExcludes>
                    <archive>
                        <addMavenDescriptor>false</addMavenDescriptor>
                    </archive>
                </configuration>
            </plugin>

            <!-- Tests are skipped by default because they require additional GWT
                 dependencies. Run mvn with -Pintegration-test to enable testing. -->
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <configuration>
                    <filesets>
                        <fileset>
                            <directory>${basedir}</directory>
                            <includes>
                                <include>src/main/webapp/org.jbpm.console.ng.jBPMShowcase/</include>
                                <include>src/main/webapp/formModeler/</include>
                                <include>src/main/webapp/WEB-INF/deploy/</include>
                                <include>src/main/webapp/WEB-INF/classes/</include>
                                <include>src/main/webapp/WEB-INF/lib/</include>
                                <include>src/main/webapp/WEB-INF/tlds/</include>
                                <include>.errai/</include>
                                <include>.niogit/**</include>
                                <include>.index/**</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.wildfly</groupId>
                                    <artifactId>wildfly-dist</artifactId>
                                    <version>${version.org.wildfly.gwt.sdm}</version>
                                    <type>zip</type>
                                    <overWrite>false</overWrite>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                    <execution>
                        <id>copy-files-to-webapp-directory</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.jbpm</groupId>
                                    <artifactId>jbpm-form-modeler-request-dispatcher</artifactId>
                                    <type>jar</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>src/main/webapp</outputDirectory>
                                    <includes>**/*.tld, **/*.gif, **/*.jpg, **/*.js, **/*.jsp, **/*.css, **/*.png</includes>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.jbpm</groupId>
                                    <artifactId>jbpm-form-modeler-form-editor</artifactId>
                                    <type>jar</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>src/main/webapp</outputDirectory>
                                    <includes>**/*.tld, **/*.gif, **/*.jpg, **/*.js, **/*.jsp, **/*.css, **/*.png</includes>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.jbpm</groupId>
                                    <artifactId>jbpm-form-modeler-static-resources</artifactId>
                                    <type>jar</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>src/main/webapp</outputDirectory>
                                    <includes>**/*.tld, **/*.gif, **/*.jpg, **/*.js, **/*.jsp, **/*.css, **/*.png</includes>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.jbpm</groupId>
                                    <artifactId>jbpm-form-modeler-ui</artifactId>
                                    <type>jar</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>src/main/webapp</outputDirectory>
                                    <includes>**/*.tld, **/*.gif, **/*.jpg, **/*.js, **/*.jsp, **/*.css, **/*.png</includes>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.7</version>
                <executions>
                    <execution>
                        <id>copy-resources</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${errai.jboss.home}/standalone/configuration</outputDirectory>
                            <overwrite>true</overwrite>
                            <resources>
                                <resource>
                                    <directory>src/main/config</directory>
                                    <filtering>false</filtering>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
