Maven Dependencies

Install Maven dependencies with Elide

Maven is the default ecosystem for elide install:

elide install

Declare coordinates in elide.pkl:

amends "elide:project.pkl"

dependencies {
  maven {
    packages {
      "com.google.guava:guava:33.4.8-jre"
    }
  }
}

For a project that has only pom.xml, select its directory explicitly:

elide install -p .

Installed artifacts use the standard Maven cache and are linked below the project’s .dev/dependencies/m2 directory. Elide also writes classpath files for compile, runtime, test, and annotation-processor use.

To run Maven goals themselves, use Native Maven via elide mvn.

Use Dependencies for install flags, npm selection, and filesystem layout. Use the elide.pkl Reference for the Maven dependency schema.