- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for or_else (0.17 sec)
-
maven-core/src/main/java/org/apache/maven/ReactorReader.java
.filter(artifact -> Objects.equals(requestedRepositoryConflictId, ArtifactIdUtils.toVersionlessId(artifact))) .findFirst() .orElse(null); } /** * Determines whether the specified artifact refers to test classes. * * @param artifact The artifact to check, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java
Source globalSource = request.getGlobalSettingsSource().orElse(null); Settings global = readSettings(globalSource, false, request, problems); Source projectSource = request.getProjectSettingsSource().orElse(null); Settings project = readSettings(projectSource, true, request, problems); Source userSource = request.getUserSettingsSource().orElse(null);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 12K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
this.topLevelProject = projects.stream() .filter(project -> project.isExecutionRoot()) .findFirst() .orElse(first); } else { this.currentProject = new ThreadLocal<>(); this.topLevelProject = null; } this.projects = projects; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 16.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (artifact == null) { return null; } Artifact result = toArtifact(artifact); List<Exclusion> excl = Optional.ofNullable(exclusions).orElse(Collections.emptyList()).stream() .map(RepositoryUtils::toExclusion) .collect(Collectors.toList()); return new Dependency(result, artifact.getScope(), artifact.isOptional(), excl);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 16K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java
* The latter case (keep patching) is okay if the main module will be defined later. */ type = cache.selectPathType(pathTypes, filter, path).orElse(type); } addPathElement(type, info.getKey()); // There is usually no more than one element, but nevertheless allow multi-modules. } /*
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 14.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java
} @Override public org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact) { Path path = getService(ArtifactManager.class).getPath(artifact).orElse(null); if (artifact instanceof DefaultArtifact) { org.eclipse.aether.artifact.Artifact a = ((DefaultArtifact) artifact).getArtifact(); if (Objects.equals(path, a.getPath())) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 27.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java
* The latter case (keep patching) is okay if the main module will be defined later. */ type = cache.selectPathType(pathTypes, filter, path).orElse(type); } addPathElement(type, info.getKey()); // There is usually no more than one element, but nevertheless allow multi-modules. } /*
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 14.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java
public org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact) { File file = getService(ArtifactManager.class) .getPath(artifact) .map(Path::toFile) .orElse(null); if (artifact instanceof DefaultArtifact) { org.eclipse.aether.artifact.Artifact a = ((DefaultArtifact) artifact).getArtifact(); if (Objects.equals(file, a.getFile())) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 21.7K bytes - Viewed (0)