| <?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"> |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-parent</artifactId> |
| <version>71</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>commons-email2-parent</artifactId> |
| <packaging>pom</packaging> |
| <version>2.0.0-M2-SNAPSHOT</version> |
| <name>Apache Commons Email Parent POM</name> |
| |
| <inceptionYear>2001</inceptionYear> |
| <description>Apache Commons Email provides an API for sending email, simplifying the JavaMail API.</description> |
| |
| <url>https://commons.apache.org/proper/commons-email/</url> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/EMAIL</url> |
| </issueManagement> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/commons-email</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-email</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf/commons-email</url> |
| </scm> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>2.0.13</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.16.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito-core.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <properties> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp> |
| <commons.parent.dir>${basedir}</commons.parent.dir> |
| <commons.componentid>email</commons.componentid> |
| <commons.module.name>org.apache.commons.mail2</commons.module.name> |
| <commons.jira.id>EMAIL</commons.jira.id> |
| <commons.jira.pid>12310474</commons.jira.pid> |
| <commons.release.version>2.0.0-M1</commons.release.version> |
| <commons.release.next>2.0.0-M2</commons.release.next> |
| <commons.release.desc>(Java 8 or above)</commons.release.desc> |
| <commons.rc.version>RC1</commons.rc.version> |
| <commons.bc.version>1.6.0</commons.bc.version> |
| <commons.releaseNotesLocation>${commons.parent.dir}/RELEASE-NOTES.txt</commons.releaseNotesLocation> |
| <!-- override the default commons encoding property --> |
| <commons.encoding>UTF-8</commons.encoding> |
| <mockito-core.version>5.12.0</mockito-core.version> |
| <!--Skip JApiCmp for 1.x to 2.0. --> |
| <japicmp.skip>true</japicmp.skip> |
| <project.build.outputTimestamp>2024-06-27T19:30:55Z</project.build.outputTimestamp> |
| <surefire.argline></surefire.argline> |
| <!-- JaCoCo: Don't make code coverage worse than: --> |
| <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure> |
| <commons.jacoco.classRatio>1.00</commons.jacoco.classRatio> |
| <commons.jacoco.instructionRatio>1.00</commons.jacoco.instructionRatio> |
| <commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio> |
| <commons.jacoco.branchRatio>1.00</commons.jacoco.branchRatio> |
| <commons.jacoco.lineRatio>1.00</commons.jacoco.lineRatio> |
| <commons.jacoco.complexityRatio>1.00</commons.jacoco.complexityRatio> |
| </properties> |
| |
| <build> |
| <defaultGoal>clean verify apache-rat:check checkstyle:check pmd:check pmd:cpd-check spotbugs:check javadoc:javadoc</defaultGoal> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/test/resources/eml/**</exclude> |
| <exclude>src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <configLocation>${commons.parent.dir}/src/conf/checkstyle.xml</configLocation> |
| <enableRulesSummary>false</enableRulesSummary> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <configuration> |
| <excludeFilterFile>src/conf/spotbugs-exclude-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>${argLine} ${surefire.argline}</argLine> |
| <!-- exclude test case support classes --> |
| <excludes> |
| <exclude>org/apache/commons/mail/mocks/*</exclude> |
| <exclude>org/apache/commons/mail/settings/*</exclude> |
| <exclude>**/Abstract*Test.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <configuration> |
| <ignorePathsToDelete> |
| <ignorePathToDelete>javadocs</ignorePathToDelete> |
| </ignorePathsToDelete> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <!-- Don't build the archives here. They are constructed in the distribution project --> |
| <execution> |
| <configuration> |
| <skipAssembly>true</skipAssembly> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <name>Apache Commons Site</name> |
| <url>scm:svn:${commons.scmPubUrl}</url> |
| </site> |
| </distributionManagement> |
| <reporting> |
| <plugins> |
| <!-- generate the changes report from changes.xml --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <configuration> |
| <targetJdk>${maven.compiler.target}</targetJdk> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <modules> |
| <module>commons-email2-core</module> |
| <module>commons-email2-jakarta</module> |
| <module>commons-email2-javax</module> |
| <module>commons-email2-bom</module> |
| <module>commons-email2-distribution</module> |
| </modules> |
| |
| <profiles> |
| <profile> |
| <id>java17</id> |
| <!-- For testing with Powermock. --> |
| <activation> |
| <jdk>[17,)</jdk> |
| </activation> |
| <properties> |
| <surefire.argline> |
| --illegal-access=permit |
| --add-opens java.base/java.lang=ALL-UNNAMED |
| --add-opens java.base/java.net=ALL-UNNAMED |
| --add-opens java.base/java.io=ALL-UNNAMED |
| --add-opens java.base/java.util=ALL-UNNAMED |
| --add-opens |
| java.base/java.util.regex=ALL-UNNAMED |
| --add-opens |
| java.base/java.nio.charset=ALL-UNNAMED |
| --add-opens |
| java.base/sun.nio.cs=ALL-UNNAMED |
| --add-opens |
| java.logging/java.util.logging=ALL-UNNAMED |
| </surefire.argline> |
| </properties> |
| </profile> |
| <profile> |
| <id>java8</id> |
| <activation> |
| <jdk>[1.8,11)</jdk> |
| </activation> |
| <properties> |
| <mockito-core.version>4.11.0</mockito-core.version> |
| </properties> |
| </profile> |
| <profile> |
| <id>benchmark</id> |
| <properties> |
| <skipTests>true</skipTests> |
| <benchmark>org.apache</benchmark> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>benchmark</id> |
| <phase>test</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <classpathScope>test</classpathScope> |
| <executable>java</executable> |
| <arguments> |
| <argument>-classpath</argument> |
| <classpath/> |
| <argument>org.openjdk.jmh.Main</argument> |
| <argument>-rf</argument> |
| <argument>json</argument> |
| <argument>-rff</argument> |
| <argument>target/jmh-result.${benchmark}.json</argument> |
| <argument>${benchmark}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <developers> |
| <developer> |
| <name>dIon Gillard</name> |
| <id>dion</id> |
| <email>dion@apache.org</email> |
| <organization>The Apache Software Foundation</organization> |
| <roles> |
| <role>Java Developer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>John McNally</name> |
| <id>jmcnally</id> |
| <email>jmcnally@collab.net</email> |
| <organization>CollabNet, Inc.</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Quinton McCombs</name> |
| <id>quintonm</id> |
| <email>quintonm@bellsouth.net</email> |
| <organization>NequalsOne, LLC.</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Eric Pugh</name> |
| <id>epugh</id> |
| <email>epugh@opensourceconnections.com</email> |
| <organization>OpenSource Connections</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Daniel Rall</name> |
| <id>dlr</id> |
| <email>dlr@finemaltcoding.com</email> |
| <organization>CollabNet, Inc.</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Jon Scott Stevens</name> |
| <id>jon</id> |
| <email>jon@latchkey.com</email> |
| <organization>CollabNet, Inc.</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Jason van Zyl</name> |
| <id>jvanzyl</id> |
| <email>jason@zenplex.com</email> |
| <organization>Zenplex</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Joe Germuska</name> |
| <id>germuska</id> |
| <email>Joe@Germuska.com</email> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Robert Burrell Donkin</name> |
| <id>rdonkin</id> |
| <email>rdonkin@apache.org</email> |
| <roles /> |
| </developer> |
| <developer> |
| <name>Henning P. Schmiedehausen</name> |
| <id>henning</id> |
| <email>hps@intermeta.de</email> |
| <organization>INTERMETA - Gesellschaft fuer Mehrwertdienste mbH</organization> |
| <roles> |
| <role>Java Developer</role> |
| </roles> |
| <timezone>2</timezone> |
| </developer> |
| <developer> |
| <name>Stephen Colebourne</name> |
| <id>scolebourne</id> |
| <roles /> |
| <timezone>0</timezone> |
| </developer> |
| <developer> |
| <name>Ben Speakmon</name> |
| <id>bspeakmon</id> |
| <email>bspeakmon@apache.org</email> |
| <organization>The Apache Software Foundation</organization> |
| <roles> |
| <role>Java Developer</role> |
| </roles> |
| <timezone>-8</timezone> |
| </developer> |
| <developer> |
| <name>Siegfried Goeschl</name> |
| <id>sgoeschl</id> |
| <email>sgoeschl@apache.org</email> |
| <roles> |
| <role>Java Developer</role> |
| </roles> |
| <timezone>2</timezone> |
| </developer> |
| <developer> |
| <name>Thomas Neidhart</name> |
| <id>tn</id> |
| <email>tn@apache.org</email> |
| <organization>The Apache Software Foundation</organization> |
| <roles /> |
| </developer> |
| <developer> |
| <id>ggregory</id> |
| <name>Gary Gregory</name> |
| <email>ggregory at apache.org</email> |
| <url>https://www.garygregory.com</url> |
| <organization>The Apache Software Foundation</organization> |
| <organizationUrl>https://www.apache.org/</organizationUrl> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/New_York</timezone> |
| <properties> |
| <picUrl>https://people.apache.org/~ggregory/img/garydgregory80.png</picUrl> |
| </properties> |
| </developer> |
| </developers> |
| <contributors> |
| <contributor> |
| <name>Bindul Bhowmik</name> |
| </contributor> |
| <contributor> |
| <name>Colin Chalmers</name> |
| <email>colin.chalmers@maxware.nl</email> |
| </contributor> |
| <contributor> |
| <name>Frank Y. Kim</name> |
| <email>frank.kim@clearink.com</email> |
| </contributor> |
| <contributor> |
| <name>Regis Koenig</name> |
| </contributor> |
| <contributor> |
| <name>Stephen Kruger</name> |
| </contributor> |
| <contributor> |
| <name>Sean Legassick</name> |
| <email>sean@informage.net</email> |
| </contributor> |
| <contributor> |
| <name>Andrew Liles</name> |
| </contributor> |
| <contributor> |
| <name>Cedrik Lime</name> |
| </contributor> |
| <contributor> |
| <name>Mark Lowe</name> |
| <email>mark.lowe@boxstuff.com</email> |
| </contributor> |
| <contributor> |
| <name>Brett McLaughlin</name> |
| <email>bmclaugh@algx.net</email> |
| </contributor> |
| <contributor> |
| <name>Piero Ottuzzi</name> |
| </contributor> |
| <contributor> |
| <name>Niall Pemberton</name> |
| </contributor> |
| <contributor> |
| <name>Greg Ritter</name> |
| <email>greg@shwoop.com</email> |
| </contributor> |
| <contributor> |
| <name>Corey Scott</name> |
| <email>corey.scott@gmail.com</email> |
| </contributor> |
| <contributor> |
| <name>Eric Spiegelberg</name> |
| <email>eric@spiegs.com</email> |
| </contributor> |
| <contributor> |
| <name>Dominik Stadler</name> |
| </contributor> |
| <contributor> |
| <name>Matthias Wessendorf</name> |
| <email>matthias@wessendorf.net</email> |
| </contributor> |
| <contributor> |
| <name>Brandon Wolfe</name> |
| </contributor> |
| <contributor> |
| <name>Alexander Lehmann</name> |
| <email>alexlehm@gmail.com</email> |
| </contributor> |
| <contributor> |
| <name>Vegard Stuen</name> |
| <email>vegard.stuen@gmail.com</email> |
| </contributor> |
| </contributors> |
| |
| </project> |