2022-06-30 11:09:00 -04: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.
|
|
|
|
-->
|
|
|
|
|
2023-06-14 18:20:45 -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">
|
2022-06-30 11:09:00 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-pom</artifactId>
|
2024-07-25 13:47:09 -04:00
|
|
|
<version>2.36.0</version>
|
2024-01-31 08:34:08 -05:00
|
|
|
<relativePath>../../artemis-pom/pom.xml</relativePath>
|
2022-06-30 11:09:00 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>artemis-image-examples</artifactId>
|
|
|
|
<name>Apache ActiveMQ Artemis Image Examples</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- for checkstyle plugin -->
|
|
|
|
<activemq.basedir>${project.basedir}/../..</activemq.basedir>
|
|
|
|
|
|
|
|
<!-- for the locked down example user A is referenced in the amqp_sasl_scram_test__etc/role file,
|
|
|
|
so don't just change it here! -->
|
|
|
|
<example.user>A</example.user>
|
|
|
|
<!-- a password must be provided to generate the user credential data.
|
|
|
|
use: mvn exec:exec -Dexample.pwd=xyz on the command line to register your value in the example.user.file -->
|
2023-06-14 18:20:45 -04:00
|
|
|
<example.pwd />
|
2022-06-30 11:09:00 -04:00
|
|
|
<example.user.file>amqp_sasl_scram_test__etc/user</example.user.file>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-server</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- to easily create a single salted credential for our ${example.user.file}-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-classpath</argument>
|
2023-06-14 18:20:45 -04:00
|
|
|
<classpath />
|
2022-06-30 11:09:00 -04:00
|
|
|
<argument>org.apache.activemq.artemis.spi.core.security.jaas.SCRAMPropertiesLoginModule</argument>
|
|
|
|
<argument>${example.user}</argument>
|
|
|
|
<argument>${example.pwd}</argument>
|
|
|
|
</arguments>
|
|
|
|
<outputFile>${example.user.file}</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|