- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getModelIds (0.28 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
* an empty string that by definition denotes the super POM. * * @return The model identifiers from the lineage of models, never {@code null}. */ @Nonnull List<String> getModelIds(); /** * Gets the file model. * * @return the file model, never {@code null}. */ @Nonnull Model getFileModel(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() { if (result == null || result.getModelIds().isEmpty()) { return ""; } return result.getModelIds().get(0); } /** * Gets the problems that caused this exception. * * @return The problems that caused this exception, never {@code null}. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
private void initParent(MavenProject project, Map<File, MavenProject> projects, ModelBuilderResult result) { Model parentModel = result.getModelIds().size() > 1 && !result.getModelIds().get(1).isEmpty() ? result.getRawModel(result.getModelIds().get(1)).orElse(null) : null; if (parentModel != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 56.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java
this.effectiveModel = result.getEffectiveModel(); this.fileModel = result.getFileModel(); this.problems.addAll(result.getProblems()); for (String modelId : result.getModelIds()) { this.modelIds.add(modelId); this.rawModels.put(modelId, result.getRawModel(modelId).orElseThrow()); this.activePomProfiles.put(modelId, result.getActivePomProfiles(modelId)); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java
add(problem); } public ModelBuilderException newModelBuilderException() { ModelBuilderResult result = this.result; if (result.getModelIds().isEmpty()) { DefaultModelBuilderResult tmp = new DefaultModelBuilderResult(); tmp.setEffectiveModel(result.getEffectiveModel()); tmp.setProblems(getProblems());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.3K bytes - Viewed (0)