pomutil

POM

class POM extends AnyRef

Project metadata.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. POM
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new POM(parent: Option[POM], parentDep: Option[Dependency], file: Option[File], elem: Node)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def allModules: Seq[String]

    Returns all modules defined in the main POM and in all profiles.

  7. lazy val artifactId: String

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def attr(elem: Node, name: String): Option[String]

    Extracts the text of an attribute from the supplied element and substitutes properties.

  10. lazy val buildProps: Map[String, String]

    Build properties like sourceDirectory and other simple stuff.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. lazy val dependMgmt: Map[String, Dependency]

  13. lazy val depends: Seq[Dependency]

  14. lazy val description: Option[String]

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. val file: Option[File]

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getAttr(name: String): Option[String]

    Looks up a POM attribute, which may include properties defined in the POM as well as basic project attributes like project.version, etc.

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. lazy val groupId: String

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def id: String

    Returns an identifier that encompases the group, artifact and version.

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def isSnapshot: Boolean

    Returns true if this POM declares a snapshot artifact, false otherwise.

  26. lazy val modelVersion: String

  27. def modules(profileId: String): Seq[String]

    Returns all the modules in the specified profile.

  28. lazy val modules: Seq[String]

  29. lazy val name: Option[String]

  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. lazy val packaging: String

  34. val parent: Option[POM]

  35. val parentDep: Option[Dependency]

  36. lazy val profiles: Seq[Profile]

  37. lazy val properties: Map[String, String]

  38. def rootPOM: Option[File]

    Returns the file for the top-most POM in the multimodule project of which this POM is a part.

    Returns the file for the top-most POM in the multimodule project of which this POM is a part. This will return None if the POM was loaded from the .m2 repository. If this POM is not part of a multimodule project (but was not loaded from the .m2 repository), it will return itself as the top-most POM.

  39. val subProps: (String) ⇒ String

    A function that substitutes this POM's properties into the supplied text.

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toDependency(classifier: Option[String] = None, scope: String = Dependency.DefaultScope, optional: Boolean = false): Dependency

    Returns a dependency on the (optionally classified) artifact described by this POM.

  42. def toString(): String

    Definition Classes
    POM → AnyRef → Any
  43. def transitiveDepends(forTest: Boolean): Seq[Dependency]

    Computes this POM's transitive dependencies.

    Computes this POM's transitive dependencies. Exclusions are honored, and conflicts are resolved using the standard "distance from root POM" Maven semantics. Direct dependencies with scopes other than compile and test are included for this project, but not transitively, also per standard Maven semantics.

    If this POM is part of a multi-module project, sibling dependencies will be resolved via the POMs in sibling directories rather than via the .m2 repository. This differs from Maven, but is vastly more useful and I wish Maven did things this way.

    forTest

    whether to include test dependencies.

  44. lazy val url: Option[String]

  45. lazy val version: String

  46. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped