ManifestInfo

org.apache.pekko.util.ManifestInfo
See theManifestInfo companion object
final class ManifestInfo(val system: ExtendedActorSystem) 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.

Attributes

Companion
object
Source
ManifestInfo.scala
Graph
Supertypes
trait Extension
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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 pekko.fail-mixed-versions=on it will throw an IllegalStateException if the versions are not the same for all given artifacts.

Attributes

Returns

true if versions are the same

Source
ManifestInfo.scala
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.

Attributes

Returns

true if versions are the same

Source
ManifestInfo.scala

Concrete fields

Versions of artifacts from known vendors.

Versions of artifacts from known vendors.

Attributes

Source
ManifestInfo.scala