How to deploy the teiid console
-------------------------------

1.) Build the teiid console (takes some time)


    mvn clean install

After that the deployable file resides under

    target/teiid-console-resources.jar

2.) Create a new module slot for the teiid console (retain the orig one)

    mkdir modules/org/jboss/as/console/teiid

create modules/org/jboss/as/console/teiid/module.xml

 <module xmlns="urn:jboss:module:1.1" name="org.jboss.as.console" slot="teiid">
     <properties>
         <property name="jboss.api" value="private"/>
     </properties>

     <resources>
         <resource-root path="teiid-console-resources.jar"/>
         <!-- Insert resources here -->
     </resources>

     <dependencies>
         <!-- Do not add dependencies to the console as resources in any
              dependencies could be served up through the HTTP interface. -->
     </dependencies>
 </module>


3.) Update the domain http interface module to reflect the new dependency


edit modules/org/jboss/as/domain-http-interface/main/module.xml

    <module xmlns="urn:jboss:module:1.1" name="org.jboss.as.domain-http-interface">

    [...]
        <dependencies>
        [...]
            <module name="org.jboss.as.console" slot="teiid"/>
        </dependencies>
    </module>


After restarting thre server you should see the teiid console.


