Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for CoreExtensionEntry (0.29 sec)

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

     * Maven core itself or a Maven core extension.
     *
     * @since 3.3.0
     */
    public class CoreExtensionEntry {
        private final ClassRealm realm;
    
        private final Set<String> artifacts;
    
        private final Set<String> packages;
    
        private final String key;
    
        private final XmlNode configuration;
    
        public CoreExtensionEntry(
                ClassRealm realm,
                Collection<String> artifacts,
    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

            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)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

    public class ExtensionConfigurationModule implements Module {
    
        private final CoreExtensionEntry extension;
        private final Function<String, String> callback;
        private final DefaultInterpolator interpolator = new DefaultInterpolator();
    
        public ExtensionConfigurationModule(CoreExtensionEntry extension, Function<String, String> callback) {
            this.extension = extension;
            this.callback = callback;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            }
        }
    
        private List<CoreExtensionEntry> resolveCoreExtensions(
                RepositorySystemSession repoSession,
                List<RemoteRepository> repositories,
                Set<String> providedArtifacts,
                List<CoreExtension> configuration,
                Function<String, String> interpolator)
                throws Exception {
            List<CoreExtensionEntry> extensions = new ArrayList<>();
    
    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. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExportsProvider.java

    @Singleton
    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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. 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)
  7. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

     *
     * @since 3.3.0
     */
    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)
Back to top