Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 171 for errorea (0.18 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        /**
         * The different severity levels for a problem, in decreasing order.
         *
         * @since 4.0.0
         */
        @Experimental
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            List<Toolchain> toolchains = toolchainManager.getToolchains(session, "unknown", null);
    
            assertEquals(0, toolchains.size());
            verify(logger).error("Missing toolchain factory for type: unknown. Possibly caused by misconfigured project.");
        }
    
        @Test
        void testModelAndFactory() {
            MavenSession session = mock(MavenSession.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            IOException ioEx = new IOException("Unable to establish loopback connection", connEx);
            MojoExecutionException mojoEx =
                    new MojoExecutionException("Error executing Jetty: Unable to establish loopback connection", ioEx);
    
            ExceptionHandler exceptionHandler = new DefaultExceptionHandler();
            ExceptionSummary exceptionSummary = exceptionHandler.handleException(mojoEx);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
            List<Dependency> dependencies = model.getDependencies();
            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            }
    
            String version = context.getSystemProperties().get("java.version");
    
            if (version == null || version.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "Failed to determine Java version for profile " + profile.getId(),
                        activation.getLocation("jdk"));
                return false;
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                plugin.setArtifactId(tok[1]);
                plugin.setVersion(tok[2]);
                goal = tok[3];
    
                // This won't be valid, but it constructs something easy to read in the error message
                for (int idx = 4; idx < tok.length; idx++) {
                    goal += ":" + tok[idx];
                }
            } else if (numTokens == 3) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *
         * @param path directory or JAR file to test
         * @param resolve whether the module names are requested. If false, null values may be used instead
         * @throws IOException if an error occurred while reading the JAR file or the module descriptor
         */
        PathModularization(Path path, boolean resolve) throws IOException {
            if (Files.isDirectory(path)) {
                /*
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                        try {
                            c = interpolator.interpolate(value, recursionInterceptor);
                        } catch (InterpolationException e) {
                            problems.add(BuilderProblem.Severity.ERROR, ModelProblem.Version.BASE, e.getMessage(), e);
                        }
                        cache.put(value, c);
                    }
                    return c;
                }
                return value;
            };
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    public abstract void info(String, Throwable); public abstract boolean isInfoEnabled(); public abstract void warn(String); public abstract void warn(String, Throwable); public abstract boolean isWarnEnabled(); public abstract void error(String); public abstract void error(String, Throwable); public abstract boolean isErrorEnabled(); public abstract void fatalError(String); public abstract void fatalError(String, Throwable); public abstract boolean isFatalErrorEnabled(); public abstract Logger getChildLogger(String);...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 233.3K bytes
    - Viewed (0)
Back to top