Package akka.util

Class ManifestInfo

  • All Implemented Interfaces:

    public final class ManifestInfo
    extends java.lang.Object
    implements 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.
    • Method Detail

      • versions

        public scala.collection.immutable.Map<java.lang.String,​ManifestInfo.Version> versions()
        Versions of artifacts from known vendors.
      • checkSameVersion

        public boolean checkSameVersion​(java.lang.String productName,
                                        scala.collection.immutable.Seq<java.lang.String> dependencies,
                                        boolean logWarning)
        Verify that the version is the same for all given artifacts.
        productName - (undocumented)
        dependencies - (undocumented)
        logWarning - (undocumented)