Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for strictArtifactDescriptorPolicy (0.34 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

            return returnFirstPresentOrEmpty(MavenOptions::cacheArtifactNotFound);
        }
    
        @Override
        public Optional<Boolean> strictArtifactDescriptorPolicy() {
            return returnFirstPresentOrEmpty(MavenOptions::strictArtifactDescriptorPolicy);
        }
    
        @Override
        public Optional<Boolean> ignoreTransitiveRepositories() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add(mavenOptions.cacheArtifactNotFound().get().toString());
            }
            if (mavenOptions.strictArtifactDescriptorPolicy().isPresent()) {
                cmdAndArguments.add("--strict-artifact-descriptor-policy");
                cmdAndArguments.add(
                        mavenOptions.strictArtifactDescriptorPolicy().get().toString());
            }
            if (mavenOptions.ignoreTransitiveRepositories().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         *
         * @return an {@link Optional} containing true if strict artifact descriptor policy should be used, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> strictArtifactDescriptorPolicy();
    
        /**
         * Indicates whether Maven should ignore transitive repositories.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> strictArtifactDescriptorPolicy() {
            if (commandLine.hasOption(CLIManager.STRICT_ARTIFACT_DESCRIPTOR_POLICY)) {
                return Optional.of(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setMakeBehavior(determineMakeBehavior(context));
            request.setCacheNotFound(options.cacheArtifactNotFound().orElse(true));
            request.setCacheTransferError(false);
    
            if (options.strictArtifactDescriptorPolicy().orElse(false)) {
                request.setIgnoreMissingArtifactDescriptor(false);
                request.setIgnoreInvalidArtifactDescriptor(false);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            request.setCacheTransferError(false);
            boolean strictArtifactDescriptorPolicy = commandLine.hasOption(CLIManager.STRICT_ARTIFACT_DESCRIPTOR_POLICY)
                    && Boolean.parseBoolean(commandLine.getOptionValue(CLIManager.STRICT_ARTIFACT_DESCRIPTOR_POLICY));
            if (strictArtifactDescriptorPolicy) {
                request.setIgnoreMissingArtifactDescriptor(false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top