Commons Email.
Commons-Email aims to provide a API for sending email. It is built on top of the JavaMail API, which it aims to simplify..
Here is the list of declaration for commons-email. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.1</version> </dependency>
If you think this Maven repository POM file listing for commons-email is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The commons-email-1.1 has 8 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Network | mail 1.4 The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. | 461 |
JEE | activation 1.1 JavaBeans Activation Framework (JAF) is a standard extension to the Java platform that lets you take advantage of standard services to: determine the type of an arbitrary piece of data; encapsulate access to it; discover the operations available on it; and instantiate the appropriate bean to perfor... | 369 |
JUnit | junit 3.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1966 |
Byte Code | retrotranslator-runtime 1.2.1 Library classes for bytecode transformed by Retrotranslator | 23 |
Log | commons-logging 1.1 Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. | 445 |
The following plugins are used in the commons-email-1.1.jar
The following packages are defined in the commons-email-1.1.jar
org.apache.commons.mail
Here is the content of the POM file.
<?xml version="1.0"?> <!-- 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>4</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.1</version> <name>Commons Email</name> <inceptionYear>2001</inceptionYear> <description> Commons-Email aims to provide a API for sending email. It is built on top of the JavaMail API, which it aims to simplify. </description> <url>http://commons.apache.org/email/</url> <issueManagement> <system>jira</system> <url>http://issues.apache.org/jira/browse/EMAIL</url> </issueManagement> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/email/trunk</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/email/trunk</developerConnection> <url>http://svn.apache.org/viewvc/commons/proper/email/trunk</url> </scm> <contributors> <contributor> <name>Mark Lowe</name> <email>mark.lowe@boxstuff.com</email> <roles/> </contributor> <contributor> <name>Niall Pemberton</name> <roles/> </contributor> <contributor> <name>Corey Scott</name> <email>corey.scott@gmail.com</email> <roles/> </contributor> <contributor> <name>Eric Spiegelberg</name> <email>eric@spiegs.com</email> <roles/> </contributor> <contributor> <name>Matthias Wessendorf</name> <email>matthias@wessendorf.net</email> <roles/> </contributor> <contributor> <name>Bindul Bhowmik</name> </contributor> <contributor> <name>Brandon Wolfe</name> </contributor> <contributor> <name>Piero Ottuzzi</name> </contributor> <contributor> <name>Andrew Liles</name> </contributor> <contributor> <name>C?drik Lime</name> </contributor> </contributors> <dependencies> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> <!--<url>http://java.sun.com/products/javamail/</url>--> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1</version> <!--<url>http://java.sun.com/products/javabeans/glasgow/jaf.html</url>--> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>net.sf.retrotranslator</groupId> <artifactId>retrotranslator-runtime</artifactId> <version>1.2.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.subethamail</groupId> <artifactId>subethasmtp-smtp</artifactId> <version>1.2</version> <classifier>java14</classifier> <!--<url>http://subethasmtp.tigris.org/</url>--> <scope>test</scope> </dependency> <dependency> <groupId>org.subethamail</groupId> <artifactId>subethasmtp-wiser</artifactId> <version>1.2</version> <classifier>java14</classifier> <!--<url>http://subethasmtp.tigris.org/wiser.html</url>--> <scope>test</scope> <exclusions> <exclusion> <groupId>org.subethamail</groupId> <artifactId>subethasmtp-smtp</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1</version> <!--<url>http://commons.apache.org/logging/</url>--> <scope>test</scope> </dependency> <dependency> <groupId>maven-plugins</groupId> <artifactId>maven-findbugs-plugin</artifactId> <version>0.9.2</version> <!--<url>http://maven-plugins.sourceforge.net/maven-findbugs-plugin/</url>--> <type>plugin</type> <scope>test</scope> </dependency> </dependencies> <properties> <maven.compile.source>1.4</maven.compile.source> <maven.compile.target>1.4</maven.compile.target> </properties> <build> <sourceDirectory>src/java</sourceDirectory> <testSourceDirectory>src/test</testSourceDirectory> <resources> <resource> <directory>.</directory> <targetPath>META-INF</targetPath> <includes> <include>NOTICE.txt</include> <include>LICENSE.txt</include> </includes> </resource> </resources> <testResources> <testResource> <directory>src/test</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- exclude test case support classes --> <excludes> <exclude>org/apache/commons/mail/BaseEmailTestCase.java</exclude> <exclude>org/apache/commons/mail/mocks/*</exclude> <exclude>org/apache/commons/mail/settings/*</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/assembly/bin.xml</descriptor> <descriptor>src/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <configLocation>conf/checkstyle.xml</configLocation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <configuration> <comparisonArtifacts> <comparisonArtifact> <groupId>commons-email</groupId> <artifactId>commons-email</artifactId> <version>1.0</version> </comparisonArtifact> </comparisonArtifacts> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <configuration> <xmlPath>${basedir}/xdocs/changes.xml</xmlPath> </configuration> </plugin> </plugins> </reporting> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <goals> <goal>run</goal> </goals> <phase>package</phase> <configuration> <tasks> <copy todir="${project.build.directory}/site/api-release"> <fileset dir="${project.build.directory}/site/apidocs"/> </copy> <zip destfile="${project.build.directory}/${artifactId}-${version}-javadoc.jar.new"> <zipfileset src="${project.build.directory}/${artifactId}-${version}-javadoc.jar"/> <zipfileset dir="." prefix="META-INF"> <include name="LICENSE.txt"/> <include name="NOTICE.txt"/> </zipfileset> </zip> <move file="${project.build.directory}/${artifactId}-${version}-javadoc.jar.new" tofile="${project.build.directory}/${artifactId}-${version}-javadoc.jar"/> <zip destfile="${project.build.directory}/${artifactId}-${version}-sources.jar.new"> <zipfileset src="${project.build.directory}/${artifactId}-${version}-sources.jar"/> <zipfileset dir="." prefix="META-INF"> <include name="LICENSE.txt"/> <include name="NOTICE.txt"/> </zipfileset> </zip> <move file="${project.build.directory}/${artifactId}-${version}-sources.jar.new" tofile="${project.build.directory}/${artifactId}-${version}-sources.jar"/> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>