Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for discoverFrom (0.2 sec)

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

        public XmlNode getConfiguration() {
            return configuration;
        }
    
        private static final ExtensionDescriptorBuilder BUILDER = new ExtensionDescriptorBuilder();
    
        public static CoreExtensionEntry discoverFrom(ClassRealm loader) {
            Set<String> artifacts = new LinkedHashSet<>();
            Set<String> packages = new LinkedHashSet<>();
    
            try {
    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-core/src/main/java/org/apache/maven/extension/internal/CoreExportsProvider.java

    public class CoreExportsProvider implements Provider<CoreExports> {
    
        private final CoreExports exports;
    
        @Inject
        public CoreExportsProvider(CoreRealm coreRealm) {
            this(new CoreExports(CoreExtensionEntry.discoverFrom(coreRealm.getRealm())));
        }
    
        public CoreExportsProvider(CoreExports exports) {
            this.exports = Objects.requireNonNull(exports);
        }
    
        public CoreExports get() {
            return exports;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            ClassRealm coreRealm = classWorld.getClassRealm("plexus.core");
            List<Path> extClassPath = parseExtClasspath(context);
            CoreExtensionEntry coreEntry = CoreExtensionEntry.discoverFrom(coreRealm);
            List<CoreExtensionEntry> extensions = loadCoreExtensions(context, coreRealm, coreEntry.getExportedArtifacts());
            ClassRealm containerRealm =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    log.debug("  Included {} located at {}", id, file);
                    realm.addURL(file.toURI().toURL());
                }
            }
            return CoreExtensionEntry.discoverFrom(
                    realm,
                    Collections.singleton(artifacts.get(0).getFile()),
                    extension.getGroupId() + ":" + extension.getArtifactId(),
                    extension.getConfiguration());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                coreRealm = cliRequest.classWorld.getRealms().iterator().next();
            }
    
            List<File> extClassPath = parseExtClasspath(cliRequest);
    
            CoreExtensionEntry coreEntry = CoreExtensionEntry.discoverFrom(coreRealm);
            List<CoreExtensionEntry> extensions =
                    loadCoreExtensions(cliRequest, coreRealm, coreEntry.getExportedArtifacts());
    
    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