87 lines
2.7 KiB
XML
87 lines
2.7 KiB
XML
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.inteligr8.activiti</groupId>
|
|
<artifactId>mq-activiti-ext-parent</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>MQ Activiti Extension Parent</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
|
|
<activemq.version>5.18.6</activemq.version>
|
|
<activemq.httpPort>8161</activemq.httpPort>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Using Docker to host the web application -->
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>0.45.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>start-mq</id>
|
|
<!-- We had to put this in a parent project in order for MQ to start before APS -->
|
|
<phase>pre-integration-test</phase>
|
|
<goals><goal>start</goal></goals>
|
|
<configuration>
|
|
<images>
|
|
<image>
|
|
<name>apache/activemq-classic:${activemq.version}</name>
|
|
<alias>mq</alias>
|
|
<run>
|
|
<skip>${skipTests}</skip>
|
|
<env>
|
|
<ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>false</ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS>
|
|
<ACTIVEMQ_USERNAME>alfresco</ACTIVEMQ_USERNAME>
|
|
<ACTIVEMQ_PASSWORD>alfresco</ACTIVEMQ_PASSWORD>
|
|
<ACTIVEMQ_WEBADMIN_USERNAME>admin</ACTIVEMQ_WEBADMIN_USERNAME>
|
|
<ACTIVEMQ_WEBADMIN_PASSWORD>admin</ACTIVEMQ_WEBADMIN_PASSWORD>
|
|
</env>
|
|
<ports>
|
|
<port>${activemq.httpPort}:8161</port>
|
|
</ports>
|
|
<network>
|
|
<mode>custom</mode>
|
|
<name>mq-activiti-ext</name>
|
|
</network>
|
|
</run>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>stop-mq</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals><goal>stop</goal></goals>
|
|
<configuration>
|
|
<images>
|
|
<image>
|
|
<name>apache/activemq-classic:${activemq.version}</name>
|
|
<alias>mq</alias>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>inteligr8-releases</id>
|
|
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-private/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</project>
|