About
Profiles bundle some TrueVFS modules so that you can easily use them as a single all-in-one dependency. Other than that, profiles do not provide additional functionality. For a complete list of the modules bundled in this profile, please refer to its Dependencies report.
Using this profile with Maven
When using Maven, you can simply declare a profile as a dependency in your POM as follows:
<dependency> <groupId>net.java.truevfs</groupId> <artifactId>truevfs-profile-base</artifactId> <version>0.12.0</version> <type>pom</type> </dependency>
Note that you should specify the dependency type as pom.
Excluding unwanted modules
This profile may bundle modules you do not want to use. You can exclude a module in your dependency declaration as follows:
<dependency> <groupId>net.java.truevfs</groupId> <artifactId>truevfs-profile-base</artifactId> <version>0.12.0</version> <type>pom</type> <exclusions> <exclusion> <groupId>net.java.truevfs</groupId> <artifactId>truevfs-driver-zip</artifactId> </exclusion> </exclusions> </dependency>
The previous example assumes you would want to exclude the TrueVFS Driver ZIP.
Using this profile without Maven
If you do not want to use Maven then you can directly download the all-in-one JAR of this profile from Maven Central. This all-in-one JAR contains all transitive dependencies, including third party JARs, e.g. for Apache Commons Compress et al. However, you cannot exclude any dependencies or change their version.