Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for _fail (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                            BuilderProblem.Severity.WARNING,
                            prefix + ".layout",
                            repository.getId(),
                            "uses the unsupported value 'legacy', artifact resolution might fail.");
                }
            }
        }
    
        // ----------------------------------------------------------------------
        // Field validation
    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)
  6. 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)
  7. 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)
  8. maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

        }
    
        @Test
        void testVerifyExpectedParentStructure() throws CycleDetectedException, DuplicateProjectException {
            // This test verifies the baseline structure used in subsequent tests. If this fails, the rest will fail.
            ProjectDependencyGraph graph = threeProjectsDependingOnASingle();
            final List<MavenProject> sortedProjects = graph.getSortedProjects();
            assertEquals(aProject, sortedProjects.get(0));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top