You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2017/05/05 11:15:40 UTC
[22/25] camel git commit: CAMEL-10141: make camel-bam tests pass on
Java 9
CAMEL-10141: make camel-bam tests pass on Java 9
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/fd357098
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fd357098
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fd357098
Branch: refs/heads/master
Commit: fd3570981a42e3e50004f70406a0f2b91c761e1f
Parents: 54f0797
Author: jpoth <po...@gmail.com>
Authored: Thu Apr 27 20:56:26 2017 +0200
Committer: Zoran Regvart <zr...@apache.org>
Committed: Fri May 5 13:14:45 2017 +0200
----------------------------------------------------------------------
components/camel-bam/pom.xml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/fd357098/components/camel-bam/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-bam/pom.xml b/components/camel-bam/pom.xml
index 68867d5..583d6b1 100644
--- a/components/camel-bam/pom.xml
+++ b/components/camel-bam/pom.xml
@@ -222,5 +222,40 @@
</dependency>
</dependencies>
</profile>
+
+ <profile>
+ <id>jdk9-hibernate</id>
+ <activation>
+ <jdk>9</jdk>
+ </activation>
+ <build>
+ <testResources>
+ <testResource>
+ <directory>${basedir}/src/test/profiles/hibernate</directory>
+ </testResource>
+ </testResources>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>--add-modules java.activation,java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jta_1.1_spec</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
</project>