Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for emit (4.15 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                assertTrue(deployedFile.exists());
                assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim());
            } finally {
                sessionScope.exit();
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
    
            assertThrows(IllegalStateException.class, () -> scope.exit());
        }
    
        @Test
        void testMultiKeyInstance() throws Exception {
            MojoExecutionScope scope = new MojoExecutionScope();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

        int TEST_ARTIFACT = 1;
    
        int PROCESS_CHILDREN = 2;
    
        int FINISH_PROCESSING_CHILDREN = 3;
    
        int INCLUDE_ARTIFACT = 4;
    
        int OMIT_FOR_NEARER = 5;
    
        int UPDATE_SCOPE = 6;
    
        @Deprecated
        int MANAGE_ARTIFACT = 7;
    
        int OMIT_FOR_CYCLE = 8;
    
        /**
         * this event means that the artifactScope has NOT been updated to a farther node artifactScope because current
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            return stack.getFirst();
        }
    
        public void exit() throws MojoExecutionException {
            final LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            stack.removeFirst();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

        }
    
        /**
         * Creates a string with all location details for the specified model problem. If the project identifier is
         * provided, the generated location will omit the model id and source information and only give line/column
         * information for problems originating directly from this POM.
         *
         * @param problem The problem whose location should be formatted, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            if (values.isEmpty()) {
                throw new OutOfScopeException("Cannot access session scope outside of a scoping block");
            }
            return values.get(0);
        }
    
        public void exit() {
            if (values.isEmpty()) {
                throw new IllegalStateException();
            }
            values.remove(0);
        }
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

                    for (MojoExecution forkedExecution : fork.getValue()) {
                        debugMojoExecution(forkedExecution);
                    }
    
                    logger.debug("--- exit fork of " + fork.getKey() + " for " + mojoExecId + " ---");
                }
            }
    
            logger.debug("-----------------------------------------------------------------------");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

                artifactInstaller.install(source, artifact, localRepository());
    
                assertLocalArtifactPresent(artifact);
            } finally {
                sessionScope.exit();
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                            "5.32",
                            "5.27"
                        });
    
                        try {
                            assertEquals(0, p.waitFor(), "Unexpected exit code");
                        } catch (InterruptedException e) {
                            throw new InterruptedIOException(e.toString());
                        }
                        return FileVisitResult.TERMINATE;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top