2015-01-05 07:45:36 -05:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
2016-11-03 15:34:54 -04:00
|
|
|
<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">
|
2014-11-28 06:46:12 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
2015-04-27 17:32:30 -04:00
|
|
|
<artifactId>artemis-pom</artifactId>
|
2022-07-26 11:59:21 -04:00
|
|
|
<version>2.25.0-SNAPSHOT</version>
|
2014-11-28 06:46:12 -05:00
|
|
|
</parent>
|
|
|
|
|
2015-04-27 17:32:30 -04:00
|
|
|
<artifactId>artemis-website</artifactId>
|
2014-11-28 06:46:12 -05:00
|
|
|
<packaging>jar</packaging>
|
2022-06-29 12:49:30 -04:00
|
|
|
<name>ActiveMQ Artemis Website</name>
|
2014-11-28 06:46:12 -05:00
|
|
|
|
|
|
|
<properties>
|
2015-05-13 13:49:42 -04:00
|
|
|
<activemq.basedir>${project.basedir}/..</activemq.basedir>
|
|
|
|
<webapp-dir>${project.artifactId}-${project.version}</webapp-dir>
|
2022-04-26 10:50:13 -04:00
|
|
|
<src-dir-user-manual>${basedir}/../docs/user-manual/en</src-dir-user-manual>
|
|
|
|
<scratch-dir-user-manual>${basedir}/target/scratch/user-manual</scratch-dir-user-manual>
|
2015-05-13 13:49:42 -04:00
|
|
|
<webapp-outdir-user-manual>${basedir}/target/classes/user-manual</webapp-outdir-user-manual>
|
|
|
|
<webapp-outdir-hacking-guide>${basedir}/target/classes/hacking-guide</webapp-outdir-hacking-guide>
|
2017-12-14 11:30:56 -05:00
|
|
|
<webapp-outdir-migration-guide>${basedir}/target/classes/migration-guide</webapp-outdir-migration-guide>
|
2015-09-28 11:09:44 -04:00
|
|
|
|
2022-06-29 12:49:30 -04:00
|
|
|
<placeholderJavadocDir>${basedir}/src/placeholder/javadoc</placeholderJavadocDir>
|
|
|
|
<skipPlaceholderJavadocGeneration>false</skipPlaceholderJavadocGeneration>
|
|
|
|
|
2022-03-08 23:08:32 -05:00
|
|
|
<frontend-maven-plugin-version>1.12.1</frontend-maven-plugin-version>
|
|
|
|
<nodeVersion>v16.14.0</nodeVersion>
|
|
|
|
<npmVersion>8.3.1</npmVersion>
|
2018-10-10 09:57:20 -04:00
|
|
|
<skipWebsiteDocGeneration>false</skipWebsiteDocGeneration>
|
2022-06-29 12:49:30 -04:00
|
|
|
<skipWebsiteJavadocGeneration>false</skipWebsiteJavadocGeneration>
|
2014-11-28 06:46:12 -05:00
|
|
|
</properties>
|
|
|
|
|
2015-03-09 11:13:20 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-06-29 12:49:30 -04:00
|
|
|
<!-- A placeholder content for the assembly. This is disabled when using the
|
|
|
|
release profile and thus activating the real (/slow) javadoc generation -->
|
2015-03-09 11:13:20 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2022-06-29 12:49:30 -04:00
|
|
|
<id>fallback-javadoc-jar</id>
|
2015-03-09 11:13:20 -04:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-06-29 12:49:30 -04:00
|
|
|
<doctitle>ActiveMQ Artemis ${project.version} API Placeholder</doctitle>
|
2015-03-09 11:13:20 -04:00
|
|
|
<minmemory>128m</minmemory>
|
|
|
|
<maxmemory>512m</maxmemory>
|
2022-06-29 12:49:30 -04:00
|
|
|
<skip>${skipPlaceholderJavadocGeneration}</skip>
|
|
|
|
<javadocDirectory>${placeholderJavadocDir}</javadocDirectory>
|
|
|
|
<noindex>true</noindex>
|
|
|
|
<nohelp>true</nohelp>
|
|
|
|
<notimestamp>true</notimestamp>
|
|
|
|
<notree>true</notree>
|
|
|
|
<use>false</use>
|
|
|
|
<overview>${placeholderJavadocDir}/overview.html</overview>
|
2015-03-09 11:13:20 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-12-09 03:35:33 -05:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
2022-06-29 12:49:30 -04:00
|
|
|
<properties>
|
|
|
|
<skipPlaceholderJavadocGeneration>true</skipPlaceholderJavadocGeneration>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-core-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-jms-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-jms-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-journal</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-selector</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- stuff needed to resolve various classes during javadoc processing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging-processor</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2014-12-09 03:35:33 -05:00
|
|
|
<build>
|
2015-05-13 13:49:42 -04:00
|
|
|
<plugins>
|
2022-06-29 12:49:30 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>javadoc-jar</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<doctitle>ActiveMQ Artemis ${project.version} API</doctitle>
|
|
|
|
<source>8</source>
|
|
|
|
<minmemory>128m</minmemory>
|
|
|
|
<maxmemory>512m</maxmemory>
|
|
|
|
<skip>${skipWebsiteJavadocGeneration}</skip>
|
|
|
|
<!-- switch on dependency-driven aggregation -->
|
|
|
|
<includeDependencySources>true</includeDependencySources>
|
|
|
|
|
|
|
|
<dependencySourceIncludes>
|
|
|
|
<!-- include ONLY dependencies I control -->
|
|
|
|
<dependencySourceInclude>org.apache.activemq:artemis-core-client</dependencySourceInclude>
|
|
|
|
<dependencySourceInclude>org.apache.activemq:artemis-jms-client</dependencySourceInclude>
|
|
|
|
<dependencySourceInclude>org.apache.activemq:artemis-server</dependencySourceInclude>
|
|
|
|
<dependencySourceInclude>org.apache.activemq:artemis-jms-server</dependencySourceInclude>
|
|
|
|
<dependencySourceInclude>org.apache.activemq:artemis-journal</dependencySourceInclude>
|
|
|
|
<dependencySourceInclude>org.apache.activemq:artemis-selector</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<excludePackageNames>org.apache.activemq.artemis.core:org.apache.activemq.artemis.utils
|
|
|
|
</excludePackageNames>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-28 11:09:44 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<version>${frontend-maven-plugin-version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install node and npm</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-npm</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>${nodeVersion}</nodeVersion>
|
|
|
|
<npmVersion>${npmVersion}</npmVersion>
|
2018-10-10 09:57:20 -04:00
|
|
|
<skip>${skipWebsiteDocGeneration}</skip>
|
2015-09-28 11:09:44 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>npm install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>npm</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install</arguments>
|
2018-10-10 09:57:20 -04:00
|
|
|
<skip>${skipWebsiteDocGeneration}</skip>
|
2015-09-28 11:09:44 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2017-07-24 22:01:40 -04:00
|
|
|
<configuration>
|
2018-10-10 09:57:20 -04:00
|
|
|
<skip>${skipWebsiteDocGeneration}</skip>
|
2017-07-24 22:01:40 -04:00
|
|
|
</configuration>
|
2015-09-28 11:09:44 -04:00
|
|
|
</plugin>
|
2022-07-29 15:53:30 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>doc-jms-client</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>dependency-doc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<file>${scratch-dir-user-manual}/client-classpath-jms.md</file>
|
|
|
|
<groupOrder>
|
|
|
|
<arg>org.apache.activemq</arg>
|
|
|
|
<arg>jakarta.jms</arg>
|
|
|
|
<arg>org.jgroups</arg>
|
|
|
|
<arg>io.netty</arg>
|
|
|
|
</groupOrder>
|
|
|
|
<header>#Artemis JMS Client Dependencies
|
2022-08-08 10:45:19 -04:00
|
|
|
File | package | observation
|
2022-07-29 15:53:30 -04:00
|
|
|
---|---|---</header>
|
2022-08-08 10:45:19 -04:00
|
|
|
<line>X{fileMD} | X{package} | X{detail} </line>
|
2022-07-29 15:53:30 -04:00
|
|
|
<detailKey>
|
|
|
|
<arg>io.netty:netty-transport-native-epoll</arg>
|
|
|
|
<arg>io.netty:netty-transport-classes-epoll</arg>
|
|
|
|
<arg>io.netty:netty-transport-native-kqueue</arg>
|
|
|
|
<arg>io.netty:netty-transport-classes-kqueue</arg>
|
|
|
|
<arg>org.jgroups:jgroups</arg>
|
|
|
|
</detailKey>
|
|
|
|
<detailValue>
|
|
|
|
<arg>only if you want epoll on Linux</arg>
|
|
|
|
<arg>only if you want epoll on Linux</arg>
|
|
|
|
<arg>only if you want kqueue on MacOS</arg>
|
|
|
|
<arg>only if you want kqueue on MacOS</arg>
|
|
|
|
<arg>only if you want JGroups discovery from the clients</arg>
|
|
|
|
</detailValue>
|
|
|
|
<lib>org.apache.activemq:artemis-jms-client:${project.version}</lib>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>doc-jakarta-client</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>dependency-doc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<file>${scratch-dir-user-manual}/client-classpath-jakarta.md</file>
|
|
|
|
<groupOrder>
|
|
|
|
<arg>org.apache.activemq</arg>
|
|
|
|
<arg>jakarta.jms</arg>
|
|
|
|
<arg>org.jgroups</arg>
|
|
|
|
<arg>io.netty</arg>
|
|
|
|
</groupOrder>
|
|
|
|
<header>#Artemis Jakarta Client Dependencies
|
2022-08-08 10:45:19 -04:00
|
|
|
File | package | observation
|
2022-07-29 15:53:30 -04:00
|
|
|
---|---|---</header>
|
2022-08-08 10:45:19 -04:00
|
|
|
<line>X{fileMD} | X{package} | X{detail} </line>
|
2022-07-29 15:53:30 -04:00
|
|
|
<detailKey>
|
|
|
|
<arg>io.netty:netty-transport-native-epoll</arg>
|
|
|
|
<arg>io.netty:netty-transport-classes-epoll</arg>
|
|
|
|
<arg>io.netty:netty-transport-native-kqueue</arg>
|
|
|
|
<arg>io.netty:netty-transport-classes-kqueue</arg>
|
|
|
|
<arg>org.jgroups:jgroups</arg>
|
|
|
|
</detailKey>
|
|
|
|
<detailValue>
|
|
|
|
<arg>only if you want epoll on Linux</arg>
|
|
|
|
<arg>only if you want epoll on Linux</arg>
|
|
|
|
<arg>only if you want kqueue on MacOS</arg>
|
|
|
|
<arg>only if you want kqueue on MacOS</arg>
|
|
|
|
<arg>only if you want JGroups discovery from the clients</arg>
|
|
|
|
</detailValue>
|
|
|
|
<lib>org.apache.activemq:artemis-jakarta-client:${project.version}</lib>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2015-05-13 13:49:42 -04:00
|
|
|
<plugin>
|
2014-12-09 03:35:33 -05:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
2015-05-13 13:49:42 -04:00
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
2018-10-10 09:57:20 -04:00
|
|
|
<skip>${skipWebsiteDocGeneration}</skip>
|
2015-05-13 13:49:42 -04:00
|
|
|
<target>
|
2022-04-26 10:50:13 -04:00
|
|
|
<!-- Make scratch copy of user manual, filter the version config -->
|
|
|
|
<copy todir="${scratch-dir-user-manual}">
|
2022-04-27 17:26:45 -04:00
|
|
|
<fileset dir="${src-dir-user-manual}" />
|
2022-04-26 10:50:13 -04:00
|
|
|
</copy>
|
|
|
|
<copy todir="${scratch-dir-user-manual}" overwrite="true">
|
2022-04-27 17:26:45 -04:00
|
|
|
<fileset file="${src-dir-user-manual}/book.json" />
|
2022-08-08 10:45:19 -04:00
|
|
|
<fileset file="${src-dir-user-manual}/client-classpath.md" />
|
2022-04-26 10:50:13 -04:00
|
|
|
<filterset>
|
2022-04-27 17:26:45 -04:00
|
|
|
<filter token="PROJECT_VERSION_FILTER_TOKEN" value="${project.version}" />
|
2022-04-26 10:50:13 -04:00
|
|
|
</filterset>
|
|
|
|
</copy>
|
|
|
|
|
2022-03-08 23:08:32 -05:00
|
|
|
<condition property="honkit.cmd" value="${basedir}/node_modules/.bin/honkit.cmd" else="${basedir}/node_modules/.bin/honkit">
|
2016-11-03 15:34:54 -04:00
|
|
|
<os family="windows" />
|
2015-05-13 13:49:42 -04:00
|
|
|
</condition>
|
2022-03-08 23:08:32 -05:00
|
|
|
<!-- lets generate the honkit -->
|
2016-11-03 15:34:54 -04:00
|
|
|
<mkdir dir="${webapp-outdir-user-manual}" />
|
2022-03-08 23:08:32 -05:00
|
|
|
<echo>executing ${honkit.cmd}</echo>
|
|
|
|
<exec executable="${honkit.cmd}" failonerror="true">
|
2016-11-03 15:34:54 -04:00
|
|
|
<env key="PATH" path="${basedir}/node" />
|
|
|
|
<arg value="build" />
|
2022-04-26 10:50:13 -04:00
|
|
|
<arg value="${scratch-dir-user-manual}" />
|
2016-11-03 15:34:54 -04:00
|
|
|
<arg value="${webapp-outdir-user-manual}" />
|
2015-05-13 13:49:42 -04:00
|
|
|
</exec>
|
2016-11-03 15:34:54 -04:00
|
|
|
<mkdir dir="${webapp-outdir-hacking-guide}" />
|
2022-03-08 23:08:32 -05:00
|
|
|
<echo>executing ${honkit.cmd}</echo>
|
|
|
|
<exec executable="${honkit.cmd}" failonerror="true">
|
2016-11-03 15:34:54 -04:00
|
|
|
<env key="PATH" path="${basedir}/node" />
|
|
|
|
<arg value="build" />
|
|
|
|
<arg value="${basedir}/../docs/hacking-guide/en" />
|
|
|
|
<arg value="${webapp-outdir-hacking-guide}" />
|
2015-05-13 13:49:42 -04:00
|
|
|
</exec>
|
2017-12-14 11:30:56 -05:00
|
|
|
<mkdir dir="${webapp-outdir-migration-guide}" />
|
2022-03-08 23:08:32 -05:00
|
|
|
<echo>executing ${honkit.cmd}</echo>
|
|
|
|
<exec executable="${honkit.cmd}" failonerror="true">
|
2017-12-14 11:30:56 -05:00
|
|
|
<env key="PATH" path="${basedir}/node" />
|
|
|
|
<arg value="build" />
|
|
|
|
<arg value="${basedir}/../docs/migration-guide/en" />
|
|
|
|
<arg value="${webapp-outdir-migration-guide}" />
|
|
|
|
</exec>
|
2015-05-13 13:49:42 -04:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2014-12-09 03:35:33 -05:00
|
|
|
</executions>
|
2015-05-13 13:49:42 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2014-12-09 03:35:33 -05:00
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2014-11-28 06:46:12 -05:00
|
|
|
</project>
|