Class CoreExtensionEntry
java.lang.Object
org.apache.maven.extension.internal.CoreExtensionEntry
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 Summary
ConstructorDescriptionCoreExtensionEntry
(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Collection<String> artifacts, Collection<String> packages, String key, XmlNode configuration) -
Method Summary
Modifier and TypeMethodDescriptionstatic CoreExtensionEntry
discoverFrom
(org.codehaus.plexus.classworlds.realm.ClassRealm loader) static CoreExtensionEntry
discoverFrom
(org.codehaus.plexus.classworlds.realm.ClassRealm loader, Collection<File> classpath, String key, XmlNode configuration) org.codehaus.plexus.classworlds.realm.ClassRealm
Returns ClassLoader used to load extension classes.Returns the configuration for this extension.Returns artifacts exported by the extension, identified by groupId:artifactId string key.Returns classpath elements exported by the extension.getKey()
The key that can must used to identify the configuration using theNamed
annotation.
-
Constructor Details
-
CoreExtensionEntry
public CoreExtensionEntry(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Collection<String> artifacts, Collection<String> packages, String key, XmlNode configuration)
-
-
Method Details
-
getClassRealm
public org.codehaus.plexus.classworlds.realm.ClassRealm getClassRealm()Returns ClassLoader used to load extension classes. -
getExportedArtifacts
Returns artifacts exported by the extension, identified by groupId:artifactId string key. -
getExportedPackages
Returns classpath elements exported by the extension. -
getKey
The key that can must used to identify the configuration using theNamed
annotation. -
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)
-