SpartaSystems / holdmail

HoldMail is a Java Application for proxying SMTP mail, providing a browsable viewer for captured emails.
Apache License 2.0
34 stars 15 forks source link

Release holdmail in maven repository #67

Open franz-see opened 6 years ago

franz-see commented 6 years ago
Issue Overview

Release holdmail in maven repository. That would allow java developers to include holdmail into their applications.

Expected Behavior

Holdmail can be declared as a dependency in a gradle or maven config file and be downloaded from a maven repo

Current Behavior

Holdmail needs to be downloaded right now and be part of the source code as a jar.

barryoneill commented 6 years ago

Thanks for the suggestion! We currently publish to bintray. If you simply want to add the JAR that we build, you should be able to modify your repositories section:

repositories {
    mavenCentral()
    maven {
        url 'https://dl.bintray.com/spartasystems/HoldMail'
    }
}

However, if you're expecting to be able to import the classes and use them as an SDK, I'm not sure that JAR file is what you're expecting. That's a spring boot self-bootstrapped application in the JAR - the classes you'll import are the org.springframework bootloader classes, while the holdmail classes themselves are going to be buried in 'BOOT-INF/classes/'.

@johnament perhaps we need to publish two JARs - one a normal SDK jar, and one the spring boot application...

franz-see commented 6 years ago

@barryoneill great! thanks!