Skip to content

Commit

Permalink
Scala and java 9.
Browse files Browse the repository at this point in the history
Upgrade scala to latest 2.11.12. Update -target:jvm option to be jvm-1.8.
Add -nobootcp compiler argument for java 9.
  • Loading branch information
MishaDemianenko committed Nov 17, 2017
1 parent 0722c63 commit fa69108
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion community/cypher/pom.xml
Expand Up @@ -32,7 +32,6 @@
<profile>
<id>include-cypher</id>
<activation>
<jdk>!9</jdk>
<property>
<name>!skipCypher</name>
</property>
Expand Down
1 change: 0 additions & 1 deletion community/pom.xml
Expand Up @@ -85,7 +85,6 @@ the relevant Commercial Agreement.
<profile>
<id>include-cypher</id>
<activation>
<jdk>!9</jdk>
<property>
<name>!skipCypher</name>
</property>
Expand Down
1 change: 0 additions & 1 deletion enterprise/cypher/pom.xml
Expand Up @@ -32,7 +32,6 @@
<profile>
<id>include-cypher</id>
<activation>
<jdk>!9</jdk>
<property>
<name>!skipCypher</name>
</property>
Expand Down
1 change: 0 additions & 1 deletion enterprise/pom.xml
Expand Up @@ -47,7 +47,6 @@
<profile>
<id>include-cypher</id>
<activation>
<jdk>!9</jdk>
<property>
<name>!skipCypher</name>
</property>
Expand Down
6 changes: 5 additions & 1 deletion pom.xml
Expand Up @@ -85,9 +85,10 @@
<licensesVersion>7</licensesVersion>
<license-text.header>AGPL-3-header.txt</license-text.header>

<scala.version>2.11.11</scala.version>
<scala.version>2.11.12</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<asm.version>6.0</asm.version>
<scala.java9.arg/>
</properties>

<modules>
Expand Down Expand Up @@ -454,6 +455,8 @@
<arg>-Xmax-classfile-name</arg>
<arg>100</arg>
<arg>-Xlint</arg>
<arg>-target:jvm-${maven.compiler.target}</arg>
<arg>${scala.java9.arg}</arg>
</args>
<jvmArgs>
<jvmArg>-Xms64m</jvmArg>
Expand Down Expand Up @@ -792,6 +795,7 @@
</activation>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<scala.java9.arg>-nobootcp</scala.java9.arg>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit fa69108

Please sign in to comment.