You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2020/02/23 11:30:58 UTC
[cxf] branch master updated: fix compilation on Java 13+ (#641)
This is an automated email from the ASF dual-hosted git repository.
buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new c7dff86 fix compilation on Java 13+ (#641)
c7dff86 is described below
commit c7dff867998da49669f259f6d8f1703684ce685a
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Sun Feb 23 14:29:16 2020 +0300
fix compilation on Java 13+ (#641)
---
maven-plugins/java2wadl-plugin/pom.xml | 5 -----
parent/pom.xml | 1 -
rt/management/pom.xml | 12 ++++++++++++
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/maven-plugins/java2wadl-plugin/pom.xml b/maven-plugins/java2wadl-plugin/pom.xml
index 984304f..0a653cb 100644
--- a/maven-plugins/java2wadl-plugin/pom.xml
+++ b/maven-plugins/java2wadl-plugin/pom.xml
@@ -101,11 +101,6 @@
</dependency>
<dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- </dependency>
-
- <dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
diff --git a/parent/pom.xml b/parent/pom.xml
index 4278ff6..2e91c44 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2828,7 +2828,6 @@
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>${cxf.compile.flags}</arg>
- <arg>--add-exports</arg><arg>java.rmi/sun.rmi.registry=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
diff --git a/rt/management/pom.xml b/rt/management/pom.xml
index 7754589..246df7b 100644
--- a/rt/management/pom.xml
+++ b/rt/management/pom.xml
@@ -85,6 +85,18 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>${cxf.compile.show.deprecation}</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <compilerArgs>
+ <arg>${cxf.compile.flags}</arg>
+ <arg>--add-exports</arg><arg>java.rmi/sun.rmi.registry=ALL-UNNAMED</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-xjc-plugin</artifactId>
<version>${cxf.xjc-utils.version}</version>