Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getRawModel (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            modelIds.add(modelId);
    
            return this;
        }
    
        @Override
        public Model getRawModel() {
            return rawModels.get(modelIds.get(0));
        }
    
        @Override
        public Model getRawModel(String modelId) {
            return rawModels.get(modelId);
        }
    
        public DefaultModelBuildingResult setRawModel(String modelId, Model rawModel) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

            if (result == null) {
                return "";
            } else if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel().getId();
            } else if (result.getRawModel() != null) {
                return result.getRawModel().getId();
            } else if (result.getFileModel() != null) {
                return result.getFileModel().getId();
            } else {
                return "";
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 21:57:56 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

        public FilterModelBuildingRequest setModelCache(ModelCache modelCache) {
            request.setModelCache(modelCache);
    
            return this;
        }
    
        @Override
        public Model getRawModel() {
            return request.getRawModel();
        }
    
        @Override
        public ModelBuildingRequest setRawModel(Model rawModel) {
            request.setRawModel(rawModel);
            return this;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    currentData.setGroupId(
                            currentData.getRawModel().getGroupId() == null
                                    ? parentData.getGroupId()
                                    : currentData.getRawModel().getGroupId());
    
                    currentData.setVersion(
                            currentData.getRawModel().getVersion() == null
                                    ? parentData.getVersion()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            request.setProcessPlugins(true);
            request.setPomFile(pom);
            ModelBuildingResult result = builder.build(request);
            String resultExists = result.getRawModel()
                    .getProfiles()
                    .get(1)
                    .getActivation()
                    .getFile()
                    .getExists();
    
            assertEquals(originalExists, resultExists);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

            if (result == null) {
                return null;
            }
            if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel();
            }
            return result.getRawModel();
        }
    
        /**
         * Gets the identifier of the POM whose effective model could not be built. The general format of the identifier is
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Model model = result.getRawModel();
            return transformPom(model, project);
        }
    
        protected Model buildBomWithoutFlatten(RepositorySystemSession session, MavenProject project, ModelSource src)
                throws ModelBuilderException {
            ModelBuilderResult result = buildModel(session, src);
            Model model = result.getRawModel();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        @Nonnull
        Model getRawModel();
    
        /**
         * Gets the effective model of the parent POM.
         *
         * @return the effective model of the parent POM, never {@code null}
         */
        @Nonnull
        Model getParentModel();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

            this.model = model;
        }
    
        /**
         * Gets the raw model being wrapped.
         *
         * @return The raw model or {@code null} if not set.
         */
        public Model getRawModel() {
            return rawModel;
        }
    
        /**
         * Sets the raw model being wrapped.
         *
         * @param rawModel The raw model, may be {@code null}.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top