- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for or_else (0.21 sec)
-
maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 2.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
.flatMap(r -> r.getProblems().stream()) .filter(p -> p.getException() instanceof CycleDetectedException) .findAny() .orElse(null); if (cycle != null) { throw new RuntimeException(new ProjectCycleException( "The projects in the reactor contain a cyclic reference: " + cycle.getMessage(),
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java
"No unique Source for %s:%s: %s and %s", groupId, artifactId, a.getLocation(), b.getLocation())); }) .orElse(null); } public void putSource(String groupId, String artifactId, ModelSource source) { mappedSources .computeIfAbsent(groupId + ":" + artifactId, k -> new HashSet<>())
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven3ScopeManagerConfiguration.java
allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet()); DependencyScope system = internalScopeManager.getDependencyScope(DS_SYSTEM).orElse(null); ArrayList<ResolutionScope> result = new ArrayList<>(); result.add(internalScopeManager.createResolutionScope( RS_NONE, InternalScopeManager.Mode.REMOVE,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.6K 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-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java
org.eclipse.aether.scope.DependencyScope system = internalScopeManager .getDependencyScope(DependencyScope.SYSTEM.id()) .orElse(null); ArrayList<org.eclipse.aether.scope.ResolutionScope> result = new ArrayList<>(); result.add(internalScopeManager.createResolutionScope( RS_NONE,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
*/ private LifecycleMapping lookupLifecycleMapping(final String packaging) { return lookup.lookupOptional(LifecycleMapping.class, packaging).orElse(null); } private void parseLifecyclePhaseDefinitions(Map<Plugin, Plugin> plugins, String phase, LifecyclePhase goals) { InputSource inputSource = new InputSource();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 9.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
// weirdness. public MavenProject getTopLevelProject() { return sortedProjects.stream() .filter(MavenProject::isExecutionRoot) .findFirst() .orElse(null); } public List<MavenProject> getSortedProjects() { return sortedProjects; } public boolean hasMultipleProjects() { return sortedProjects.size() > 1; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 10.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
org.eclipse.aether.artifact.Artifact aetherArtifact = session.toArtifact(coord); Artifact artifact = session.getArtifact(aetherArtifact); Path path = artifactManager.getPath(artifact).orElse(null); if (path != null) { paths.put(artifact, path); } else { requests.add(new ArtifactRequest(aetherArtifact, repositories, null)); }
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Dec 15 06:34:19 GMT 2023 - 3.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)