Bump kemitix depedencies and convert changelog to org-mode (#49)

* Bump kemitix-checkstyle-ruleset from 4.1.1 to 5.2.0

* Bump kemitix-maven-tiles from 0.9.0 to 2.0.0

* [changelog] reformat in org-mode

* [changelog] update for next-release

* [jenkins] remove sonarcloud

* Bump kemitix-checkstyle from 5.2.0 to 5.3.2

* Bump kemitix-maven-tiles form 2.0.0 to 2.1.1

* Suppress spotbugs warnings about softening checked exceptions

* [changelog] adjust heading levels and update next release

* Bump kemitix-maven-tiles from 2.1.1 to 2.1.2
This commit is contained in:
Paul Campbell 2019-01-09 00:03:24 +00:00 committed by GitHub
parent 62c081e48a
commit 0d987fb6fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 70 additions and 59 deletions

View file

@ -1,21 +1,31 @@
* CHANGELOG
** next-release
All notable changes to this project will be documented in this file.
*** Dependencies
The format is based on [[https://keepachangelog.com/en/1.0.0/][Keep a Changelog]], and this project adheres to
[[https://semver.org/spec/v2.0.0.html][Semantic Versioning]].
* Bump mockito-core from 2.21.0 to 2.23.0
* Bump mon from 0.12.0 to 2.0.0
* Bump kemitix-parent from 5.1.1 to 5.2.0
* Bump spring-context-support from 5.0.8 to 5.1.2
* Bump kemitix-checkstyle-ruleset from 4.1.1 to 5.2.0
* Bump kemitix-maven-tiles from 0.9.0 to 1.3.1
* 0.5.1
*** Removed
** Changed
* Remove travis config
- Suppress spotbugs warning about softening checked exceptions
** 0.5.0
** Dependencies
- Bump mockito-core from 2.21.0 to 2.23.4
- Bump mon from 0.12.0 to 2.0.0
- Bump kemitix-parent from 5.1.1 to 5.2.0
- Bump spring-context-support from 5.0.8 to 5.1.3
- Bump kemitix-checkstyle-ruleset from 4.1.1 to 5.3.2
- Bump kemitix-maven-tiles from 0.9.0 to 2.1.2
** Removed
- Remove travis config
- Remove CI dependency on sonarcloud
* 0.5.0
* Compatible with Java 10
* Bump kemitix-parent from 1.1.0 to 5.1.1
@ -33,38 +43,38 @@
* [admin] Stop submitting coverage reports to coveralls
* [admin] Switch to Jenkins for CI/CD
** 0.4.0
* 0.4.0
* Upgrade kemitix-parent to 1.1.0
* (pom) Specify dependency versions in properties
* Upgrade spring-context-support to 4.2.6 (tests)
* Upgrade simple-java-mail to 3.0.1 (tests)
** 0.3.2
* 0.3.2
* Upgrade to test with spring-context-support 4.2.5
* Upgrade to test with simple-java-mail 3.0.0
* Upgrade kemitix-parent to 0.9.0
** 0.3.1
* 0.3.1
* Add support for Spring Mail's SimpleMailMessage [fixes #6]
* Upgrade kemitix-parent to 0.7.1
** 0.3.0
* 0.3.0
* Add support for nested multi-part emails [jonjo-manywho] [#1]
** 0.2.0
* 0.2.0
* 4d01349 Add tests with improved conversion of MIME Multipart messages to string
* d72ca46 Apply Checkstyle formatting (modified sun_checks) rules and add javadoc
** 0.1.1
* 0.1.1
* Upgrade javax.mail to 1.4.7
** 0.1.0
* 0.1.0
* Initial release

View file

@ -39,16 +39,6 @@ pipeline {
}
}
}
stage('SonarQube (published)') {
when { expression { isPublished(publicRepo) } }
steps {
withSonarQubeEnv('sonarqube') {
withMaven(maven: 'maven', jdk: 'JDK 1.8') {
sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar"
}
}
}
}
stage('Deploy (published release branch)') {
when {
expression {

12
pom.xml
View file

@ -35,8 +35,9 @@
<properties>
<tiles-maven-plugin.version>2.12</tiles-maven-plugin.version>
<kemitix-maven-tiles.version>1.3.1</kemitix-maven-tiles.version>
<kemitix-checkstyle.version>5.2.0</kemitix-checkstyle.version>
<kemitix-maven-tiles.version>2.1.2</kemitix-maven-tiles.version>
<kemitix-tiles.version>0.9.0</kemitix-tiles.version>
<kemitix-checkstyle.version>5.3.2</kemitix-checkstyle.version>
<digraph-dependency.basePackage>net.kemitix.wiser.assertions</digraph-dependency.basePackage>
<javax-mail.version>1.4.7</javax-mail.version>
@ -50,6 +51,7 @@
<jacoco-class-instruction-covered-ratio>0</jacoco-class-instruction-covered-ratio>
<jacoco-class-missed-count-maximum>1</jacoco-class-missed-count-maximum>
<mon.version>2.0.0</mon.version>
<spotbugs.version>3.1.8</spotbugs.version>
</properties>
<dependencies>
@ -92,6 +94,12 @@
<version>${spring-framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>${spotbugs.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>

View file

@ -21,6 +21,7 @@
package net.kemitix.wiser.assertions;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import net.kemitix.mon.maybe.Maybe;
import net.kemitix.mon.result.Result;
import org.subethamail.wiser.Wiser;
@ -171,6 +172,7 @@ public final class WiserAssertions {
return this;
}
@SuppressFBWarnings("EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS")
private String subject(final WiserMessage wiserMessage) {
try {
return wiserMessage.getMimeMessage().getSubject();
@ -207,6 +209,7 @@ public final class WiserAssertions {
return this;
}
@SuppressFBWarnings("EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS")
private String messageBody(final WiserMessage m) {
try {
return messageBody(m.getMimeMessage().getContent());