You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2019/07/15 17:22:20 UTC
[directory-fortress-enmasse] branch master updated: FC-230 -
Support Java 11+
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-enmasse.git
The following commit(s) were added to refs/heads/master by this push:
new 132b290 FC-230 - Support Java 11+
new a745578 Merge remote-tracking branch 'origin/master'
132b290 is described below
commit 132b290c954d13c8797c0ea781ca9e0672942fef
Author: Shawn McKinney <sm...@apache.org>
AuthorDate: Mon Jul 15 11:22:06 2019 -0600
FC-230 - Support Java 11+
---
pom.xml | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index c2fa676..05e525a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,7 @@
<!-- ====================================================== -->
<properties>
<title>${project.name} ${project.version}</title>
-
+ <java.version>1.8</java.version>
<!-- Dependencies version -->
<fortress.realm.version>2.0.4-SNAPSHOT</fortress.realm.version>
<cxf.version>3.2.6</cxf.version>
@@ -197,7 +197,19 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
-
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-core</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
</dependencies>
<build>
@@ -347,19 +359,23 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
+ <optimize>true</optimize>
+ <encoding>ISO-8859-1</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
+ <version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
- <phase>package</phase>
+ <phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>