Class CoreExports

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

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

    • CoreExports

      public CoreExports(CoreExtensionEntry entry)
    • CoreExports

      public CoreExports(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Set<String> exportedArtifacts, Set<String> exportedPackages)
  • Method Details

    • getExportedArtifacts

      public Set<String> getExportedArtifacts()
      Returns artifacts exported by Maven core and core extensions. Artifacts are identified by their groupId:artifactId string key.
    • getExportedPackages

      public Map<String,ClassLoader> getExportedPackages()
      Returns packages exported by Maven core and core extensions.