angus-mail
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.eclipse.angus</groupId> <artifactId>angus-mail</artifactId> <version>2.0.3</version> </dependency>
<?xml version="1.0" encoding="iso-8859-1"?> <!-- Copyright (c) 1997, 2023 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.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 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.eclipse.angus</groupId> <artifactId>all</artifactId> <version>2.0.3</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>angus-mail</artifactId> <packaging>jar</packaging> <name>Angus Mail Provider</name> <properties> <mail.extensionName>jakarta.mail</mail.extensionName> <mail.specificationTitle>Jakarta Mail API Design Specification</mail.specificationTitle> <mail.implementationTitle>jakarta.mail</mail.implementationTitle> <mail.probeFile>META-INF/gfprobe-provider.xml</mail.probeFile> <findbugs.skip>false</findbugs.skip> <findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude> <dep.sources>${project.build.directory}/generated-sources/dependencies</dep.sources> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-sources</id> <phase>generate-sources</phase> <goals> <goal>unpack-dependencies</goal> </goals> <configuration> <includeScope>provided</includeScope> <classifier>sources</classifier> <excludeTransitive>true</excludeTransitive> <excludeArtifactIds>graal-sdk</excludeArtifactIds> <excludes> module-info.*,META-INF/versions/**,META-INF/MANIFEST.MF,META-INF/services/jakarta.mail.Provider </excludes> <outputDirectory>${dep.sources}</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-resource</id> <phase>generate-resources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>${dep.sources}</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> </configuration> </execution> <execution> <id>add-sources</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${dep.sources}</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Require-Capability><![CDATA[ osgi.extender;filter:="(&(osgi.extender=osgi.serviceloader.registrar) (version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional, osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))" ]]> </Require-Capability> <Provide-Capability><![CDATA[ osgi.serviceloader; osgi.serviceloader="jakarta.mail.util.StreamProvider", osgi.serviceloader; osgi.serviceloader="jakarta.mail.Provider", ]]> </Provide-Capability> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkCount>1</forkCount> <reuseForks>false</reuseForks> <!-- CompactFormatterTest does not provide the expected results with modules, otherwise this can be removed --> <useModulePath>false</useModulePath> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>jakarta.activation</groupId> <artifactId>jakarta.activation-api</artifactId> </dependency> <dependency> <groupId>jakarta.mail</groupId> <artifactId>jakarta.mail-api</artifactId> </dependency> <dependency> <groupId>org.eclipse.angus</groupId> <artifactId>angus-activation</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <!-- Provided dependencies --> <dependency> <groupId>org.eclipse.angus</groupId> <artifactId>angus-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.angus</groupId> <artifactId>imap</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.angus</groupId> <artifactId>smtp</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.angus</groupId> <artifactId>pop3</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.angus</groupId> <artifactId>logging-mailhandler</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.graalvm.sdk</groupId> <artifactId>graal-sdk</artifactId> <optional>true</optional> <scope>provided</scope> </dependency> </dependencies> </project>