- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setModelSource (0.07 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
ModelBuilder builder = new DefaultModelBuilderFactory().newInstance(); assertNotNull(builder); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); request.setModelSource(new StringModelSource(BASE1)); request.setModelResolver(new CycleInImportsResolver()); assertThrows(ModelBuildingException.class, () -> builder.build(request)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
* * @param request The request to copy, must not be {@code null}. */ public DefaultModelBuildingRequest(ModelBuildingRequest request) { setPomPath(request.getPomPath()); setModelSource(request.getModelSource()); setValidationLevel(request.getValidationLevel()); setProcessPlugins(request.isProcessPlugins()); setTwoPhaseBuilding(request.isTwoPhaseBuilding());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
/** * Sets the source of the POM to process. Eventually, either {@link #setModelSource(ModelSource)} or * {@link #setPomPath(Path)} must be set. * * @param modelSource The source of the POM to process, may be {@code null}. * @return This request, never {@code null}. */ ModelBuildingRequest setModelSource(ModelSource modelSource); /** * Gets the POM file of the project to build.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
if (resolveResult.getRepository() instanceof WorkspaceRepository) { modelRequest.setPomPath(pomArtifact.getPath()); } else { modelRequest.setModelSource(new ArtifactModelSource( pomArtifact.getPath(), pomArtifact.getGroupId(), pomArtifact.getArtifactId(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0)