mill.javalib.publish

Members list

Type members

Classlikes

case class Artifact(group: String, id: String, version: String)

Attributes

Companion
object
Source
model.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Artifact

Attributes

Companion
class
Source
model.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Artifact.type
case class Dependency(artifact: Artifact, scope: Scope, optional: Boolean, configuration: Option[String], exclusions: Seq[(String, String)])

Attributes

Source
model.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Developer(id: String, name: String, url: String, organization: Option[String], organizationUrl: Option[String])

Attributes

Source
model.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Ivy

Logic around rendering ivy.xml files

Logic around rendering ivy.xml files

Attributes

Source
Ivy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Ivy.type

Attributes

Companion
object
Source
JsonFormatters.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
JsonFormatters.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class License(id: String, name: String, url: String, isOsiApproved: Boolean, isFsfLibre: Boolean, distribution: String)

Models an open source software license. Most common licenses are provided in the companion object, e.g. License.MIT, License.Apache-2.0, etc.

Models an open source software license. Most common licenses are provided in the companion object, e.g. License.MIT, License.Apache-2.0, etc.

Attributes

Companion
object
Source
Licence.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object License

Attributes

Companion
class
Source
Licence.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
License.type
class LocalIvyPublisher(localIvyRepo: Path)

Logic to publish modules to your ~/.ivy2/local repository

Logic to publish modules to your ~/.ivy2/local repository

Attributes

Companion
object
Source
LocalIvyPublisher.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
class
Source
LocalIvyPublisher.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class LocalM2Publisher(m2Repo: Path)

Logic to publish modules to your ~/.m2 repository

Logic to publish modules to your ~/.m2 repository

Attributes

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

Attributes

Companion
class
Source
LocalM2Publisher.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object PackagingType

Attributes

Source
model.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Pom

Rendering logic for pom.xml files

Rendering logic for pom.xml files

Attributes

Source
Pom.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Pom.type
case class PomSettings(description: String, organization: String, url: String, licenses: Seq[License], versionControl: VersionControl, developers: Seq[Developer], packaging: String)

Attributes

Source
model.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PublishInfo(file: PathRef, classifier: Option[String], ext: String, ivyConfig: String, ivyType: String)

An extra resource artifact to publish.

An extra resource artifact to publish.

Value parameters

classifier

An Optional classifier to be used when publishing the file

ext

The extension that will be used publishing the file to the ivy repo

file

The artifact file

ivyConfig

see PublishInfo.IvyMetadata.config

ivyType

see PublishInfo.IvyMetadata.type

Attributes

Companion
object
Source
PublishInfo.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PublishInfo

Attributes

Companion
class
Source
PublishInfo.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Scope

Attributes

Companion
object
Source
model.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Compile
object Import
object Provided
object Runtime
object Test
object Scope

Attributes

Companion
trait
Source
model.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Scope.type

Attributes

Source
SonatypeHelpers.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class SonatypeHttpApi(uri: String, credentials: String, readTimeout: Int, connectTimeout: Int)

Attributes

Source
SonatypeHttpApi.scala
Supertypes
class Object
trait Matchable
class Any
case class VersionControl(browsableRepository: Option[String], connection: Option[String], developerConnection: Option[String], tag: Option[String])

https://maven.apache.org/pom.html#SCM

Value parameters

browsableRepository:

a publicly browsable repository (example: https://github.com/lihaoyi/mill)

connection:

read-only connection to repository (example: scm:git:git://github.com/lihaoyi/mill.git)

developerConnection:

read-write connection to repository (example: scm:git:git@github.com:lihaoyi/mill.git)

tag:

tag that was created for this release. This is useful for git and mercurial since it's not possible to include the tag in the connection url. (example: v2.12.4, HEAD, my-branch, fd8a2567ad32c11bcf8adbaca85bdba72bb4f935, ...)

Attributes

Companion
object
Source
VersionControl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
VersionControl.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Source
VersionControl.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class VersionScheme(val value: String)

Attributes

Companion
object
Source
VersionScheme.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EarlySemVer
object PVP
object SemVerSpec
object Strict
object VersionScheme

Attributes

Companion
class
Source
VersionScheme.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Deprecated classlikes

class SonatypePublisher(uri: String, snapshotUri: String, credentials: String, signed: Boolean, gpgArgs: GpgArgs, readTimeout: Int, connectTimeout: Int, log: Logger, workspace: Path, env: Map[String, String], awaitTimeout: Int, stagingRelease: Boolean)

The publisher for the end-of-life OSSRH Sonatype publishing.

The publisher for the end-of-life OSSRH Sonatype publishing.

You should migrate to mill.javalib.SonatypeCentralPublisher instead.

Attributes

See also
Deprecated
[Since version 1.0.0] Use `mill.javalib.SonatypeCentralPublisher` instead
Source
SonatypePublisher.scala
Supertypes
class Object
trait Matchable
class Any

Implicits

Inherited implicits

implicit lazy val artifactFormat: ReadWriter[Artifact]

Attributes

Inherited from:
JsonFormatters
Source
JsonFormatters.scala
implicit lazy val developerFormat: ReadWriter[Developer]

Attributes

Inherited from:
JsonFormatters
Source
JsonFormatters.scala
implicit lazy val licenseFormat: ReadWriter[License]

Attributes

Inherited from:
JsonFormatters
Source
JsonFormatters.scala
implicit lazy val pomSettingsFormat: ReadWriter[PomSettings]

Attributes

Inherited from:
JsonFormatters
Source
JsonFormatters.scala
implicit lazy val versionControlFormat: ReadWriter[VersionControl]

Attributes

Inherited from:
JsonFormatters
Source
JsonFormatters.scala