final case class Module(organization: Organization, name: ModuleName, version: String, snapshotVersioning: Option[String], files: DirContent) extends Group with Product with Serializable
Subset of a FileSet corresponding to a particular module.
That is to the files of a particular - published - version of a given module.
- Alphabetic
- By Inheritance
- Module
- Group
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Module(organization: Organization, name: ModuleName, version: String, snapshotVersioning: Option[String], files: DirContent)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addMavenMetadata(now: Instant): Module
Adds a maven-metadata.xml file to this module if it doesn't have one already.
- def addSnapshotVersioning(now: Instant, ignoreExtensions: Set[String]): Module
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def baseDir: Seq[String]
- def clearSnapshotVersioning: Module
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def dependenciesOpt: Seq[core.Module]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fileSet: FileSet
- val files: DirContent
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mavenMetadataContentOpt: Option[Content]
- def module: core.Module
- val name: ModuleName
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def ordered: Module
Ensure the files of this Group are ordered (POMs last for Group.Module, etc.)
Ensure the files of this Group are ordered (POMs last for Group.Module, etc.)
- val organization: Organization
- def pomOpt: Option[(String, Content)]
The POM file of this Module, if any.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def removeMavenMetadata: Module
- val snapshotVersioning: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def transform(map: Map[(Organization, ModuleName), (Organization, ModuleName)], now: Instant): Module
Changes any reference to the first coordinates to the second ones.
- def transformPom(now: Instant)(f: (Elem) => Elem): Module
- def transformVersion(map: Map[(Organization, ModuleName), (String, String)], now: Instant): Module
- def updateMavenMetadata(now: Instant): Module
Updates the maven-metadata.xml file of this Module, so that it contains the same org / name.
- def updateMetadata(org: Option[Organization], name: Option[ModuleName], version: Option[String], licenses: Option[Seq[License]], developers: Option[Seq[Developer]], homePage: Option[String], gitDomainPath: Option[(String, String)], distMgmtRepo: Option[(String, String, String)], now: Instant): Module
Adjust the organization / name / version.
Adjust the organization / name / version.
Possibly changing those in POM or maven-metadata.xml files.
- def updatePom(now: Instant, licenses: Option[Seq[License]], developers: Option[Seq[Developer]], homePage: Option[String], gitDomainPath: Option[(String, String)], distMgmtRepo: Option[(String, String, String)]): Module
Adjust the POM of this Module, so that it contains the same org / name / version as this Module.
Adjust the POM of this Module, so that it contains the same org / name / version as this Module.
Calling this method, or running its Task, doesn't write anything on disk. The new POM stays in memory (via Content.InMemory). The returned Module only lives in memory. The only effect here is possibly reading stuff on disk.
- val version: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated