You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ff...@apache.org on 2021/12/21 15:11:01 UTC
[camel] 01/09: [CAMEL-16967]upgrade to robotframework 4.1.2 to fix tests in camel-robotframework failed with JDK17
This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit a64b7d6f9efdbd1e8596787a79ed7468493dc557
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Wed Oct 20 20:25:59 2021 -0400
[CAMEL-16967]upgrade to robotframework 4.1.2 to fix tests in camel-robotframework failed with JDK17
---
components/camel-robotframework/pom.xml | 18 ++++++++++++++++++
parent/pom.xml | 2 +-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/components/camel-robotframework/pom.xml b/components/camel-robotframework/pom.xml
index 83d2987..156d2d9 100644
--- a/components/camel-robotframework/pom.xml
+++ b/components/camel-robotframework/pom.xml
@@ -70,5 +70,23 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>jdk17-build</id>
+ <activation>
+ <jdk>[17,)</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>--add-opens java.base/java.io=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/parent/pom.xml b/parent/pom.xml
index 56b49af..43815a2 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -468,7 +468,7 @@
<servo-version>0.10.1</servo-version>
<!-- roaster 2.23.x does not work with java 8 -->
<roaster-version>2.22.3.Final</roaster-version>
- <robotframework-version>4.1</robotframework-version>
+ <robotframework-version>4.1.2</robotframework-version>
<rome-version>1.16.0</rome-version>
<rxjava-version>1.3.8</rxjava-version>
<rxjava2-version>2.2.21</rxjava2-version>