- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for addException (0.21 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java
try { versionConstraint = versionScheme.parseVersionConstraint(request.getArtifact().getVersion()); } catch (InvalidVersionSpecificationException e) { result.addException(e); throw new VersionRangeResolutionException(result); } result.setVersionConstraint(versionConstraint); if (versionConstraint.getRange() == null) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 10K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java
pomArtifact = pomArtifact.setVersion(versionResult.getVersion()); } catch (VersionResolutionException e) { result.addException(e); throw new ArtifactDescriptorException(result); } if (!visited.add(a.getGroupId() + ':' + a.getArtifactId() + ':' + a.getBaseVersion())) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 13.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java
Map<String, VersionInfo> infos = new HashMap<>(); for (MetadataResult metadataResult : metadataResults) { result.addException(metadataResult.getException()); ArtifactRepository repository = metadataResult.getRequest().getRepository(); if (repository == null) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 9.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
return this; } public List<Throwable> getExceptions() { return exceptions; } public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } public boolean hasExceptions() { return !getExceptions().isEmpty(); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java
} builder.build(session, reactorContext, projectBuilds, taskSegments, reactorBuildStatus); } catch (Exception e) { result.addException(e); } finally { eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null); } } private boolean buildExecutionRequiresProject(MavenSession session) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 23:56:36 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java
MavenProject project = createMavenProject(artifactId); executionResult.addBuildSummary(new BuildFailure(project, 0, new Exception())); executionResult.addException(new LifecycleExecutionException("", project)); return project; }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 5.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
} catch (FileNotFoundException | URISyntaxException e) { throw new IllegalStateException("Missing test POM for " + artifact, e); } } else { result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null)); throw new ArtifactResolutionException(results); } } return results; }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
// - project building exception // - 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}.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Throwable t, final long buildStartTime) { // record the error and mark the project as failed long buildEndTime = System.currentTimeMillis(); buildContext.getResult().addException(t); buildContext.getResult().addBuildSummary(new BuildFailure(mavenProject, buildEndTime - buildStartTime, t)); // notify listeners about "soft" project build failures only
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 10.2K bytes - Viewed (0)