- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 59 for fail (0.28 sec)
-
maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
private volatile MavenSession session; public void run() { try { latch.await(); } catch (InterruptedException ignore) { // Test may fail if we get interrupted } session = defaultLegacySupport.getSession(); } public MavenSession getSession() { return session; } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
public boolean isSnapshot() { return parent.isSnapshot(); } public void addMetadata(ArtifactMetadata metadata) { // ignore. The parent artifact will handle metadata. // we must fail silently here to avoid problems with the artifact transformers. } public Collection<ArtifactMetadata> getMetadataList() { return Collections.emptyList(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 6.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
* @return the default value */ @Nonnull String defaultValue() default ""; /** * is the parameter required? * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected */ boolean required() default false; /** * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
import java.util.Set; import java.util.function.Predicate; import static java.util.stream.Collectors.toSet; /** * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the * build if those profiles do not exist. */ public class ProfileActivation { private final Map<String, ActivationSettings> activations = new HashMap<>(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java
} public static String toRepositoryChecksumPolicy(final String artifactRepositoryPolicy) { switch (artifactRepositoryPolicy) { case RepositoryPolicy.CHECKSUM_POLICY_FAIL: return RepositoryPolicy.CHECKSUM_POLICY_FAIL; case RepositoryPolicy.CHECKSUM_POLICY_IGNORE: return RepositoryPolicy.CHECKSUM_POLICY_IGNORE; case RepositoryPolicy.CHECKSUM_POLICY_WARN:
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-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java
} @Override public Artifact find(Artifact artifact) { File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact)); // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); return artifact; } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java
org.apache.maven.api.model.RepositoryPolicy policy) { boolean enabled = true; String updatePolicy = RepositoryPolicy.UPDATE_POLICY_DAILY; String checksumPolicy = RepositoryPolicy.CHECKSUM_POLICY_FAIL; if (policy != null) { enabled = policy.isEnabled(); if (policy.getUpdatePolicy() != null) { updatePolicy = policy.getUpdatePolicy(); }
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 3.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java
org.apache.maven.api.model.RepositoryPolicy policy) { boolean enabled = true; String updatePolicy = RepositoryPolicy.UPDATE_POLICY_DAILY; String checksumPolicy = RepositoryPolicy.CHECKSUM_POLICY_FAIL; if (policy != null) { enabled = policy.isEnabled(); if (policy.getUpdatePolicy() != null) { updatePolicy = policy.getUpdatePolicy(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 4.1K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
if (repositoryUrl.contains("${")) { // the repository url contains unresolved properties and getting the basedir is not possible // in JDK 20+ 'new URL(string)' will fail if the string contains a curly brace this.basedir = null; } else { try { URL url = new URL(repository.getUrl()); if ("file".equals(url.getProtocol())) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 5.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
return sb.toString(); } public Artifact find(Artifact artifact) { File artifactFile = new File(getBasedir(), pathOf(artifact)); // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); if (artifactFile.exists()) { artifact.setResolved(true);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 7.3K bytes - Viewed (0)