Skip to content

TrueVFS 0.12.0

Compare
Choose a tag to compare
@christian-schlichtherle christian-schlichtherle released this 19 Sep 18:32
· 113 commits to main since this release

This release has been cross-built with Scala 2.10, 2.11 and Scala 2.12. TrueVFS now generally runs on any combination of JRE 7 or 8 and Scala 2.10, 2.11 or 2.12 except for Scala 2.12, which requires JRE 8.

As a result, artifact IDs for the modules which depend on the Scala library have been changed to include the Scala binary version. For example, the previous artifact ID truevfs-kernel-impl is now named truevfs-kernel-impl_2.10, truevfs-kernel-impl_2.11 or truevfs-kernel-impl_2.12, depending on which binary version of the Scala Library you want to use in your project.

To support this, the TrueVFS Archetype modules now have an additional parameter named scala-compat-version to indicate the Scala binary version (alias Scala compatibility version). For example, the following command will generate a demo project from the TrueVFS Archetype Access using Scala 2.11.11:

mvn archetype:generate -B \
    -DarchetypeGroupId=net.java.truevfs \
    -DarchetypeArtifactId=truevfs-archetype-access \
    -DarchetypeVersion=0.12.0 \
    -DgroupId=com.company \
    -DartifactId=truevfs-access-demo \
    -Dversion=0.1-SNAPSHOT \
    -Dpackage=com.company.project \
    -Dscala-version=2.11.11 \
    -Dscala-compat-version=2.11

The default values for the scala-*version properties are 2.12.3 and 2.12.