Interface Dependency

All Superinterfaces:
Artifact

public interface Dependency extends Artifact

The Artifact representing a Project dependency.

A proper implementation must provide dependency information like group, name and version as the path to the JAR archive that will be used when building project runtime and packaging project application.

A project dependency is basically a JAR containing a Java module with a proper module descriptor, an automatic module with a Automatic-Module-Name entry defined in its MANIFEST.MF or an unnamed module. The two latter are modularized by the ModularizeDependenciesTask task in order to run the project, build project runtime or package project application.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the path to the dependency JAR.

    Methods inherited from interface io.inverno.tool.buildtools.Artifact

    getGroup, getName, getVersion
  • Method Details

    • getJarPath

      Path getJarPath()

      Returns the path to the dependency JAR.

      Returns:
      the path to the dependency JAR