- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for or_else (4.52 sec)
-
maven-api-impl/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 May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java
private Relocation getRelocation(Artifact artifact) { return relocations.stream() .filter(r -> r.predicate.test(artifact)) .findFirst() .orElse(null); } } private Relocations parseRelocations(RepositorySystemSession session) { String relocationsEntries = (String) session.getConfigProperties().get(CONFIG_PROP_RELOCATIONS_ENTRIES);
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/test/java/org/apache/maven/project/PomConstructionTest.java
.findFirst() .orElse(null); assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId); List<PluginExecution> pluginExecutions = plugin.getExecutions(); PluginExecution pluginExecution = pluginExecutions.stream() .filter(pe -> pe.getId().equals(expectedId)) .findFirst() .orElse(null);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.3K bytes - Viewed (0) -
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/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-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)