Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for strictArtifactDescriptorPolicy (0.38 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. 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)
  4. 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)
  5. 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