Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for _fail (0.14 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        public static final String UPDATE_POLICY_INTERVAL = "interval";
    
        public static final String CHECKSUM_POLICY_FAIL = "fail";
    
        public static final String CHECKSUM_POLICY_WARN = "warn";
    
        public static final String CHECKSUM_POLICY_IGNORE = "ignore";
    
        public static final String DEFAULT_CHECKSUM_POLICY = CHECKSUM_POLICY_FAIL;
    
        private boolean enabled;
    
        private String updatePolicy;
    
        private String checksumPolicy;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
        List<BuilderProblem> getProblems();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
            return false;
        }
    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)
  7. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

    /**
     */
    class DefaultExceptionHandlerTest {
        /**
         * Running Maven under JDK7 may cause connection issues because IPv6 is used by default.
         * <p>
         * e.g running mvn site:run will cause Jetty to fail.
         * </p>
         * <p>
         * The resolution is to add -Djava.net.preferIPv4Stack=true to the command line as documented in
         * http://cwiki.apache.org/confluence/display/MAVEN/ConnectException
         * </p>
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractMavenProjectTestCase {
        protected ProjectBuilder projectBuilder;
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

        if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest, macOS-latest]
          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
    - 4.5K bytes
    - Viewed (0)
  10. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top