Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for alternatePomFile (0.16 sec)

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

            }
        }
    
        protected LayeredMavenOptions(List<O> options) {
            super(options);
        }
    
        @Override
        public Optional<String> alternatePomFile() {
            return returnFirstPresentOrEmpty(MavenOptions::alternatePomFile);
        }
    
        @Override
        public Optional<Boolean> offline() {
            return returnFirstPresentOrEmpty(MavenOptions::offline);
        }
    
        @Override
    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

            }
            if (mavenOptions.help().orElse(false)) {
                cmdAndArguments.add("--help");
            }
            if (mavenOptions.alternatePomFile().isPresent()) {
                cmdAndArguments.add("--file");
                cmdAndArguments.add(mavenOptions.alternatePomFile().get());
            }
            if (mavenOptions.offline().orElse(false)) {
                cmdAndArguments.add("--offline");
            }
    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

        /**
         * Returns the path to an alternate POM file.
         *
         * @return an {@link Optional} containing the path to the alternate POM file, or empty if not specified
         */
        @Nonnull
        Optional<String> alternatePomFile();
    
        /**
         * Indicates whether Maven should operate in offline mode.
         *
         * @return an {@link Optional} containing true if offline mode is enabled, false if disabled, or empty if not specified
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top