Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 148 for error (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

         * so.
         *
         * @param rootProject The root project that is being built.
         * @param buildResumptionData Information needed to resume the build.
         * @throws BuildResumptionPersistenceException When an error occurs while persisting data.
         */
        void persistResumptionData(MavenProject rootProject, BuildResumptionData buildResumptionData)
                throws BuildResumptionPersistenceException;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
            }
    
            if ("i".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingResult.java

         *
         * @return The POM file or {@code null} if unknown.
         */
        File getPomFile();
    
        /**
         * Gets the project that was built.
         *
         * @return The project that was built or {@code null} if an error occurred and this result accompanies a
         *         {@link ProjectBuildingException}.
         */
        MavenProject getProject();
    
        /**
         * Gets the problems that were encountered during the project building.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                for (ClassRealmManagerDelegate delegate : delegates) {
                    try {
                        delegate.setupRealm(classRealm, request);
                    } catch (Exception e) {
                        logger.error(
                                delegate.getClass().getName() + " failed to setup class realm " + classRealm + ": "
                                        + e.getMessage(),
                                e);
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

         * @param message The message describing the problem, may be {@code null}.
         * @param severity The severity level of the problem, may be {@code null} to default to
         *            {@link org.apache.maven.building.Problem.Severity#ERROR}.
         * @param source A hint about the source of the problem like a file path, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the problem or {@code -1} if unknown.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java

            List<Toolchain> toolchains = new ArrayList<>();
    
            if (models != null) {
                ToolchainFactory fact = factories.get(type);
    
                if (fact == null) {
                    logger.error(
                            "Missing toolchain factory for type: " + type + ". Possibly caused by misconfigured project.");
                } else {
                    for (ToolchainModel model : models) {
                        try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. 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)
Back to top