Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for runnable (0.16 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            public Thread newThread(Runnable r) {
                Thread newThread = new Thread(GROUP, r, "resolver-" + THREAD_NUMBER.getAndIncrement());
                newThread.setDaemon(true);
                newThread.setContextClassLoader(null);
                return newThread;
            }
        }
    
        private class ResolveTask implements Runnable {
    
            private final ClassLoader classLoader;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

        private final PrintStream originalSystemOUtStream;
    
        private final ConsolePrinter printer;
    
        /**
         * A simple but safe solution for printing to the console.
         */
        class ConsolePrinter implements Runnable {
            private volatile boolean running;
    
            private final ProjectBuildList projectBuildList;
    
            ConsolePrinter(ProjectBuildList projectBuildList) {
                this.projectBuildList = projectBuildList;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            final MavenProject project = mavenProject;
            final AtomicInteger artifactsResultInAnotherThread = new AtomicInteger();
            Thread t = new Thread(new Runnable() {
                @Override
                public void run() {
                    artifactsResultInAnotherThread.set(project.getArtifacts().size());
                }
            });
            t.start();
            t.join();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        Key.of(mojoDescriptor.getImplementationClass(), mojoDescriptor.getRoleHint())));
    
            } catch (Exception e) {
                throw new PluginContainerException(mojoDescriptor, pluginRealm, "Unable to lookup Mojo", e);
            }
    
            XmlNode dom = mojoExecution.getConfiguration() != null
                    ? mojoExecution.getConfiguration().getDom()
                    : null;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                                throw new ArtifactResolutionException(
                                                        "Unable to get dependency information: " + e.getMessage(),
                                                        resetArtifact,
                                                        request.getRemoteRepositories(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            e = assertInstanceOf(IntrospectionException.class, e.getCause());
            e = assertInstanceOf(IllegalStateException.class, e.getCause());
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        void testRootDirectory() throws Exception {
            this.rootDirectory = Paths.get("myRootDirectory");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                        throw new MavenException("Unable to locate instance of type " + type, e);
                    }
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    try {
                        return injector.getInstance(Key.of(type, name));
                    } catch (DIException e) {
                        throw new MavenException("Unable to locate instance of type " + type, e);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            e = assertInstanceOf(IntrospectionException.class, e.getCause());
            e = assertInstanceOf(IllegalStateException.class, e.getCause());
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        void testRootDirectory() throws Exception {
            this.rootDirectory = Paths.get("myRootDirectory");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    logger.debug(
                            "Unable to find artifact " + artifact.getId() + " in repository " + repository.getId() + " ("
                                    + repository.getUrl() + ")",
                            e);
    
                } catch (TransferFailedException e) {
                    tfe = e;
    
                    String msg = "Unable to get artifact " + artifact.getId() + " from repository " + repository.getId()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return multiModuleProjectDirectory;
        }
    
        @Override
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        @Override
        public MavenExecutionRequest setRootDirectory(Path rootDirectory) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 31K bytes
    - Viewed (0)
Back to top