final class ManifestInfo extends Extension

Utility that extracts ManifestInfo#Version information from META-INF/MANIFEST.MF in jar files on the classpath. Note that versions can only be found in ordinary jar files, for example not in "fat jars' assembled from many jar files.

Source
ManifestInfo.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManifestInfo
  2. Extension
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ManifestInfo(system: ExtendedActorSystem)

Value Members

  1. def checkSameVersion(productName: String, dependencies: Seq[String], logWarning: Boolean, throwException: Boolean): Boolean

    Verify that the version is the same for all given artifacts.

    Verify that the version is the same for all given artifacts.

    If throwException is true it will throw an IllegalStateException if the versions are not the same for all given artifacts.

    returns

    true if versions are the same

  2. def checkSameVersion(productName: String, dependencies: Seq[String], logWarning: Boolean): Boolean

    Verify that the version is the same for all given artifacts.

    Verify that the version is the same for all given artifacts.

    If configuration akka.fail-mixed-versions=on it will throw an IllegalStateException if the versions are not the same for all given artifacts.

    returns

    true if versions are the same

  3. val system: ExtendedActorSystem
  4. val versions: Map[String, ManifestInfo.Version]

    Versions of artifacts from known vendors.