Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 757 for Actions (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

         *
         * @param options the upgrade options to use
         * @return a mock UpgradeContext
         */
        public static UpgradeContext createMockContext(UpgradeOptions options) {
            return createMockContext(Paths.get("/project"), options);
        }
    
        /**
         * Creates a mock UpgradeContext with the specified working directory and options.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

            CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args);
    
            assertTrue(options.modelVersion().isPresent(), "--model-version option should be present");
            assertEquals("4.1.0", options.modelVersion().get(), "--model-version should be 4.1.0");
    
            assertTrue(options.infer().isPresent(), "--infer option should be present");
            assertTrue(options.infer().get(), "--infer option should be true");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

            protected void prepareOptions(org.apache.commons.cli.Options options) {
                super.prepareOptions(options);
                options.addOption(Option.builder(ALTERNATE_POM_FILE)
                        .longOpt("file")
                        .hasArg()
                        .desc("Force the use of an alternate POM file (or directory with pom.xml)")
                        .get());
                options.addOption(Option.builder(NON_RECURSIVE)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                }
    
                // Apply default behavior: if no specific options are provided, use default
                if (options.all().isEmpty()
                        && options.infer().isEmpty()
                        && options.model().isEmpty()
                        && options.plugins().isEmpty()
                        && options.modelVersion().isEmpty()) {
                    return defaultValue;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

        }
    
        @Override
        public Settings read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
                return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

        @Override
        public Metadata read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            return read(Files.newInputStream(input.toPath()), options);
        }
    
        @Override
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         *
         * @param source the source to parse, never {@code null}
         * @param options possible parsing options, may be {@code null}
         * @return the parsed {@link Model}, never {@code null}
         * @throws ModelParserException if the model cannot be parsed
         */
        @Nonnull
        Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Sep 10 17:18:47 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserRequest;
    
    /**
     * Options that are "layered" by precedence order.
     *
     * @param <O> The type of options.
     */
    public abstract class LayeredOptions<O extends Options> implements Options {
        protected final List<O> options;
    
        protected LayeredOptions(List<O> options) {
            this.options = new ArrayList<>(options);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 26 17:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws ModelParseException If the input format could not be parsed.
         */
        Model read(File input, Map<String, ?> options) throws IOException, ModelParseException;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top