Skip to content
Snippets Groups Projects
Commit 230ab9d9 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Added Maven profile for supporting Java 9+

parent 2c6d3d2c
No related branches found
No related tags found
No related merge requests found
Pipeline #1082 failed
......@@ -22,19 +22,6 @@ See also the [CHANGELOG](CHANGELOG.md).
* **embedded**: build embedded package (to be run _locally!_)
* **installer**: build install script (produce self-extracting install.sh script)
### WARNING: Java 8 is required
Currently TASMAN needs Java 8, higher versions are not working.
If your default Java installation is a higher version you have to set the `JAVA_HOME` variable while running the build.sh script.
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 ./build.sh installer
In the same way you have to explicitly configure the Java binary to use in the `/opt/tasman/tasman` file:
#!/bin/bash
/usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar /opt/tasman/tasman-embedded.jar $1
## Supported application servers
The web app has been tested with:
......
......@@ -37,6 +37,25 @@
</dependencies>
<profiles>
<profile>
<id>jdk9+</id>
<activation>
<jdk>[9,</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>test</id>
<properties>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment