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

jpoth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 88da6e8  Fix camel-restdsl-swagger-plugin integration-tests on JDK-11 
when forked
88da6e8 is described below

commit 88da6e81703610224cf51db18520f39436a91439
Author: jpoth <poth.j...@gmail.com>
AuthorDate: Wed Apr 17 12:05:36 2019 +0200

    Fix camel-restdsl-swagger-plugin integration-tests on JDK-11 when forked
---
 .../src/it/simple-xml-dto/pom.xml                  | 31 ++++++++++++++++++++++
 .../src/it/simple-xml/pom.xml                      | 31 ++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git 
a/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml-dto/pom.xml 
b/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml-dto/pom.xml
index caa91a4..2e0d4f6 100644
--- a/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml-dto/pom.xml
+++ b/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml-dto/pom.xml
@@ -87,4 +87,35 @@
       </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>jdk9+-build</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>@project.groupId@</groupId>
+              <artifactId>@project.artifactId@</artifactId>
+              <version>@project.version@</version>
+              <dependencies>
+                <dependency>
+                  <groupId>jakarta.xml.bind</groupId>
+                  <artifactId>jakarta.xml.bind-api</artifactId>
+                  <version>@jakarta-jaxb-version@</version>
+                </dependency>
+                <dependency>
+                  <groupId>org.glassfish.jaxb</groupId>
+                  <artifactId>jaxb-runtime</artifactId>
+                  <version>@glassfish-jaxb-runtime-version@</version>
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
 </project>
diff --git 
a/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml 
b/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml
index 7b1c657..4f2c915 100644
--- a/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml
+++ b/tooling/maven/camel-restdsl-swagger-plugin/src/it/simple-xml/pom.xml
@@ -54,4 +54,35 @@
       </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>jdk9+-build</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>@project.groupId@</groupId>
+              <artifactId>@project.artifactId@</artifactId>
+              <version>@project.version@</version>
+              <dependencies>
+                <dependency>
+                  <groupId>jakarta.xml.bind</groupId>
+                  <artifactId>jakarta.xml.bind-api</artifactId>
+                  <version>@jakarta-jaxb-version@</version>
+                </dependency>
+                <dependency>
+                  <groupId>org.glassfish.jaxb</groupId>
+                  <artifactId>jaxb-runtime</artifactId>
+                  <version>@glassfish-jaxb-runtime-version@</version>
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
 </project>

Reply via email to