LocalM2Publisher

mill.javalib.publish.LocalM2Publisher
See theLocalM2Publisher companion object
class LocalM2Publisher(m2Repo: Path)

Logic to publish modules to your ~/.m2 repository

Attributes

Companion
object
Source
LocalM2Publisher.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def publish(pom: Path, artifact: Artifact, publishInfos: Seq[PublishInfo])(implicit ctx: Log): Seq[Path]

Publishes a module in the local Maven repository

Publishes a module in the local Maven repository

Value parameters

artifact

Coordinates of this module

pom

The POM of this module

publishInfos

Files to publish in this module

Attributes

Source
LocalM2Publisher.scala
def publish(artifact: Artifact, contents: Map[SubPath, Writable])(implicit ctx: Log): Seq[Path]

Publishes a module in the local Maven repository

Publishes a module in the local Maven repository

Value parameters

artifact

Coordinates of this module

contents

Files to publish, create with LocalM2Publisher.createFileSetContents.

Attributes

Source
LocalM2Publisher.scala