This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new e1d6b3e  jaxb needed for enunciate with jdk11
e1d6b3e is described below

commit e1d6b3e7f58dda173c3f8787b3d2cac0763dbecb
Author: olivier lamy <ol...@apache.org>
AuthorDate: Wed Jan 2 15:02:47 2019 +1000

    jaxb needed for enunciate with jdk11
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 pom.xml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/pom.xml b/pom.xml
index c2e5474..ebee892 100644
--- a/pom.xml
+++ b/pom.xml
@@ -994,12 +994,48 @@
               <docsDir>${enunciate.docsDir}</docsDir>
               <configFile>src/enunciate/enunciate.xml</configFile>
             </configuration>
+            <dependencies>
+              <!-- needed for jdk 11 -->
+              <!--dependency>
+                <groupId>javax.xml.bind</groupId>
+                <artifactId>jaxb-api</artifactId>
+                <version>2.3.0</version>
+              </dependency-->
+            </dependencies>
           </plugin>
         </plugins>
       </build>
     </profile>
 
     <profile>
+      <id>jdk9+</id>
+      <activation>
+        <jdk>[1.9,)</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>com.webcohesion.enunciate</groupId>
+              <artifactId>enunciate-maven-plugin</artifactId>
+              <version>${enunciate.version}</version>
+              <dependencies>
+                <!-- needed for jdk 11 -->
+                <dependency>
+                  <groupId>javax.xml.bind</groupId>
+                  <artifactId>jaxb-api</artifactId>
+                  <version>2.3.0</version>
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+
+    </profile>
+
+
+    <profile>
       <id>dup</id>
       <build>
         <plugins>

Reply via email to