Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ClassWorld (0.09 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenCling(world).run(args);
        }
    
        public MavenCling() {
            super();
        }
    
        public MavenCling(ClassWorld classWorld) {
            super(classWorld);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

        /**
         * Ctor that creates "managed" ClassWorld. This constructor is not used in "normal" circumstances.
         */
        public ClingSupport() {
            this(new ClassWorld(CORE_CLASS_REALM_ID, Thread.currentThread().getContextClassLoader()), true);
        }
    
        /**
         * Ctor to be used when running in ClassWorlds Launcher.
         */
        public ClingSupport(ClassWorld classWorld) {
            this(classWorld, false);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

        CliRequest(String[] args, ClassWorld classWorld) {
            this.args = args;
            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
        public ClassWorld getClassWorld() {
            return classWorld;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenEncCling(world).run(args);
        }
    
        public MavenEncCling() {
            super();
        }
    
        public MavenEncCling(ClassWorld classWorld) {
            super(classWorld);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            }
        }
    
        protected PlexusContainer container(C context) throws Exception {
            ClassWorld classWorld = context.protoLookup.lookup(ClassWorld.class);
            ClassRealm coreRealm = classWorld.getClassRealm("plexus.core");
            List<Path> extClassPath = parseExtClasspath(context);
            CoreExtensionEntry coreEntry = CoreExtensionEntry.discoverFrom(coreRealm);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultResidentMavenInvoker(ProtoLookup.builder()
                    .addMapping(ClassWorld.class, new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader()))
                    .build());
        }
    
        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java

         *
         * @return the class realm of core.
         */
        @Nonnull
        ClassRealm getRealm();
    
        /**
         * Shorthand method to obtain the {@link ClassWorld} used for Maven Core.
         *
         * @return the class world in use.
         */
        @Nonnull
        default ClassWorld getClassWorld() {
            return getRealm().getWorld();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultLocalMavenInvoker(ProtoLookup.builder()
                    .addMapping(ClassWorld.class, new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader()))
                    .build());
        }
    
        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

        private final RepositorySystemSessionFactory repositorySystemSessionFactory;
    
        private final CoreExports coreExports;
    
        private final ClassWorld classWorld;
    
        private final ClassRealm parentRealm;
    
        private final WorkspaceReader ideWorkspaceReader;
    
        private final RepositorySystem repoSystem;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        public MavenCli(ClassWorld classWorld) {
            this.classWorld = classWorld;
            this.messageBuilderFactory = new JLineMessageBuilderFactory();
        }
    
        public static void main(String[] args) {
            int result = main(args, null);
    
            System.exit(result);
        }
    
        public static int main(String[] args, ClassWorld classWorld) {
            MavenCli cli = new MavenCli();
    
    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