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>
|
2021-12-14 22:50:55 -05:00
|
|
|
<version>2.21.0-SNAPSHOT</version>
|
2017-07-24 22:01:40 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>artemis-console</artifactId>
|
|
|
|
<name>ActiveMQ Artemis Console</name>
|
|
|
|
|
|
|
|
<!-- hawtio plugins are almost always war files -->
|
|
|
|
<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>
|
2021-03-09 06:51:07 -05:00
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-servlet_3.0_spec</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>
|
|
|
|
<!--
|
|
|
|
NOTE this WAR dependency type which enables this WAR to
|
|
|
|
inherit all the plugins and content from the core hawtio-base WAR
|
|
|
|
-->
|
|
|
|
<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>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
<!-- 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>
|
2021-01-11 06:41:25 -05:00
|
|
|
<excluse>WEB-INF/lib/guava*.jar</excluse>
|
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>
|
|
|
|
<version>2.5</version>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}/overlays</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|