| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.james</groupId> |
| <artifactId>james-server</artifactId> |
| <version>3.7.2</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>mock-smtp-server</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Apache James :: Server :: Mailet :: Mock SMTP Server</name> |
| <description>Provide a standalone mock SMTP server that could be configured over HTTP. |
| Dockerized it can be used for advanced error testing for SMTP clients.</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>james-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>james-server-testing</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>james-server-util</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${james.groupId}</groupId> |
| <artifactId>testing-base</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.datatype</groupId> |
| <artifactId>jackson-datatype-guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.datatype</groupId> |
| <artifactId>jackson-datatype-jdk8</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.github.openfeign</groupId> |
| <artifactId>feign-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.github.openfeign</groupId> |
| <artifactId>feign-jackson</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.github.openfeign</groupId> |
| <artifactId>feign-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.projectreactor.netty</groupId> |
| <artifactId>reactor-netty</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.rest-assured</groupId> |
| <artifactId>rest-assured</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.javacrumbs.json-unit</groupId> |
| <artifactId>json-unit-assertj</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.subethamail</groupId> |
| <artifactId>subethasmtp</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.google.cloud.tools</groupId> |
| <artifactId>jib-maven-plugin</artifactId> |
| <version>2.7.0</version> |
| <configuration> |
| <from> |
| <image>eclipse-temurin:11-jre-focal</image> |
| </from> |
| <to> |
| <image>linagora/mock-smtp-server</image> |
| <tags> |
| <tag>0.5</tag> |
| </tags> |
| </to> |
| <container> |
| <mainClass>org.apache.james.mock.smtp.server.MockSMTPServerMain</mainClass> |
| <ports> |
| <port>25</port> |
| <port>8000</port> |
| </ports> |
| <jvmFlags> |
| <jvmFlag>-Dlogback.configurationFile=/root/logback.xml</jvmFlag> |
| </jvmFlags> |
| </container> |
| <extraDirectories> |
| <paths> |
| <path> |
| <from>src/main/jib</from> |
| <into>/root</into> |
| </path> |
| </paths> |
| </extraDirectories> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |