You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/12/06 10:19:59 UTC
[sling-org-apache-sling-launchpad-testing-war] branch master
updated: SLING-7046: Run the Sling ITs with Java 9
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-testing-war.git
The following commit(s) were added to refs/heads/master by this push:
new 6504a5c SLING-7046: Run the Sling ITs with Java 9
6504a5c is described below
commit 6504a5c762b9c2b2bb5d50d6047ec809aba7ab8f
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Dec 6 12:19:53 2017 +0200
SLING-7046: Run the Sling ITs with Java 9
Add --add-modules java.se.ee when running on java9
---
pom.xml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/pom.xml b/pom.xml
index 24e3659..99b6fd4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -197,6 +197,23 @@
<http.base.path>${project.build.finalName}</http.base.path>
</properties>
</profile>
+ <profile>
+ <id>java9</id>
+ <activation>
+ <jdk>9</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <configuration>
+ <jvmArgs>--add-modules=java.se.ee</jvmArgs>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencies>
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].