Class CoreExtensionEntry

java.lang.Object
org.apache.maven.extension.internal.CoreExtensionEntry

public class CoreExtensionEntry extends Object
Provides information about artifacts (identified by groupId:artifactId string key) and classpath elements exported by Maven core itself or a Maven core extension.
Since:
3.3.0
  • Constructor Details

  • Method Details

    • getClassRealm

      public org.codehaus.plexus.classworlds.realm.ClassRealm getClassRealm()
      Returns ClassLoader used to load extension classes.
    • getExportedArtifacts

      public Set<String> getExportedArtifacts()
      Returns artifacts exported by the extension, identified by groupId:artifactId string key.
    • getExportedPackages

      public Set<String> getExportedPackages()
      Returns classpath elements exported by the extension.
    • getKey

      public String getKey()
      The key that can must used to identify the configuration using the Named annotation.
    • getConfiguration

      public XmlNode getConfiguration()
      Returns the configuration for this extension.
    • discoverFrom

      public static CoreExtensionEntry discoverFrom(org.codehaus.plexus.classworlds.realm.ClassRealm loader)
    • discoverFrom

      public static CoreExtensionEntry discoverFrom(org.codehaus.plexus.classworlds.realm.ClassRealm loader, Collection<File> classpath, String key, XmlNode configuration)