<?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>7.8.0</version>
  </parent>
  
  <artifactId>tl-mail-smtp</artifactId>
  
  <description>The TopLogic mail sender service.</description>
	<url>https://github.com/top-logic/tl-engine/</url>

  <dependencies>
    <dependency>
      <groupId>com.top-logic</groupId>
      <artifactId>tl-core</artifactId>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    
    <dependency>
      <groupId>com.top-logic</groupId>
      <artifactId>tl-core</artifactId>
    </dependency>
    
    <dependency>
      <groupId>com.top-logic</groupId>
      <artifactId>tl-contact</artifactId>
    </dependency>
    
	<!-- API only, implementation, see below.-->
	<dependency>
	    <groupId>javax.mail</groupId>
	    <artifactId>javax.mail-api</artifactId>
	</dependency>

	<!-- The actual mail implementation, in case the container does not provide one. -->
	<dependency>
		<groupId>com.sun.mail</groupId>
		<artifactId>javax.mail</artifactId>
		<scope>runtime</scope>
	</dependency>
	
	<!-- Replacement for excluded dependency of com.sun.mail:javax.mail -->
	<!-- API only, implementation, see below.-->
	<dependency>
		<groupId>javax.activation</groupId>
		<artifactId>javax.activation-api</artifactId>
	</dependency>
	
	<!-- The actual activation implementation, in case the container does not provide one. -->
	<dependency>
	    <groupId>com.sun.activation</groupId>
	    <artifactId>javax.activation</artifactId>
		<scope>runtime</scope>
	</dependency>
    
  </dependencies>
</project>
