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> <artifactId>json-simple</artifactId>
<version>1.1</version> <version>1.1</version>
</dependency> </dependency>
<dependency>
<groupId>io.hawt</groupId>
<artifactId>hawtio-web</artifactId>
<version>${hawtio-version}</version>
<type>war</type>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -95,6 +95,21 @@
</fileSets> </fileSets>
<dependencySets> <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 --> <!-- Copy over jar files -->
<dependencySet> <dependencySet>

View File

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

View File

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