commit | 7c7126e132c9b0ed097ad553842699a83040752c | [log] [tgz] |
---|---|---|
author | Piotr P. Karwasz <piotr@github.copernik.eu> | Tue Apr 08 20:28:46 2025 +0200 |
committer | Piotr P. Karwasz <piotr@github.copernik.eu> | Tue Apr 08 20:47:08 2025 +0200 |
tree | 42cf0ac7eeaddeb21b5f896b72eafc9e9da76382 | |
parent | 2534dee2f0de51c210b67b3cbd1749de640c5ed0 [diff] |
VFS-859: Fix undeclared direct dependencies Undeclared direct dependencies that are also transitive dependencies of an **optional** direct dependency, end up being declared by Moditect using `requires <module>` instead of `requires static <module>`. This causes JPMS runtime errors, unless the optional dependency is present on the module path. To solve this and rationalize the dependency tree, this change: - Adds two verification rules that check for undeclared dependencies and useless exclusions. - Adds undeclared dependencies to the POM files. - Remove unused declared dependencies.
Apache Commons VFS is a Virtual File System library.
More information can be found on the Apache Commons VFS Project homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons VFS Project should be posted to the user mailing list.
You can download source and binaries from our download page.
Alternatively, you can pull it from the central Maven repositories:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-vfs2</artifactId> <version>2.10.0</version> </dependency>
Building requires a Java JDK and Apache Maven. The required Java version is found in the pom.xml
as the maven.compiler.source
property.
From a command shell, run mvn
without arguments to invoke the default Maven goal to run all tests and checks.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
mvn
.mvn
(by itself), this runs the default goal, which contains all build checks.mvn clean site -Dcommons.jacoco.haltOnFailure=false
If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.
This code is licensed under the Apache License v2.
See the NOTICE.txt
file for required notices and attributions.
You like Apache Commons VFS Project? Then donate back to the ASF to support development.
Please see the list of components