You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/03/27 08:42:58 UTC

[07/10] camel git commit: CAMEL-10141: make camel-archetype-scr unit tests pass on Java 9

CAMEL-10141: make camel-archetype-scr unit 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/88f797aa
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/88f797aa
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/88f797aa

Branch: refs/heads/master
Commit: 88f797aa73b26c28063fa73088482fbbea011f11
Parents: 4c28574
Author: jpoth <po...@gmail.com>
Authored: Fri Mar 24 17:01:06 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Mar 27 10:42:41 2017 +0200

----------------------------------------------------------------------
 .../main/resources/archetype-resources/pom.xml    | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/88f797aa/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
index b817604..f35238e 100644
--- a/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-scr/src/main/resources/archetype-resources/pom.xml
@@ -150,4 +150,22 @@
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>jdk9-build</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <argLine>--add-modules java.xml.bind</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>