Merge pull request #21 from apache/refactoring/UIMA-6460-Move-tycho-and-auto-staging-to-parent-pom

[UIMA-6460] move tycho and auto staging to parent pom
diff --git a/pom.xml b/pom.xml
index 1d0b137..b69ec54 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>
@@ -2871,9 +2871,9 @@
           <scope>runtime</scope>
         </dependency>
         <dependency>
-          <groupId>javax.annotation</groupId>
-          <artifactId>javax.annotation-api</artifactId>
-          <version>1.3.2</version>
+          <groupId>javax.activation</groupId>
+          <artifactId>javax.activation-api</artifactId>
+          <version>1.2.0</version>
         </dependency>
       </dependencies>
 
@@ -2882,6 +2882,21 @@
           <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>
               <configuration>
                 <argLine>--illegal-access=permit</argLine>