Skip to content

Commit

Permalink
Merge pull request #38 from fizzed/feature/postoffice
Browse files Browse the repository at this point in the history
Feature/postoffice
  • Loading branch information
jjlauer authored Dec 19, 2024
2 parents bd6d35c + 84b3ca2 commit fe52eee
Show file tree
Hide file tree
Showing 5 changed files with 547 additions and 0 deletions.
76 changes: 76 additions & 0 deletions blaze-postoffice/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<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/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<artifactId>blaze-postoffice</artifactId>
<packaging>jar</packaging>

<parent>
<groupId>com.fizzed</groupId>
<artifactId>blaze</artifactId>
<version>1.7.1-SNAPSHOT</version>
</parent>

<properties>
<main.java.package>com.fizzed.blaze.postoffice</main.java.package>
</properties>

<dependencies>

<dependency>
<groupId>com.fizzed</groupId>
<artifactId>blaze-core</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-mail</artifactId>
<version>2.0.3</version>
</dependency>

<!-- testing -->

<dependency>
<groupId>com.icegreen</groupId>
<artifactId>greenmail-standalone</artifactId>
<version>2.0.1</version>
</dependency>

<dependency>
<groupId>com.fizzed</groupId>
<artifactId>crux-util</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>

</dependencies>
</project>
11 changes: 11 additions & 0 deletions blaze-postoffice/src/main/java/com/fizzed/blaze/PostOffices.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.fizzed.blaze;

import com.fizzed.blaze.postoffice.Mail;

public class PostOffices {

static public Mail mail() {
return new Mail(Contexts.currentContext());
}

}
Loading

0 comments on commit fe52eee

Please sign in to comment.