添加 Email 包到系统中

This commit is contained in:
YuCheng Hu 2018-12-26 17:59:47 -05:00
parent c693ecd020
commit 3a4ef832bb
1 changed files with 32 additions and 7 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<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">
<modelVersion>4.0.0</modelVersion>
@ -25,6 +26,26 @@
<dependencies>
<!-- LOG -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.11.0</version>
</dependency>
<!-- TEST -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<!-- EMAIL -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email</artifactId>
<version>1.5</version>
</dependency>
<!-- DATABASE AND HIBERNATE -->
<dependency>
@ -188,8 +209,8 @@
<build>
<plugins>
<plugin>
<!-- generate jelly taglib docs from src/main/resources. this is necessary in addition to the <reporting> configuration to get the results
deployed. -->
<!-- generate jelly taglib docs from src/main/resources. this is necessary
in addition to the <reporting> configuration to get the results deployed. -->
<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
<!-- version specified in grandparent pom -->
@ -210,16 +231,20 @@
</build>
</profile>
<profile>
<!-- Run FindBugs for better error detection. Run as "mvn -Pfindbugs install site". -->
<!-- FindBugs has been moved to the default build flow, but here we fail the build on errors -->
<!-- Run FindBugs for better error detection. Run as "mvn -Pfindbugs install
site". -->
<!-- FindBugs has been moved to the default build flow, but here we fail
the build on errors -->
<id>findbugs</id>
<properties>
<!-- In the default profile we always fail the build if there FindBugs errors -->
<!-- In the default profile we always fail the build if there FindBugs
errors -->
<findbugs.failOnError>true</findbugs.failOnError>
</properties>
</profile>
<profile>
<!-- Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire. -->
<!-- Obtain code coverage report. This is done by running Unit tests on
our own and suppressing surefire. -->
<id>cobertura</id>
<build>
<plugins>