Skip to content

Commit

Permalink
#245: Switched to new parent POM which defines all versions in depend…
Browse files Browse the repository at this point in the history
…enyManagement, updated Jakarta dependencies for JDK9+. Disabled notnull Maven plugin, which doesn't work with JDK11+
  • Loading branch information
bbottema committed Feb 1, 2020
1 parent 2ec2162 commit 6031bff
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
13 changes: 13 additions & 0 deletions modules/core-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,24 @@
<artifactId>jakarta.activation</artifactId>
<version>1.2.1</version>
</dependency>
<!-- java 9+ compatibility, these modules are not shipped anymore -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>1.3.5</version>
</dependency>

<dependency>
<groupId>com.github.bbottema</groupId>
<artifactId>emailaddress-rfc2822</artifactId>
<version>2.1.3</version>
</dependency>

<dependency><!-- Annotation processor -->
<groupId>com.github.therapi</groupId>
<artifactId>therapi-runtime-javadoc-scribe</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.simplejavamail.mailer.internal;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.simplejavamail.api.mailer.config.ServerConfig;
import org.simplejavamail.config.ConfigLoader;
Expand All @@ -24,6 +25,7 @@ public void restoreOriginalStaticProperties() {
}

@Test
@Ignore("Enable once the notnull plugin is enabled again or substituted")
public void NoArgconstructor_WithoutConfigFile_WithoutHost() {
ConfigLoaderTestHelper.clearConfigProperties();

Expand All @@ -36,6 +38,7 @@ public void NoArgconstructor_WithoutConfigFile_WithoutHost() {
}

@Test
@Ignore("Enable once the notnull plugin is enabled again or substituted")
public void NoArgconstructor_WithoutConfigFile_WithoutPort() {
ConfigLoaderTestHelper.clearConfigProperties();
try {
Expand Down
8 changes: 6 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.bbottema</groupId>
<artifactId>modular-project-parent</artifactId>
<version>1.0.11</version>
<version>1.0.13</version>
</parent>

<groupId>org.simplejavamail</groupId>
Expand All @@ -19,6 +19,10 @@
<description>Simple Java Mail - Maven master project</description>
<url>http://www.simplejavamail.org/</url>

<properties>
<se.eris.notnull.instrument>false</se.eris.notnull.instrument>
</properties>

<!-- to skip some steps: -DskipTests -Dspotbugs.skip=true -Dmaven.javadoc.skip=true -Denforcer.skip=true -Djacoco.skip=true -Dlicense.skip=true -->

<issueManagement>
Expand Down Expand Up @@ -233,4 +237,4 @@
</build>
</profile>
</profiles>
</project>
</project>

0 comments on commit 6031bff

Please sign in to comment.