You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/05/19 15:31:02 UTC
[uima-parent-pom] 01/01: [UIMA-6460] Move tycho and auto-staging to parent pom
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch refactoring/UIMA-6460-Move-tycho-and-auto-staging-to-parent-pom
in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git
commit 2d180ff2e1a94540b051029c9012fbe696d9e871
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Thu May 19 17:30:55 2022 +0200
[UIMA-6460] Move tycho and auto-staging to parent pom
- Exclude JAXB from the maven dependency plugin
---
pom.xml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1d0b137..52483e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2849,8 +2849,8 @@
</properties>
<dependencies>
<!--
- - java.xml.bind and javax.annotation-api have been removed in Java 11 from the JDK, need to add it
- as dependency
+ - java.xml.bind and javax.annotation-api have been removed in Java 11 from the JDK, need
+ - to add them as dependencies
-->
<dependency>
<groupId>javax.xml.bind</groupId>
@@ -2880,6 +2880,21 @@
<build>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <ignoredUnusedDeclaredDependencies combine.children="append">
+ <!--
+ - JAXB is used via reflection and cannot be detected by Maven
+ -->
+ <dependency>javax.xml.bind:jaxb-api</dependency>
+ <dependency>com.sun.xml.bind:jaxb-core</dependency>
+ <dependency>com.sun.xml.bind:jaxb-impl</dependency>
+ <dependency>javax.activation:javax.activation-api</dependency>
+ </ignoredUnusedDeclaredDependencies>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>