- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 68 for _fail (0.26 sec)
-
maven-slf4j-wrapper/src/main/java/org/apache/maven/logwrapper/LogLevelRecorder.java
*/ package org.apache.maven.logwrapper; import java.util.HashMap; import java.util.Map; import org.slf4j.event.Level; /** * Responsible for keeping state of whether the threshold of the --fail-on-severity flag has been hit. */ public class LogLevelRecorder { private static final Map<String, Level> ACCEPTED_LEVELS = new HashMap<>(); static { ACCEPTED_LEVELS.put("WARN", Level.WARN);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 2.1K bytes - Viewed (0) -
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; } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
assertThrows( ChecksumFailedException.class, () -> wagonManager.getArtifact(artifact, repo, null, false), "Checksum verification did not fail"); wagon.clearExpectedContent(); wagon.addExpectedContent("path", "lower-case-checksum"); wagon.addExpectedContent("path.md5", "50b2cf50a103a965efac62b983035cac");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 13.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/MavenArtifactProperties.java
* verify the path and resolve the artifact if the path actually denotes an existing file. If the path isn't valid, * resolution will fail and no attempts to search local/remote repositories are made. */ public static final String LOCAL_PATH = "localPath"; private MavenArtifactProperties() { // hide constructor }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.5K 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())) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 16:33:18 UTC 2024 - 5.5K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
} } private void parseInvalid(String range) { try { versionParser.parseVersionRange(range); fail(range + " should be invalid"); } catch (VersionParserException e) { assertTrue(true); } } private void assertContains(VersionRange range, String version) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 4.6K 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(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 6.1K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java
* {@link ModelProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the model builder to fail with a {@link ModelBuildingException}. * * @return The problems that were encountered during the model building, can be empty but never {@code null}. */ List<ModelProblem> getProblems();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.2K 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);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 7.3K 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<>(); /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 5.6K bytes - Viewed (0)