- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getEffectiveModel (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
/** * Gets the assembled model with inheritance, interpolation and profile injection. * * @return The assembled model, never {@code null}. */ @Nonnull Model getEffectiveModel(); /** * Gets the profiles that were active during model building. * * @return The active profiles of the model or an empty list if the model has no active profiles. */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
*/ public Model getModel() { if (result == null) { return null; } if (result.getEffectiveModel() != null) { return result.getEffectiveModel(); } return result.getRawModel(); } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
*/ public String getModelId() { 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) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
throws ModelBuilderException { ModelBuilderResult result = buildModel(session, src); Model model = result.getEffectiveModel(); return transformBom(model, project); } protected Model buildNonPom(RepositorySystemSession session, MavenProject project, ModelSource src) throws ModelBuilderException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
.recursive(false) // We only want this POM, not its modules .build(); ModelBuilderResult result = modelBuilder.newSession().build(request); Model effectiveModel = result.getEffectiveModel(); // Analyze plugins from effective model return analyzePluginsFromEffectiveModel(context, effectiveModel, pluginUpgrades); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0)