- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for hasExceptions (0.1 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
request.getRemoteRepositories()); } // this should never happen since we checked all possible error sources before but better be sure if (result.hasExceptions()) { throw new ArtifactResolutionException( "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(), request.getArtifact(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
return exceptions; } public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } public boolean hasExceptions() { return !getExceptions().isEmpty(); } public BuildSummary getBuildSummary(MavenProject project) { return buildSummaries.get(project); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
// - invalid project model exception: list of markers // - xmlpull parser exception List<Throwable> getExceptions(); MavenExecutionResult addException(Throwable e); boolean hasExceptions(); /** * Gets the build summary for the specified project. * * @param project The project to get the build summary for, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
} public boolean isSuccess() { return !(hasMissingArtifacts() || hasExceptions()); } // ------------------------------------------------------------------------ // Exceptions // ------------------------------------------------------------------------ public boolean hasExceptions() { return exceptions != null && !exceptions.isEmpty(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java
@Override public Optional<BuildResumptionData> determineBuildResumptionData(final MavenExecutionResult result) { if (!result.hasExceptions()) { return Optional.empty(); } List<MavenProject> sortedProjects = result.getTopologicallySortedProjects(); boolean hasNoSuccess =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
for (Artifact artifact : result.getMissingArtifacts()) { System.err.println("Missing: " + artifact); } } if (result.hasExceptions()) { for (Exception e : result.getExceptions()) { e.printStackTrace(); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
return addExceptionToResult( result, graphResult.getProblems().iterator().next().getException()); } try { if (result.hasExceptions()) { return result; } result.setTopologicallySortedProjects(session.getProjects()); result.setProject(session.getTopLevelProject());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
} // ------------------------------------------------------------------------ // Exceptions // ------------------------------------------------------------------------ public boolean hasExceptions() { return exceptions != null && !exceptions.isEmpty(); } public List<Exception> getExceptions() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
result = context.maven.execute(request); context.eventSpyDispatcher.onEvent(result); } finally { context.eventSpyDispatcher.close(); } if (result.hasExceptions()) { ExceptionHandler handler = new DefaultExceptionHandler(); Map<String, String> references = new LinkedHashMap<>(); List<MavenProject> failedProjects = new ArrayList<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0)