mirror of https://github.com/apache/activemq.git
296 lines
9.7 KiB
XML
Executable File
296 lines
9.7 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You 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.apache.activemq</groupId>
|
|
<artifactId>activemq-parent</artifactId>
|
|
<version>5.4-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>activemq-web-console</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>ActiveMQ :: Web Console</name>
|
|
<description>Web Console for ActiveMQ</description>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.1-beta-1</version>
|
|
<configuration>
|
|
<packagingExcludes>
|
|
WEB-INF/lib/activation*.jar,
|
|
WEB-INF/lib/activeio*.jar,
|
|
WEB-INF/lib/activemq-core*.jar,
|
|
WEB-INF/lib/activemq-pool*.jar
|
|
WEB-INF/lib/activemq-console*.jar
|
|
WEB-INF/lib/geronimo*.jar,
|
|
WEB-INF/lib/jetty*.jar
|
|
WEB-INF/lib/servlet*.jar
|
|
</packagingExcludes>
|
|
<archive>
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
<!-- <archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
</manifest>
|
|
</archive> -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>${jetty-version}</version>
|
|
<configuration>
|
|
<connectors>
|
|
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
|
|
<port>${jetty.port}</port>
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
</connector>
|
|
</connectors>
|
|
|
|
<webAppConfig>
|
|
<contextPath>/</contextPath>
|
|
</webAppConfig>
|
|
|
|
<systemProperties>
|
|
<!-- enable easy connection to JConsole -->
|
|
<systemProperty>
|
|
<name>com.sun.management.jmxremote</name>
|
|
<value />
|
|
</systemProperty>
|
|
|
|
<!-- Start an own broker -->
|
|
<systemProperty>
|
|
<name>webconsole.type</name>
|
|
<value>embedded</value>
|
|
</systemProperty>
|
|
|
|
<!--
|
|
Use the following configuration to connect to a remote broker using JMX
|
|
<systemProperty>
|
|
<name>webconsole.type</name>
|
|
<value>properties</value>
|
|
</systemProperty>
|
|
<systemProperty>
|
|
<name>webconsole.jms.url</name>
|
|
<value>tcp://localhost:61616</value>
|
|
</systemProperty>
|
|
<systemProperty>
|
|
<name>webconsole.jmx.url</name>
|
|
<value>service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi</value>
|
|
</systemProperty>
|
|
-->
|
|
</systemProperties>
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>bundle-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<supportedProjectTypes>
|
|
<supportedProjectType>jar</supportedProjectType>
|
|
<supportedProjectType>bundle</supportedProjectType>
|
|
<supportedProjectType>war</supportedProjectType>
|
|
</supportedProjectTypes>
|
|
<instructions>
|
|
<Webapp-Context>activemqweb</Webapp-Context>
|
|
<Web-ContextPath>activemqweb</Web-ContextPath>
|
|
<Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
|
|
<Embed-Directory>WEB-INF/lib</Embed-Directory>
|
|
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
|
|
<Embed-Transitive>true</Embed-Transitive>
|
|
<Import-Package>org.xml.sax,org.xml.sax.helpers,javax.xml.parsers,javax.xml.transform,javax.management.remote,javax.naming,org.w3c.dom,org.apache.activemq,org.apache.activemq.util,org.apache.activemq.xbean,org.apache.activemq*,org.springframework*,org.springframework.context.support,org.springframework.beans.factory.config,org.springframework.core.io,org.springframework.beans.factory,javax.servlet.jsp,javax.servlet.jsp.tagext,*</Import-Package>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-servlet_2.5_spec</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- j2ee jars -->
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jms_1.1_spec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jta_1.0.1B_spec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jacc_1.1_spec</artifactId>
|
|
</dependency>
|
|
|
|
<!-- activemq -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>activemq-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- XMPP support -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>activemq-xmpp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>activemq-console</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- TODO this should not be needed, but transitive dependencies are not working -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>activemq-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>activeio-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.activemq</groupId>
|
|
<artifactId>activemq-jaas</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.xbean</groupId>
|
|
<artifactId>xbean-spring</artifactId>
|
|
</dependency>
|
|
|
|
<!-- web container -->
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
|
<artifactId>jetty-all-server</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-2.1-glassfish</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- enable commons-logging when inside jetty6:run -->
|
|
<!--
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl104-over-slf4j</artifactId>
|
|
<version>1.5.0</version>
|
|
</dependency>
|
|
-->
|
|
<!--
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-jcl</artifactId>
|
|
</dependency>
|
|
-->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<!-- SiteMesh for layout -->
|
|
<dependency>
|
|
<groupId>opensymphony</groupId>
|
|
<artifactId>sitemesh</artifactId>
|
|
</dependency>
|
|
|
|
<!-- JSTL support -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>taglibs</groupId>
|
|
<artifactId>standard</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<!-- XStream marshalling -->
|
|
<dependency>
|
|
<groupId>xmlpull</groupId>
|
|
<artifactId>xmlpull</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
</dependency>
|
|
|
|
<!-- used for testing -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Derby SQL DB used for testing JDBC message store -->
|
|
<dependency>
|
|
<groupId>org.apache.derby</groupId>
|
|
<artifactId>derby</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<properties>
|
|
<jetty.port>8080</jetty.port>
|
|
<!-- <activemq.osgi.dynamic.import>
|
|
javax.naming,
|
|
org.xml.*,
|
|
javax.xml.*,
|
|
org.w3c.*,
|
|
</activemq.osgi.dynamic.import> -->
|
|
</properties>
|
|
</project>
|