sbt.internal.librarymanagement.mavenint

Type members

Classlikes

This class contains all the logic for dealing with the extra attributes in pom files relating to extra attributes on dependency declarations.

This class contains all the logic for dealing with the extra attributes in pom files relating to extra attributes on dependency declarations.

Specifically, if we have a dependency on an sbt plugin, there are two properties that need to propogate:

  • sbtVersion
  • scalaVersion

These need to exist on the dependency declaration. Maven/Aether has no way to inject these into the section of pom files, so we use Ivy's Extra attribute hackery to inject a lookup table of extra attributes by dependency id into POM files and later we read these back.