<?xml version="1.0"?>
<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>

	<parent>
		<relativePath>../tl-parent-core/internal</relativePath>
		<groupId>com.top-logic</groupId>
		<artifactId>tl-parent-core-internal</artifactId>
		<version>0.0.16-AEMA</version>	
	</parent>
	
	<artifactId>tl-service-jms-activemq</artifactId>
	<name>${project.artifactId}</name>
	<url>https://github.com/top-logic/tl-engine/</url>
	<properties>
	  <netty.version>4.2.12.Final</netty.version>
	</properties>
	<dependencies>
		<!-- TopLogic JMS Service -->
		<dependency>
			<groupId>com.top-logic</groupId>
			<artifactId>tl-service-jms</artifactId>
		</dependency>
		
		<!-- ActiveMQ -->
		<!-- https://mvnrepository.com/artifact/org.apache.activemq/apache-artemis -->
		<dependency>
			<groupId>org.apache.artemis</groupId>
			<artifactId>artemis-jakarta-client</artifactId>
			<version>2.53.0</version>
			<exclusions>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
			      <groupId>commons-beanutils</groupId>
			      <artifactId>commons-beanutils</artifactId>
			    </exclusion>
			</exclusions>
		</dependency>
		<!-- commons-beanutils 1.10.0 is still pulled transitively; we override that with a secure version -->
		<dependency>
		  <groupId>commons-beanutils</groupId>
		  <artifactId>commons-beanutils</artifactId>
		  <version>1.11.0</version>
		  <exclusions>
		    <exclusion>
		      <groupId>commons-logging</groupId>
		      <artifactId>commons-logging</artifactId>
		    </exclusion>
		  </exclusions>
		</dependency>
		<!-- Because of the slow update cycle we override netty packages from artemis-jakarta-client due to faster security updates -->
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-transport-native-epoll</artifactId>
			<classifier>linux-x86_64</classifier>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-transport-classes-epoll</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-transport-native-kqueue</artifactId>
			<classifier>osx-x86_64</classifier>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-transport-classes-kqueue</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-codec-http</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-buffer</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-transport</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-handler</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-handler-proxy</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-codec</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-codec-socks</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-common</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		<dependency>
			<groupId>io.netty</groupId>
			<artifactId>netty-resolver</artifactId>
    		<version>${netty.version}</version>
		</dependency>
		
		<!-- Tests -->
		<dependency>
			<groupId>com.top-logic</groupId>
			<artifactId>tl-basic</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.top-logic</groupId>
			<artifactId>tl-core</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
	</dependencies>
</project>
