diff options
author | twogee <g.grigelionis@gmail.com> | 2021-03-04 14:50:08 +0100 |
---|---|---|
committer | twogee <g.grigelionis@gmail.com> | 2021-10-14 06:33:37 +0200 |
commit | cd1bb841b12184ea08da2c56b855ecc583aeafb3 (patch) | |
tree | 132f66006dd4c29de75acc04b6c04af255f258ea /src/etc | |
parent | a392d5a74dbdd1831a981d41d29ab1a6b4945e62 (diff) | |
download | ant-cd1bb841b12184ea08da2c56b855ecc583aeafb3.tar.gz |
Use Jakarta EE
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/poms/ant-jakartamail/pom.xml | 98 | ||||
-rw-r--r-- | src/etc/poms/ant-javamail/pom.xml | 4 | ||||
-rw-r--r-- | src/etc/poms/ant/pom.xml | 2 | ||||
-rw-r--r-- | src/etc/poms/pom.xml | 1 |
4 files changed, 102 insertions, 3 deletions
diff --git a/src/etc/poms/ant-jakartamail/pom.xml b/src/etc/poms/ant-jakartamail/pom.xml new file mode 100644 index 000000000..4d17f87ac --- /dev/null +++ b/src/etc/poms/ant-jakartamail/pom.xml @@ -0,0 +1,98 @@ +<?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 + + https://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. +--> +<!-- + This POM has been created manually by the Ant Development Team. + Please contact us if you are not satisfied with the data contained in this POM. + URL : https://ant.apache.org +--> +<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/maven-v4_0_0.xsd"> + <parent> + <groupId>org.apache.ant</groupId> + <artifactId>ant-parent</artifactId> + <relativePath>../pom.xml</relativePath> + <version>1.10.12-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <url>https://ant.apache.org/</url> + <groupId>org.apache.ant</groupId> + <artifactId>ant-jakartamail</artifactId> + <version>1.10.12-SNAPSHOT</version> + <name>Apache Ant + JakartaMail</name> + <description>implementation of the mail task based on Jakarta EE mail. + Required to send emails to SMTP servers using user/password combinations + or to send mail over SSL</description> + <dependencies> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + <version>1.10.12-SNAPSHOT</version> + <scope>compile</scope> + </dependency> + <dependency> + <!-- This brings in the necessary dependencies. + See https://eclipse-ee4j.github.io/mail/ --> + <groupId>com.sun.mail</groupId> + <artifactId>jakarta.mail</artifactId> + <version>2.0.1</version> + <scope>compile</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <includes> + <include>org/apache/tools/ant/taskdefs/email/JakartaMimeMailer*</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <index>true</index> + <manifest> + <addExtensions>true</addExtensions> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> + <resources> + <resource> + <directory>../../../..</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </resource> + </resources> + <sourceDirectory>../../../../src/main</sourceDirectory> + <testSourceDirectory>../../../../src/testcases</testSourceDirectory> + <outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory> + <testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory> + <directory>../../../../target/${project.artifactId}</directory> + </build> +</project> diff --git a/src/etc/poms/ant-javamail/pom.xml b/src/etc/poms/ant-javamail/pom.xml index edf720a3c..d63d78712 100644 --- a/src/etc/poms/ant-javamail/pom.xml +++ b/src/etc/poms/ant-javamail/pom.xml @@ -48,8 +48,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m <!-- This brings in the necessary dependencies. See https://eclipse-ee4j.github.io/mail/ --> <groupId>com.sun.mail</groupId> - <artifactId>jakarta.mail</artifactId> - <version>1.6.4</version> + <artifactId>javax.mail</artifactId> + <version>1.6.2</version> <scope>compile</scope> </dependency> </dependencies> diff --git a/src/etc/poms/ant/pom.xml b/src/etc/poms/ant/pom.xml index 371c5db2d..409a2e7d0 100644 --- a/src/etc/poms/ant/pom.xml +++ b/src/etc/poms/ant/pom.xml @@ -160,7 +160,7 @@ <exclude>org/apache/tools/ant/launch/</exclude> <exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude> <exclude>org/apache/tools/ant/listener/Log4jListener*</exclude> - <exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude> + <exclude>org/apache/tools/ant/taskdefs/email/*MimeMailer*</exclude> <exclude>${modules.exclude}</exclude> <exclude>org/apache/tools/ant/taskdefs/optional/NetRexxC*</exclude> <exclude>org/apache/tools/ant/taskdefs/optional/Xalan2TraceSupport*</exclude> diff --git a/src/etc/poms/pom.xml b/src/etc/poms/pom.xml index 95f54c79e..b49c0b212 100644 --- a/src/etc/poms/pom.xml +++ b/src/etc/poms/pom.xml @@ -95,6 +95,7 @@ <module>ant-imageio</module> <module>ant-jai</module> <module>ant-javamail</module> + <module>ant-jakartamail</module> <module>ant-jdepend</module> <module>ant-jmf</module> <module>ant-jsch</module> |