Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Revoke (0.05 sec)

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

                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/"), Arrays.asList("clean", "verify"));
            }
        }
    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. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/"), Arrays.asList("clean", "verify"));
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public abstract class MavenInvokerTestSupport<O extends MavenOptions, R extends MavenInvokerRequest<O>> {
    
        protected void invoke(Path cwd, Collection<String> goals) throws Exception {
            // works only in recent Maven4
            Assumptions.assumeTrue(
                    Files.isRegularFile(Paths.get(System.getProperty("maven.home"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

                            && List.class.equals(prop.getReadMethod().getDeclaringClass())) {
                        continue;
                    }
                    Object p1 = prop.getReadMethod().invoke(m1);
                    Object p2 = prop.getReadMethod().invoke(m2);
                    if (!equalsDeep(p1, p2)) {
                        return false;
                    }
                }
                return true;
            } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

            return new DefaultForkedMavenParser();
        }
    
        @Test
        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

        }
    
        /**
         * The main entry point.
         */
        public int run(String[] args) throws IOException {
            try (Invoker<R> invoker = createInvoker()) {
                return invoker.invoke(parseArguments(args));
            } catch (ParserException e) {
                System.err.println(e.getMessage());
                return 1;
            } catch (InvokerException e) {
                return 1;
            } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                onConnectListenerList.forEach(l -> {
                    try {
                        l.onConnect();
                    } catch (final Exception e) {
                        logger.warn("Failed to invoke " + l, e);
                    }
                });
    
                connected = true;
            } else {
                logger.warn("Could not connect to {}", address);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

    /**
     * Forked invoker implementation, it spawns a subprocess with Maven.
     */
    public class DefaultForkedMavenInvoker implements ForkedMavenInvoker {
        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
            validate(invokerRequest);
    
            ArrayList<String> cmdAndArguments = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                for (String prefix : Arrays.asList("get", "is", "to", "as")) {
                    Method method = classMap.findMethod(prefix + methodBase);
                    if (method != null) {
                        return method.invoke(value, OBJECT_ARGS);
                    }
                }
                return null;
            } catch (InvocationTargetException e) {
                throw new IntrospectionException(e.getTargetException());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top