Skip to content

Commit 72a4d26

Browse files
author
Greg Meyer
authored
Merge pull request #4 from DirectProjectJavaRI/develop
Releasing xd 6.0.1
2 parents ee81e03 + 1d78c77 commit 72a4d26

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ applications:
33
- name: direct-xd
44
instances: 1
55
buildpack: java_buildpack
6-
path: target/xd-6.0-SNAPSHOT.war
6+
path: target/xd-6.0.1-SNAPSHOT.war
77
env:
88
spring.cloud.config.label: master
99
services:

pom.xml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<artifactId>xd</artifactId>
66
<name>NHIN Direct XD* Web Endpoint</name>
7-
<version>6.0</version>
7+
<version>6.0.1</version>
88
<description>NHIN Direct XD Component</description>
99
<inceptionYear>2010</inceptionYear>
1010
<packaging>war</packaging>
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.springframework.boot</groupId>
2121
<artifactId>spring-boot-starter-parent</artifactId>
22-
<version>2.1.2.RELEASE</version>
22+
<version>2.1.3.RELEASE</version>
2323
<relativePath />
2424
</parent>
2525
<developers>
@@ -54,21 +54,21 @@
5454
<dependency>
5555
<groupId>org.springframework.boot</groupId>
5656
<artifactId>spring-boot-dependencies</artifactId>
57-
<version>2.1.2.RELEASE</version>
57+
<version>2.1.3.RELEASE</version>
5858
<type>pom</type>
5959
<scope>import</scope>
6060
</dependency>
6161
<dependency>
6262
<groupId>io.pivotal.spring.cloud</groupId>
6363
<artifactId>spring-cloud-services-dependencies</artifactId>
64-
<version>2.0.3.RELEASE</version>
64+
<version>2.1.1.RELEASE</version>
6565
<type>pom</type>
6666
<scope>import</scope>
6767
</dependency>
6868
<dependency>
6969
<groupId>org.springframework.cloud</groupId>
7070
<artifactId>spring-cloud-starter-parent</artifactId>
71-
<version>Greenwich.RELEASE</version>
71+
<version>Greenwich.SR1</version>
7272
<type>pom</type>
7373
<scope>import</scope>
7474
</dependency>
@@ -277,7 +277,7 @@
277277
<plugin>
278278
<groupId>org.apache.maven.plugins</groupId>
279279
<artifactId>maven-javadoc-plugin</artifactId>
280-
<version>2.6.1</version>
280+
<version>2.9.1</version>
281281
<configuration>
282282
<additionalparam>-Xdoclint:none</additionalparam>
283283
<charset>UTF-8</charset>
@@ -300,8 +300,7 @@
300300
</goals>
301301
</execution>
302302
</executions>
303-
</plugin>
304-
<!-- for release only
303+
</plugin>
305304
<plugin>
306305
<groupId>org.apache.maven.plugins</groupId>
307306
<artifactId>maven-gpg-plugin</artifactId>
@@ -315,7 +314,6 @@
315314
</execution>
316315
</executions>
317316
</plugin>
318-
-->
319317
</plugins>
320318
</build>
321319
</profile>
@@ -331,7 +329,7 @@
331329
<plugin>
332330
<groupId>org.apache.maven.plugins</groupId>
333331
<artifactId>maven-javadoc-plugin</artifactId>
334-
<version>2.6.1</version>
332+
<version>2.9.1</version>
335333
<configuration>
336334
<additionalparam>-Xdoclint:none</additionalparam>
337335
<charset>UTF-8</charset>

src/main/java/org/nhind/xdm/impl/SmtpMailClient.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ public class SmtpMailClient implements MailClient
5050
{
5151
final static int BUFFER = 2048;
5252

53-
private MimeMessage mmessage;
54-
private Multipart mailBody;
55-
private MimeBodyPart mainBody;
56-
private MimeBodyPart mimeAttach;
57-
5853
private String hostname = null;
5954
private String username = null;
6055
private String password = null;
@@ -76,6 +71,11 @@ public SmtpMailClient(String hostname, String username, String password)
7671
*/
7772
public void mail(DirectMessage message, String messageId, String suffix) throws MessagingException
7873
{
74+
MimeMessage mmessage;
75+
Multipart mailBody;
76+
MimeBodyPart mainBody;
77+
MimeBodyPart mimeAttach;
78+
7979
boolean debug = false;
8080
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
8181

0 commit comments

Comments
 (0)