Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for fail (0.13 sec)

  1. 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
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        @BeforeEach
        void setUp() throws Exception {
            source = new Source();
    
            projectArtifact = createArtifactSpec("project", "1.0", null);
        }
    
        @Test
        @Disabled("works, but we don't fail on cycles presently")
        void testCircularDependencyNotIncludingCurrentProject()
                throws ArtifactResolutionException, InvalidVersionSpecificationException {
            ArtifactSpec a = createArtifactSpec("a", "1.0");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. 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)
  4. .github/workflows/maven_build_itself.yml

        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest]
            java: [17, 21]
          fail-fast: false
    
        runs-on: ${{ matrix.os }}
    
        steps:
          - uses: actions/checkout@v4
            with:
              persist-credentials: false
    
          - uses: actions/setup-java@v4
            with:
    Others
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        public void testValidationErrorUponNonUniqueDependencyKey()
            throws Exception
        {
            try
            {
                buildPom( "unique-dependency-key/deps" );
                fail( "Non-unique dependency keys did not cause validation error" );
            }
            catch ( ProjectBuildingException e )
            {
                // expected
            }
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.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);
    
            return artifact;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. 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)
Back to top