Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for modelId (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            public XmlReaderRequestBuilder strict(boolean strict) {
                this.strict = strict;
                return this;
            }
    
            public XmlReaderRequestBuilder modelId(String modelId) {
                this.modelId = modelId;
                return this;
            }
    
            public XmlReaderRequestBuilder location(String location) {
                this.location = location;
                return this;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            modelIds.add(modelId);
    
            return this;
        }
    
        @Override
        public Model getRawModel() {
            return rawModels.get(modelIds.get(0));
        }
    
        @Override
        public Model getRawModel(String modelId) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

        private final InputLocation importedFrom;
    
        public InputSource(String modelId, String location) {
            this(modelId, location, null);
        }
    
        public InputSource(String modelId, String location, InputLocation importedFrom) {
            this.modelId = modelId;
            this.location = location;
            this.inputs = null;
            this.importedFrom = importedFrom;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         */
        @Deprecated
        public ModelBuildingException(Model model, String modelId, List<ModelProblem> problems) {
            super(toMessage(modelId, problems));
    
            if (model != null) {
                DefaultModelBuildingResult tmp = new DefaultModelBuildingResult();
                if (modelId == null) {
                    modelId = "";
                }
                tmp.addModelId(modelId);
                tmp.setRawModel(modelId, model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2));
            assertEquals(
                    "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        /**
         * Set the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @param modelId
         */
        public void setModelId(String modelId) {
            this.modelId = modelId;
        } // -- void setModelId( String )
    
        /**
         * Get the location of the POM from which this POM was
         *
         * @return
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.io.ModelParseException;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

                int columnNumber,
                String modelId,
                Exception exception) {
            this.message = message;
            this.severity = (severity != null) ? severity : Severity.ERROR;
            this.source = (source != null) ? source : "";
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
            this.modelId = (modelId != null) ? modelId : "";
            this.exception = exception;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        Model getRawModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    options.put("xml:" + version, "xml:" + version);
    
                    String modelId = "org.apache.maven:maven-model-builder:" + version + "-"
                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource(
                            modelId, getClass().getResource(resource).toExternalForm());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top