Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,316 for model (0.2 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        @Override
        public Model interpolate(Model model, Map<String, ?> context, boolean strict) throws ModelInterpolationException {
            Properties props = new Properties();
            props.putAll(context);
    
            return interpolate(model, null, new DefaultProjectBuilderConfiguration().setExecutionProperties(props), true);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

            Model model = new Model();
            model.addProperty("key1", "value1");
            model.addProperty("key2", "value2");
            assertEquals(2, model.getProperties().size());
    
            // This should not throw NullPointerException
            model.getProperties().clear();
            assertEquals(0, model.getProperties().size());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(model, "model cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(WriterFactory.newXmlWriter(output), options, model);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Model model) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(model, "model cannot be null");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    
    /**
     * Collects the output of the model builder.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.xml.XmlNode;
    import org.junit.jupiter.api.Test;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the raw model to build. If not set, model source will be used to load raw model.
         *
         * @return The raw model to build or {@code null} if not set.
         */
        Model getRawModel();
    
        /**
         * Set raw model.
         *
         * @param rawModel
         */
        ModelBuildingRequest setRawModel(Model rawModel);
    
        /**
         * Gets the source of the POM to process.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

     * <ol>
     * <li>success - in which case only the model field is set
     * <li>success with warnings - model field + non-error model problems
     * <li>error - no model, but diagnostics
     * <li>error - (partial) model and diagnostics
     * </ol>
     * Could encode these variants as subclasses, but kept in one for now
     *
     * @param <T> the model type
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    
    /**
     * Assists in the handling of model problems.
     *
     * @author Benjamin Bentmann
     */
    public class ModelProblemUtils {
    
        /**
         * Creates a user-friendly source hint for the specified model.
         *
         * @param model The model to create a source hint for, may be {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         */
        List<String> getModelIds();
    
        /**
         * Gets the assembled model.
         *
         * @return The assembled model, never {@code null}.
         */
        Model getEffectiveModel();
    
        /**
         * Gets the raw model as it was read from the input model source. Apart from basic validation, the raw model has not
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.path;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Resolves relative paths of a model against a specific base directory.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top