Class 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.
  • Constructor Details

    • CoreExtensionEntry

      public CoreExtensionEntry(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Collection<String> artifacts, Collection<String> packages, String key, org.apache.maven.api.xml.XmlNode configuration)
  • 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 org.apache.maven.api.xml.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, org.apache.maven.api.xml.XmlNode configuration)