final class ManifestInfo extends Extension
Ordering
- Alphabetic
- By Inheritance
Inherited
- ManifestInfo
- Extension
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ManifestInfo(system: ExtendedActorSystem)
Value Members
- 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
istrue
it will throw anIllegalStateException
if the versions are not the same for all given artifacts.- returns
true
if versions are the same
- 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 anIllegalStateException
if the versions are not the same for all given artifacts.- returns
true
if versions are the same
- val system: ExtendedActorSystem
- val versions: Map[String, ManifestInfo.Version]
Versions of artifacts from known vendors.
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.