2017-07-24 22:01:40 -04:00
|
|
|
<?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>artemis-hawtio-pom</artifactId>
|
2022-07-21 17:44:33 -04:00
|
|
|
<version>2.24.0</version>
|
2017-07-24 22:01:40 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>artemis-console</artifactId>
|
|
|
|
<name>ActiveMQ Artemis Console</name>
|
|
|
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<activemq.basedir>${project.basedir}/../..</activemq.basedir>
|
|
|
|
</properties>
|
2021-12-16 12:50:14 -05:00
|
|
|
|
2017-07-24 22:01:40 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2022-03-03 08:27:04 -05:00
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>tomcat-servlet-api</artifactId>
|
2017-07-24 22:01:40 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.hawt</groupId>
|
2020-02-17 05:20:19 -05:00
|
|
|
<artifactId>hawtio-war</artifactId>
|
2017-07-24 22:01:40 -04:00
|
|
|
<version>${hawtio.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- lets mark dependencies from the WAR as provided to avoid jetty:run adding duplicates -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.hawt</groupId>
|
|
|
|
<artifactId>hawtio-core</artifactId>
|
|
|
|
<version>${hawtio.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-05-30 03:41:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<!-- License: Apache 2.0 -->
|
2019-09-02 09:32:26 -04:00
|
|
|
<!-- see https://github.com/google/guava/issues/3006: checker-compat-qual could be excluded -->
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.checkerframework</groupId>
|
|
|
|
<artifactId>checker-compat-qual</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-05-30 03:41:29 -04:00
|
|
|
</dependency>
|
2017-07-24 22:01:40 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useCache>true</useCache>
|
2021-12-16 12:50:14 -05:00
|
|
|
<packagingExcludes>
|
|
|
|
**/lib/slf4j*.jar,
|
|
|
|
**/lib/log4j*.jar
|
|
|
|
</packagingExcludes>
|
2017-07-24 22:01:40 -04:00
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/main/webapp</directory>
|
|
|
|
<includes>
|
2020-02-17 05:20:19 -05:00
|
|
|
<include>**/*.svg</include>
|
2017-07-24 22:01:40 -04:00
|
|
|
<!-- include any other file types you want to filter -->
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
<overlays>
|
|
|
|
<overlay>
|
|
|
|
<groupId>io.hawt</groupId>
|
2020-02-17 05:20:19 -05:00
|
|
|
<artifactId>hawtio-war</artifactId>
|
2017-07-24 22:01:40 -04:00
|
|
|
<excludes>
|
2020-02-17 05:20:19 -05:00
|
|
|
<exclude>hawtconfig.json</exclude>
|
|
|
|
<exclude>img/icons/**/*</exclude>
|
|
|
|
<exclude>img/**/*</exclude>
|
|
|
|
<exclude>fonts/glyphicons**</exclude>
|
2022-02-17 12:17:48 -05:00
|
|
|
<exclude>WEB-INF/lib/guava*.jar</exclude>
|
2017-07-24 22:01:40 -04:00
|
|
|
</excludes>
|
|
|
|
</overlay>
|
|
|
|
</overlays>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-war</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exploded</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
|
<artifactId>replacer</artifactId>
|
|
|
|
<version>1.5.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<file>${project.build.directory}/${project.build.finalName}/index.html</file>
|
|
|
|
<replacements>
|
|
|
|
<replacement>
|
|
|
|
<token><title>.*</title></token>
|
|
|
|
<value><title>${project.name}</title></value>
|
|
|
|
</replacement>
|
|
|
|
</replacements>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}/overlays</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|