alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Commons Email example source code file (pom.xml)

This example Commons Email source code file (pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Commons Email tags/keywords

apache, api, asf, developer, developer, foundation, foundation, license, license, scott, see, software, software, you

The Commons Email pom.xml source code

<?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
      <artifactId>commons-parent
      <version>11
    </parent>
    <modelVersion>4.0.0
    <groupId>org.apache.commons
    <artifactId>commons-email
    <version>1.2
    <name>Commons Email

    <inceptionYear>2001
    <description>
        Commons-Email aims to provide an 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/

    <issueManagement>
        <system>jira
        <url>http://issues.apache.org/jira/browse/EMAIL
    </issueManagement>

    <scm>
        <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/email/tags/EMAIL_1_2_RC3
        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/email/tags/EMAIL_1_2_RC3
        <url>http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_2_RC3
    </scm>

    <developers>
        <developer>
            <name>dIon Gillard
            <id>dion
            <email>dion@apache.org
            <organization>Apache Software Foundation
            <roles>
              <role>Java Developer
            </roles>
        </developer>
        <developer>
            <name>John McNally
            <id>jmcnally
            <email>jmcnally@collab.net
            <organization>CollabNet, Inc.
            <roles />
        </developer>
        <developer>
            <name>Quinton McCombs
            <id>quintonm
            <email>quintonm@bellsouth.net
            <organization>NequalsOne, LLC.
            <roles />
        </developer>
        <developer>
            <name>Eric Pugh
            <id>epugh
            <email>epugh@opensourceconnections.com
            <organization>OpenSource Connections
            <roles />
        </developer>
        <developer>
            <name>Daniel Rall
            <id>dlr
            <email>dlr@finemaltcoding.com
            <organization>CollabNet, Inc.
            <roles />
        </developer>
        <developer>
            <name>Jon Scott Stevens
            <id>jon
            <email>jon@latchkey.com
            <organization>CollabNet, Inc.
            <roles />
        </developer>
        <developer>
            <name>Jason van Zyl
            <id>jvanzyl
            <email>jason@zenplex.com
            <organization>Zenplex
            <roles />
        </developer>
        <developer>
            <name>Joe Germuska
            <id>germuska
            <email>Joe@Germuska.com
            <roles />
        </developer>
        <developer>
            <name>Robert Burrell Donkin
            <id>rdonkin
            <email>rdonkin@apache.org
            <roles />
        </developer>
        <developer>
            <name>Henning P. Schmiedehausen
            <id>henning
            <email>hps@intermeta.de
            <organization>INTERMETA - Gesellschaft fuer Mehrwertdienste mbH
            <roles>
              <role>Java Developer
            </roles>
            <timezone>2
        </developer>
        <developer>
            <name>Stephen Colebourne
            <id>scolebourne
            <roles />
            <timezone>0
        </developer>
        <developer>
            <name>Ben Speakmon
            <id>bspeakmon
            <email>bspeakmon@apache.org
            <organization>Apache Software Foundation
            <roles>
                <role>Java Developer
            </roles>
            <timezone>-8
        </developer>
        <developer>
            <name>Siegfried Goeschl
            <id>sgoeschl
            <roles>
              <role>Java Developer
            </roles>
            <timezone>2
        </developer>        
    </developers>
    <contributors>
        <contributor>
            <name>Mark Lowe
            <email>mark.lowe@boxstuff.com
            <roles />
        </contributor>
        <contributor>
            <name>Niall Pemberton
            <roles />
        </contributor>
        <contributor>
            <name>Corey Scott
            <email>corey.scott@gmail.com
            <roles />
        </contributor>
        <contributor>
            <name>Eric Spiegelberg
            <email>eric@spiegs.com
            <roles />
        </contributor>
        <contributor>
            <name>Matthias Wessendorf
            <email>matthias@wessendorf.net
            <roles />
        </contributor>
        <contributor>
            <name>Bindul Bhowmik
        </contributor>
        <contributor>
            <name>Brandon Wolfe
        </contributor>
        <contributor>
            <name>Piero Ottuzzi
        </contributor>
        <contributor>
            <name>Andrew Liles
        </contributor>
        <contributor>
            <name>Cedrik Lime
        </contributor>
    </contributors>

    <dependencies>
        <dependency>
            <groupId>javax.mail
            <artifactId>mail
            <version>1.4.1
            <!---->
        </dependency>
        <dependency>
            <groupId>javax.activation
            <artifactId>activation
            <version>1.1
            <!---->
        </dependency>
        <dependency>
            <groupId>junit
            <artifactId>junit
            <version>3.8.2
            <scope>test
        </dependency>
        <dependency>
            <groupId>net.sf.retrotranslator
            <artifactId>retrotranslator-runtime
            <version>1.2.1
            <scope>test
        </dependency>
        <dependency>
            <groupId>org.subethamail
            <artifactId>subethasmtp-smtp
            <version>1.2
            <classifier>java14
            <!---->
            <scope>test
        </dependency>
        <dependency>
            <groupId>org.subethamail
            <artifactId>subethasmtp-wiser
            <version>1.2
            <classifier>java14
            <!---->
            <scope>test
            <exclusions>
                <exclusion>
                    <groupId>org.subethamail
                    <artifactId>subethasmtp-smtp
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

    <properties>
        <project.build.sourceEncoding>UTF-8
        <project.reporting.outputEncoding>UTF-8
        <maven.compile.source>1.4
        <maven.compile.target>1.4
        <commons.componentid>email
        <commons.jira.id>EMAIL
        <commons.jira.pid>12310474
        <commons.release.version>1.2
        <commons.rc.version>RC3
        <commons.binary.suffix>-bin
    </properties> 

    <build>
        <sourceDirectory>src/java
        <testSourceDirectory>src/test
        <testResources>
            <testResource>
                <directory>src/test
                <excludes>
                    <exclude>**/*.java
                </excludes>
            </testResource>
        </testResources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-surefire-plugin
                <configuration>
                    <!-- exclude test case support classes -->
                    <excludes>
                        <exclude>org/apache/commons/mail/BaseEmailTestCase.java
                        <exclude>org/apache/commons/mail/mocks/*
                        <exclude>org/apache/commons/mail/settings/*
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-assembly-plugin
                <configuration>
                    <descriptors>
                        <descriptor>src/assembly/bin.xml
                        <descriptor>src/assembly/src.xml
                    </descriptors>
                    <tarLongFileMode>gnu
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-jar-plugin
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true
                            <addDefaultSpecificationEntries>true
                        </manifest>
                    </archive>
                </configuration>
            </plugin>            
        </plugins>
    </build>

    <distributionManagement>
      <site>
        <id>apache.website
        <name>Apache Website
        <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/email/
      </site>    
    </distributionManagement>
    
    <reporting>
        <plugins>
            <!-- generate the changes report from changes.xml -->
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-changes-plugin
                <version>2.0
                <configuration>
                    <issueLinkTemplate>%URL%/%ISSUE%
                </configuration>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>changes-report
                        </reports>
                    </reportSet>
              </reportSets>
            </plugin>        
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-checkstyle-plugin
                <version>2.1
                <configuration>
                    <configLocation>${basedir}/conf/checkstyle.xml
                    <enableRulesSummary>false
                    <headerFile>${basedir}/conf/HEADER.txt
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo
                <artifactId>clirr-maven-plugin
                <version>2.2.2
                <configuration>
                    <comparisonArtifacts>
                        <comparisonArtifact>
                            <groupId>org.apache.commons
                            <artifactId>commons-email
                            <version>1.1
                        </comparisonArtifact>
                    </comparisonArtifacts>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo
                <artifactId>findbugs-maven-plugin
                <version>1.2
                <configuration>
                    <threshold>Normal
                    <effort>Default
               </configuration>
            </plugin>
            <!--
            <plugin>
                <groupId>org.codehaus.mojo
                <artifactId>cobertura-maven-plugin
                <version>2.0
            </plugin>
            -->
          </plugins>
    </reporting>

    <profiles>
        <profile>
            <id>rc
            <distributionManagement>
                <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
                <site>
                    <id>apache.website
                    <name>Apache Commons Release Candidate Staging Site
                    <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site
                </site>
            </distributionManagement>
        </profile>
    </profiles>
</project>

Other Commons Email examples (source code examples)

Here is a short list of links related to this Commons Email pom.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.