Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for exception (0.26 sec)

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

        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
            new File(getBasedir(), BASE_MIXIN_DIR);
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
            buildPom("empty-distMng-repo-url");
    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. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    interpolatedModel = interpolatedModel.withParent(
                            interpolatedModel.getParent().withVersion(interpolated));
                } catch (Exception e) {
                    problems.add(
                            Severity.ERROR,
                            ModelProblem.Version.BASE,
                            "Failed to interpolate field: "
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    }
                    if (str != null) {
                        parallelism = Integer.parseInt(str);
                    }
                } catch (Exception e) {
                    // ignore
                }
                return Math.max(1, Math.min(parallelism, Runtime.getRuntime().availableProcessors()));
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                        if (executionId != null) {
                            for (PluginExecution execution : plugin.getExecutions()) {
                                if (executionId.equals(execution.getId())) {
                                    // NOTE: The PluginConfigurationExpander already merged the plugin-level config in
                                    dom = (Xpp3Dom) execution.getConfiguration();
                                    break;
                                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                                Severity.ERROR,
                                Version.V20,
                                prefix + prefix2 + "[" + plugin.getKey() + "].executions.execution.id",
                                null,
                                "must be unique but found duplicate execution with id " + exec.getId(),
                                exec);
                    }
                }
            }
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top