Class 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 Detail

      • CoreExports

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

      • 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.