Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,824 for exception (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

     */
    @Deprecated
    class FarthestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        FarthestConflictResolverTest() throws Exception {
            super("farthest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

     */
    @Deprecated
    class NearestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        NearestConflictResolverTest() throws Exception {
            super("nearest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

     */
    @Deprecated
    class OldestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        OldestConflictResolverTest() throws Exception {
            super("oldest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/SneakyThrows.java

       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 30 18:44:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

        class DuplicateDependencyFixesTests {
    
            @Test
            @DisplayName("should remove duplicate dependencies in dependencyManagement")
            void shouldRemoveDuplicateDependenciesInDependencyManagement() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.0.0">
                        <modelVersion>4.0.0</modelVersion>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = new HashMap<>();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = new HashMap<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

            List<PluginExecution> executions = plugin.getExecutions();
    
            PluginExecution execution = executions.get(0);
    
            String g0 = execution.getGoals().get(0);
    
            assertEquals("plexus:runtime", g0);
    
            configuration = execution.getDelegate().getConfiguration();
    
            assertEquals(
                    "ContinuumPro", configuration.child("plexusApplicationName").value());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

    class ComparableVersionIT {
    
        @Test
        void test() throws Exception {
            Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() {
                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top