- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for or_else (0.21 sec)
-
maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java
.reduce((a, b) -> { throw new IllegalStateException( "Multiple modules with key " + a.getGroupId() + ':' + a.getArtifactId()); }) .orElse(null); } private String getVersion(Model model) { String version = model.getVersion(); if (version == null && model.getParent() != null) { version = model.getParent().getVersion();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java
Parent parent = model.getParent(); if (parent != null) { String version = parent.getVersion(); String path = Optional.ofNullable(parent.getRelativePath()).orElse(".."); if (version == null && !path.isEmpty()) { Optional<RelativeProject> resolvedParent = resolveRelativePath(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 8K 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-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 9.1K 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/model/DefaultModelValidator.java
String location = f.next().location; ActivationFrame parent = f.next(); return parent.parent.map(p -> p.getLocation(location)).orElse(null); }; final UnaryOperator<String> transformer = s -> { if (hasProjectExpression(s)) { String path = pathSupplier.get();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false); } @Override public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).isPresent(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java
*/ public ProjectSegment findByMavenProject(MavenProject mavenProject) { return items.stream() .filter(pb -> mavenProject.equals(pb.getProject())) .findFirst() .orElse(null); } @Override public Iterator<ProjectSegment> iterator() { return items.iterator(); } public void closeAll() { for (ProjectSegment item : items) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 4.1K bytes - Viewed (0)