- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getProblems (0.07 sec)
-
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
ToolchainsBuildingResult result = toolchainBuilder.build(request); assertNotNull(result.getEffectiveToolchains()); assertNotNull(result.getProblems()); assertEquals(0, result.getProblems().size()); } @Test void testBuildRequestWithUserToolchains() throws Exception { Properties props = new Properties(); props.put("key", "user_value");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
.findFirst() .get(); assertEquals("0.3", dep.getVersion()); assertEquals(1, result.getProblems().size()); ModelProblem problem = result.getProblems().get(0); assertTrue(problem.toString().contains("Ignored POM import")); } /** * This test has
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
if (!settingsResult.getProblems().isEmpty() && LOGGER.isWarnEnabled()) { LOGGER.warn(""); LOGGER.warn("Some problems were encountered while building the effective settings"); for (SettingsProblem problem : settingsResult.getProblems()) { LOGGER.warn("{} @ {}", problem.getMessage(), problem.getLocation()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
// that may lead to unexpected build failure, log them if (!modelResult.getProblems().isEmpty()) { List<ModelProblem> problems = modelResult.getProblems(); if (logger.isDebugEnabled()) { String problem = (problems.size() == 1) ? "problem" : "problems";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
Result<? extends ProjectDependencyGraph> graphResult = buildGraph(session); if (graphResult.hasErrors()) { return addExceptionToResult( result, graphResult.getProblems().iterator().next().getException()); } try { session.setProjectMap(getProjectMap(session.getProjects())); } catch (DuplicateProjectException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
if (!toolchainsResult.getProblems().isEmpty()) { context.logger.warn(""); context.logger.warn("Some problems were encountered while building the effective toolchains"); for (BuilderProblem problem : toolchainsResult.getProblems()) { context.logger.warn(problem.getMessage() + " @ " + problem.getLocation());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
} private ExceptionSummary handle(ProjectBuildingResult result) { List<ExceptionSummary> children = new ArrayList<>(); for (ModelProblem problem : result.getProblems()) { ExceptionSummary child = handle(problem, result.getProjectId()); if (child != null) { children.add(child); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
server = result.getServer(); if (logger.isDebugEnabled()) { for (SettingsProblem problem : result.getProblems()) { logger.debug(problem.getMessage(), problem.getException()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
decrypt.setServers(request.getServers()); SettingsDecryptionResult decrypted = settingsDecrypter.decrypt(decrypt); for (SettingsProblem problem : decrypted.getProblems()) { if (problem.getSeverity() == SettingsProblem.Severity.WARNING) { logger.warn(problem.getMessage()); } else if (problem.getSeverity() == SettingsProblem.Severity.ERROR) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
context.localRepositoryPath = localRepositoryPath(context); if (!settingsResult.getProblems().isEmpty()) { context.logger.warn(""); context.logger.warn("Some problems were encountered while building the effective settings"); for (BuilderProblem problem : settingsResult.getProblems()) { context.logger.warn(problem.getMessage() + " @ " + problem.getLocation()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0)