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) -
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) org.codehaus.plexus.classworlds.realm.ClassRealm
Returns ClassLoader used to load extension classes.Returns artifacts exported by the extension, identified by groupId:artifactId string key.Returns classpath elements exported by the extension.
-
Constructor Details
-
CoreExtensionEntry
public CoreExtensionEntry(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Collection<String> artifacts, Collection<String> packages)
-
-
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. -
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)
-