]> source.dussan.org Git - archiva.git/commitdiff
Preparing for JDK>=9 compatibility
authorMartin Stockhammer <martin_s@apache.org>
Sat, 19 May 2018 17:07:44 +0000 (19:07 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Sat, 19 May 2018 17:07:44 +0000 (19:07 +0200)
12 files changed:
archiva-modules/archiva-base/archiva-checksum/pom.xml
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml
archiva-modules/archiva-base/archiva-converter/pom.xml
archiva-modules/archiva-base/archiva-policies/pom.xml
archiva-modules/archiva-base/archiva-proxy/pom.xml
archiva-modules/archiva-base/archiva-transaction/pom.xml
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml
archiva-modules/archiva-web/archiva-web-common/pom.xml
archiva-modules/archiva-web/archiva-webdav/pom.xml
archiva-modules/plugins/maven2-repository/pom.xml
archiva-modules/plugins/problem-reports/pom.xml
pom.xml

index a027079a9bb251831177585e7421e4d45f238eea..8f5ab0b0b5cf401d6f2ad3a2d66372fa3f176c19 100644 (file)
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
index 277bd2a29ede8d0530e4691861a8ad9a02d6bd86..2cfb88fb34c7fb90bfab06f60b61202e5f071d25 100644 (file)
       <artifactId>archiva-maven2-indexer</artifactId>
       <scope>test</scope>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <pluginManagement>
index 91d1cc6eec54d1eb49c9a52043f812f65786c265..ffeee4d6c72cc4c789fec3850a632ffc6905687b 100644 (file)
       <artifactId>xercesImpl</artifactId>
       <scope>test</scope>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
index 947daa4c548ee586959067ecacf91240173e4c1e..7da80fca60bfb13598d5f51058e5b3502dcd601c 100644 (file)
       <artifactId>spring-test</artifactId>
       <scope>test</scope>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
index dca7a31b99657df1e8623134165065383b4953bc..b4b33a197be6effa29ffae56ca2e2d0c5528f8b5 100644 (file)
       <artifactId>archiva-maven2-indexer</artifactId>
       <scope>test</scope>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
index 12143296f7d9063cbb1b4cdd16c810f550e5e218..daf444fdf6f70763d8ee3e18cf590323945a9e46 100644 (file)
       <artifactId>log4j-jcl</artifactId>
       <scope>compile</scope>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
index 360593078d009f39741ab3915c2d2b555e10d8de..c02220987aecd21f0888610bcf048536102497b3 100644 (file)
       <scope>provided</scope>
     </dependency>
 
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.glassfish.jaxb</groupId>
+      <artifactId>jaxb-runtime</artifactId>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 
   <build>
index 0f4d583a3a34b938dd7997a5608eba6000bcbc34..7c4dbfec20a6e5c86ada8ad34460b3ca573f391d 100644 (file)
       <scope>test</scope>
     </dependency>
 
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.glassfish.jaxb</groupId>
+      <artifactId>jaxb-runtime</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
index 717074c1b921fb87b847923e624de3d46039efa0..44d50571cc9bd4e806c37203f023a5cd6e0a9517 100644 (file)
       <scope>test</scope>
     </dependency>
 
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
   <build>
     <plugins>
index 2acfa799b81a5b90ff7693c5b4ee84b963fead41..d79a1149409932a8521b27e1de049320822fee08 100644 (file)
       <scope>test</scope>
     </dependency>
 
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
index 3ffb4b39e8ed99737d819eda9cef1290148579ce..69c7f3c1ca6aedb5666d4cdb31df3274e31c6535 100644 (file)
       <artifactId>xercesImpl</artifactId>
       <scope>test</scope>
     </dependency>
+
+    <!-- Needed for JDK >= 9 -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
diff --git a/pom.xml b/pom.xml
index 396c72c7e76ff37f64ba1bead5f9358153e80b4c..17d4efe8f35ed6c47f153b48a98cb4420f6429f1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <version>1.7.2</version>
       </dependency>
 
+      <!-- Dependencies for JDK >=9 update -->
+      <dependency>
+        <groupId>javax.annotation</groupId>
+        <artifactId>javax.annotation-api</artifactId>
+        <version>1.3.2</version>
+      </dependency>
+
+      <dependency>
+        <groupId>javax.xml.bind</groupId>
+        <artifactId>jaxb-api</artifactId>
+        <version>2.3.0</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.glassfish.jaxb</groupId>
+        <artifactId>jaxb-runtime</artifactId>
+        <version>2.3.0</version>
+      </dependency>
+
     </dependencies>
   </dependencyManagement>