- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 134 for Optional (0.2 sec)
-
maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
while (iter.hasNext()) { Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion() + " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionResolver.java
return session.parseVersion(res.getVersion()); } @Override public Optional<Repository> getRepository() { if (res.getRepository() instanceof org.eclipse.aether.repository.LocalRepository) { return Optional.of(new DefaultLocalRepository( (org.eclipse.aether.repository.LocalRepository) res.getRepository()));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
package org.apache.maven.api; import java.nio.file.Path; import java.time.Instant; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.Optional; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.ThreadSafe;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionRangeResolver.java
} @Override public Optional<Repository> getRepository(Version version) { ArtifactRepository repo = repos.get(version.toString()); if (repo instanceof org.eclipse.aether.repository.LocalRepository) { return Optional.of(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
apache-maven/src/assembly/shared/validate.cmd
@REM @REM JAVA_HOME (Optional) Points to a Java installation. @REM MAVEN_ARGS (Optional) Arguments passed to Maven before CLI arguments. @REM MAVEN_BATCH_ECHO (Optional) Set to 'on' to enable the echoing of the batch commands. @REM MAVEN_BATCH_PAUSE (Optional) set to 'on' to wait for a key stroke before ending. @REM MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
Batch File - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Dec 21 09:29:19 GMT 2021 - 3.1K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvnDebug
# Apache Maven Debug Script # # Environment Variable Prerequisites # # JAVA_HOME (Optional) Points to a Java installation. # MAVEN_OPTS (Optional) Java runtime options used when Maven is executed. # MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. # MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is localhost:8000
Shell Script - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sun Jul 25 20:33:33 GMT 2021 - 1.6K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
* * @param dir the directory to locate the pom for, never {@code null} * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser */ @Nonnull Optional<Source> locate(@Nonnull Path dir); /** * Parse the model obtained previously by a previous call to {@link #locate(Path)}. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/complete-model/wo-parent/pom.xml
<dependencies> <dependency> <groupId>org.apache.maven.its</groupId> <artifactId>dep</artifactId> <version>0.2</version> <type>ejb</type> <scope>test</scope> <optional>true</optional> <exclusions> <exclusion> <groupId>org.apache.maven.its</groupId> <artifactId>excluded-dep</artifactId> </exclusion> </exclusions> </dependency>
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Mar 29 19:02:56 GMT 2020 - 8.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
this.artifactManager = artifactManager; } @Nonnull @Override public Optional<Path> getPath(Project project) { Optional<Artifact> mainArtifact = project.getMainArtifact(); if (mainArtifact.isPresent()) { return artifactManager.getPath(mainArtifact.get()); } return Optional.empty(); } @Nonnull @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
while (iter.hasNext()) { Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion() + " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3K bytes - Viewed (0)