starting project
Showing
with
532 additions
and
0 deletions
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
pom.xml
0 → 100644
<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> | |||
<groupId>email.tadpole</groupId> | |||
<artifactId>tadpole-mail</artifactId> | |||
<packaging>jar</packaging> | |||
<name>Tadpole Mail</name> | |||
<version>1.0-SNAPSHOT</version> | |||
<inceptionYear>2017</inceptionYear> | |||
<description>Mail service for Tadpole.</description> | |||
<properties> | |||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |||
<maven.compiler.source>1.8</maven.compiler.source> | |||
<maven.compiler.target>1.8</maven.compiler.target> | |||
<tag>master</tag> | |||
<rev>~${env.USER}</rev> | |||
<fulltag>${tag}/${rev}</fulltag> | |||
<fullver>${project.name} ${project.version} (${fulltag})</fullver> | |||
<gl.group>Tadpole</gl.group> | |||
<gl.group-url>tadpole</gl.group-url> | |||
<gl.name>tadpole-mail</gl.name> | |||
<gl.url>https://felinewith.me/${gl.group-url}/${gl.name}</gl.url> | |||
<gl.pages>https://${gl.group-url}.felinewith.me/${gl.name}</gl.pages> | |||
</properties> | |||
<url>${gl.pages}</url> | |||
<prerequisites> | |||
<maven>3.3.0</maven> | |||
</prerequisites> | |||
<licenses> | |||
<license> | |||
<distribution>repo</distribution> | |||
<name>Apache License 2.0</name> | |||
<url>https://felinewith.me/Tadpole/tadpole-mail/raw/master/LICENSE</url> | |||
</license> | |||
</licenses> | |||
<distributionManagement> | |||
<repository> | |||
<id>releases</id> | |||
<name>SPM Releases</name> | |||
<url>https://mvn.felinewith.me/repository/releases</url> | |||
</repository> | |||
<snapshotRepository> | |||
<id>snapshots</id> | |||
<name>SPM Snapshots</name> | |||
<url>https://mvn.felinewith.me/repository/snapshots</url> | |||
</snapshotRepository> | |||
<site> | |||
<id>Main</id> | |||
<name>${project.name}</name> | |||
<url>${gl.pages}</url> | |||
</site> | |||
<downloadUrl>https://mvn.felinewith.me/#artifact-details-download-content/${project.groupId}/${project.artifactId}</downloadUrl> | |||
</distributionManagement> | |||
<issueManagement> | |||
<system>GitLab</system> | |||
<url>${gl.url}/issues</url> | |||
</issueManagement> | |||
<ciManagement> | |||
<system>GitLab CI</system> | |||
<url>${gl.url}/pipelines</url> | |||
</ciManagement> | |||
<scm> | |||
<connection>scm:git:${gl.url}.git</connection> | |||
<developerConnection>scm:git:[email protected]:${gl.group-url}/${gl.name}.git</developerConnection> | |||
<tag>${tag}</tag> | |||
<url>${gl.url}/blob/${tag}/</url> | |||
</scm> | |||
<organization> | |||
<name>StarPhoenix Media</name> | |||
<url>https://starphoenixmedia.com/</url> | |||
</organization> | |||
<developers> | |||
<developer> | |||
<id>jlhawkwell</id> | |||
<name>Jessica Hawkwell</name> | |||
<email>[email protected]</email> | |||
<organization>StarPhoenix Media</organization> | |||
<organizationUrl>http://starphoenixmedia.com/</organizationUrl> | |||
<timezone>-5</timezone> | |||
</developer> | |||
</developers> | |||
<repositories> | |||
<repository> | |||
<id>external</id> | |||
<name>SPM Externals</name> | |||
<url>https://mvn.felinewith.me/repository/external</url> | |||
<releases> | |||
<enabled>true</enabled> | |||
</releases> | |||
<snapshots> | |||
<enabled>true</enabled> | |||
</snapshots> | |||
</repository> | |||
</repositories> | |||
<dependencies> | |||
<!-- PROJECT DEPENDENCIES ********************************************************************* PROJECT DEPENDENCIES --> | |||
<dependency> | |||
<groupId>commons-beanutils</groupId> | |||
<artifactId>commons-beanutils</artifactId> | |||
<version>1.9.3</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>me.felinewith.lang-toolkit.apps</groupId> | |||
<artifactId>bootstrap</artifactId> | |||
<version>1.0-SNAPSHOT</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.apache.commons</groupId> | |||
<artifactId>commons-configuration2</artifactId> | |||
<version>2.1.1</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.apache.james</groupId> | |||
<artifactId>james-server-core</artifactId> | |||
<version>3.0.0</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.testng</groupId> | |||
<artifactId>testng</artifactId> | |||
<version>6.8.7</version> | |||
<scope>test</scope> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<defaultGoal>test package install</defaultGoal> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-compiler-plugin</artifactId> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jar-plugin</artifactId> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-javadoc-plugin</artifactId> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-shade-plugin</artifactId> | |||
<executions> | |||
<execution> | |||
<phase>package</phase> | |||
<goals> | |||
<goal>shade</goal> | |||
</goals> | |||
<configuration> | |||
<artifactSet> | |||
<includes> | |||
<include>me.felinewith.lang-toolkit.apps:*</include> | |||
<include>me.felinewith.lang-toolkit.library:*</include> | |||
</includes> | |||
</artifactSet> | |||
</configuration> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
</plugins> | |||
<!-- MAVEN BUILD DEPENDENCIES ************************************************************* MAVEN BUILD DEPENDENCIES --> | |||
<pluginManagement> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-compiler-plugin</artifactId> | |||
<version>3.6.1</version> | |||
<configuration> | |||
<showDeprecation>true</showDeprecation> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jar-plugin</artifactId> | |||
<version>3.0.2</version> | |||
<configuration> | |||
<archive> | |||
<manifest> | |||
<addClasspath>true</addClasspath> | |||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | |||
<classpathLayoutType>repository</classpathLayoutType> | |||
<packageName></packageName> | |||
</manifest> | |||
</archive> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-javadoc-plugin</artifactId> | |||
<version>2.10.4</version> | |||
<executions> | |||
<execution> | |||
<id>attach-javadoc</id> | |||
<goals> | |||
<goal>jar</goal> | |||
</goals> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-dependency-plugin</artifactId> | |||
<version>3.0.1</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-resources-plugin</artifactId> | |||
<version>3.0.2</version> | |||
<configuration> | |||
<encoding>${project.build.sourceEncoding}</encoding> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<version>2.20</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-shade-plugin</artifactId> | |||
<version>3.0.0</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-enforcer-plugin</artifactId> | |||
<version>1.4.1</version> | |||
</plugin> | |||
<!-- MAVEN SITE BUILDER ************************************************************************* MAVEN SITE BUILDER --> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-site-plugin</artifactId> | |||
<version>3.6</version> | |||
</plugin> | |||
</plugins> | |||
</pluginManagement> | |||
</build> | |||
<reporting> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-changelog-plugin</artifactId> | |||
<version>2.3</version> | |||
<configuration> | |||
<range>30</range> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-checkstyle-plugin</artifactId> | |||
<version>2.17</version> | |||
<configuration> | |||
<!-- configLocation>https://dev.vocasystem.net/checkstyle.xml</configLocation --> | |||
</configuration> | |||
<reportSets> | |||
<reportSet> | |||
<id>parent</id> | |||
<inherited>false</inherited> | |||
<configuration> | |||
<skip>true</skip> | |||
</configuration> | |||
</reportSet> | |||
</reportSets> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-dependency-plugin</artifactId> | |||
<version>3.0.1</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-javadoc-plugin</artifactId> | |||
<version>2.10.4</version> | |||
<configuration> | |||
<noqualifier>all</noqualifier> | |||
<show>public</show> | |||
<sourcetab>4</sourcetab> | |||
<splitindex>true</splitindex> | |||
<detectLinks>true</detectLinks> | |||
<nodeprecated>true</nodeprecated> | |||
<quiet>true</quiet> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jxr-plugin</artifactId> | |||
<version>2.5</version> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-pmd-plugin</artifactId> | |||
<version>3.8</version> | |||
<configuration> | |||
<targetJdk>1.8</targetJdk> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-project-info-reports-plugin</artifactId> | |||
<version>2.9</version> | |||
<configuration> | |||
<version>1.0-SNAPSHOT</version> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-report-plugin</artifactId> | |||
<version>2.20</version> | |||
</plugin> | |||
</plugins> | |||
</reporting> | |||
<profiles> | |||
<profile> | |||
<id>ci</id> | |||
<activation> | |||
<property> | |||
<name>env.CI_COMMIT_REF_NAME</name> | |||
</property> | |||
</activation> | |||
<properties> | |||
<!-- Override only if necessary --> | |||
<tag>${env.CI_COMMIT_REF_NAME}</tag> | |||
</properties> | |||
</profile> | |||
<profile> | |||
<id>rev-env</id> | |||
<activation> | |||
<property> | |||
<name>env.GIT_REV</name> | |||
</property> | |||
</activation> | |||
<properties> | |||
<!-- Override only if necessary --> | |||
<rev>${env.GIT_REV}</rev> | |||
</properties> | |||
</profile> | |||
<profile> | |||
<id>rev-cli</id> | |||
<activation> | |||
<property> | |||
<name>git-rev</name> | |||
</property> | |||
</activation> | |||
<properties> | |||
<!-- Override only if necessary --> | |||
<rev>${git-rev}</rev> | |||
</properties> | |||
</profile> | |||
<profile> | |||
<id>debug</id> | |||
<build> | |||
<pluginManagement> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-compiler-plugin</artifactId> | |||
<configuration> | |||
<compilerArgument>-g</compilerArgument> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</pluginManagement> | |||
</build> | |||
</profile> | |||
<profile> | |||
<id>release</id> | |||
<build> | |||
<pluginManagement> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-compiler-plugin</artifactId> | |||
<configuration> | |||
<compilerArgument>-g:none</compilerArgument> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</pluginManagement> | |||
</build> | |||
</profile> | |||
</profiles> | |||
</project> |
src/main/java/email/tadpole/TadpoleMail.java
0 → 100644
-
Please register or sign in to post a comment