Maven support in FOSSA CLI depends on the following tools existing in your environment:
- Java (defaults to
java, configure with
- Maven (defaults to
mvn, configure with
mvn:dependencyListplugin (supported by the official Maven team; auto-installed by Maven if missing)
mvn module with the path to the
.fossa.yml in your project.
analyze: modules: - name: your-mvn-project path: pom.xml type: mvn
Builds are run using
mvn install -DskipTests -Drat.skip=true. If
--force is set, the build command also runs
mvn clean before running the build.
Analysis parses the output of