Repackage the hawtio webconsole in the standalone distro.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1491272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2013-06-09 19:39:59 +00:00
parent 0b8b230983
commit 6e7365640d
4 changed files with 27 additions and 0 deletions

View File

@ -365,6 +365,12 @@
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>io.hawt</groupId>
<artifactId>hawtio-web</artifactId>
<version>${hawtio-version}</version>
<type>war</type>
</dependency>
</dependencies>
<build>

View File

@ -95,6 +95,21 @@
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>/webapps/hawtio</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>WEB-INF/lib/slf4j-api-1.6.1.jar</exclude>
<exclude>WEB-INF/lib/log4j-1.2.16.jar</exclude>
<exclude>WEB-INF/lib/commons-codec-1.2.jar</exclude>
</excludes>
</unpackOptions>
<scope>runtime</scope>
<includes>
<include>io.hawt:hawtio-web:war</include>
</includes>
</dependencySet>
<!-- Copy over jar files -->
<dependencySet>

View File

@ -48,6 +48,11 @@
<bean id="sec" class="org.eclipse.jetty.server.handler.HandlerCollection">
<property name="handlers">
<list>
<bean class="org.eclipse.jetty.webapp.WebAppContext">
<property name="contextPath" value="/hawtio" />
<property name="war" value="${activemq.home}/webapps/hawtio" />
<property name="logUrlOnStart" value="true" />
</bean>
<bean class="org.eclipse.jetty.webapp.WebAppContext">
<property name="contextPath" value="/admin" />
<property name="resourceBase" value="${activemq.home}/webapps/admin" />

View File

@ -60,6 +60,7 @@
<commons-primitives-version>1.0</commons-primitives-version>
<commons-net-version>3.2</commons-net-version>
<directory-version>2.0.0-M6</directory-version>
<hawtio-version>1.2-M1</hawtio-version>
<ftpserver-version>1.0.6</ftpserver-version>
<geronimo-version>1.0</geronimo-version>