Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getExportedArtifacts (0.12 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

        public ClassRealm getClassRealm() {
            return realm;
        }
    
        /**
         * Returns artifacts exported by the extension, identified by groupId:artifactId string key.
         */
        public Set<String> getExportedArtifacts() {
            return artifacts;
        }
    
        /**
         * Returns classpath elements exported by the extension.
         */
        public Set<String> getExportedPackages() {
            return packages;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                CoreExtensionEntry coreEntry, List<CoreExtensionEntry> extensionEntries) {
            Set<String> exportedArtifacts = new HashSet<>(coreEntry.getExportedArtifacts());
            for (CoreExtensionEntry extension : extensionEntries) {
                exportedArtifacts.addAll(extension.getExportedArtifacts());
            }
            return exportedArtifacts;
        }
    
        protected Set<String> collectExportedPackages(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

    public class CoreExports {
        private final Set<String> artifacts;
    
        private final Map<String, ClassLoader> packages;
    
        public CoreExports(CoreExtensionEntry entry) {
            this(entry.getClassRealm(), entry.getExportedArtifacts(), entry.getExportedPackages());
        }
    
        public CoreExports(ClassRealm realm, Set<String> exportedArtifacts, Set<String> exportedPackages) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java

        @Inject
        public DefaultArtifactFilterManager(List<ArtifactFilterManagerDelegate> delegates, CoreExports coreExports) {
            this.delegates = delegates;
            this.coreArtifacts = coreExports.getExportedArtifacts();
        }
    
        private synchronized Set<String> getExcludedArtifacts() {
            if (excludedArtifacts == null) {
                excludedArtifacts = new LinkedHashSet<>(coreArtifacts);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
                coreExports.getExportedPackages().forEach((p, cl) -> realm.importFrom(cl, p));
                providedArtifacts = coreExports.getExportedArtifacts();
            } else if (STRATEGY_SELF_FIRST.equals(classLoadingStrategy)) {
                realm.setParentRealm(parentRealm);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            apiV4Imports.put("org.slf4j", containerRealm);
            this.maven4ApiRealm = createRealm(API_V4_REALMID, RealmType.Core, null, null, apiV4Imports, null);
    
            this.providedArtifacts = exports.getExportedArtifacts();
    
            this.providedArtifactsV4 = providedArtifacts.stream()
                    .filter(ga -> ga.startsWith("org.apache.maven:maven-api-"))
                    .collect(Collectors.toSet());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    .setName("maven");
    
            Set<String> exportedArtifacts = new HashSet<>(coreEntry.getExportedArtifacts());
            Set<String> exportedPackages = new HashSet<>(coreEntry.getExportedPackages());
            for (CoreExtensionEntry extension : extensions) {
                exportedArtifacts.addAll(extension.getExportedArtifacts());
                exportedPackages.addAll(extension.getExportedPackages());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top