- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 67 for fails (0.16 sec)
-
maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.fail; class PluginManagerTest extends AbstractCoreMavenComponentTestCase { @Inject private DefaultBuildPluginManager pluginManager; protected String getProjectsDirectory() {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 13.1K 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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.7K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java
* their lifecycle is shared as well: once supplied repository system is shut-down, this instance becomes closed as * well. Any subsequent {@code getXXX} method invocation attempt will fail with {@link IllegalStateException}. */ public class RepositorySystemSupplier implements Supplier<RepositorySystem> { private final AtomicBoolean closed = new AtomicBoolean(false);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 43.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; class DefaultMavenProjectBuilderTest extends AbstractMavenProjectTestCase { @TempDir File localRepoDir; // only use by reread() @TempDir Path projectRoot; @Override
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 16.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
// Reactor Failure Mode // ---------------------------------------------------------------------- String REACTOR_FAIL_FAST = "FAIL_FAST"; String REACTOR_FAIL_AT_END = "FAIL_AT_END"; String REACTOR_FAIL_NEVER = "FAIL_NEVER"; // ---------------------------------------------------------------------- // Reactor Make Mode
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Dec 20 13:03:57 GMT 2023 - 17.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
resolutionErrorHandler.throwErrors(request, result); assertEquals(1, result.getArtifacts().size()); // // Put in a bogus file to make sure missing files cause the resolution to fail. // file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar"); assertFalse(file.exists()); d.setSystemPath(file.getCanonicalPath());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 8.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java
import java.util.stream.Stream; import static java.util.stream.Collectors.toSet; /** * Container for storing the request from the user to activate or deactivate certain projects and optionally fail the * build if those projects do not exist. */ public class ProjectActivation { private static class ProjectActivationSettings { /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K bytes - Viewed (0)