- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for ModelSource (0.19 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource.java
* encouraged to implement {@link ModelSource2} instead of implementing this interface directly. * * @see ModelSource2 * @deprecated instead use {@link Source} */ @DeprecatedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java
*/ ModelData(ModelSource source, Model model, String groupId, String artifactId, String version) { this.source = source; this.model = model; setGroupId(groupId); setArtifactId(artifactId); setVersion(version); } public ModelSource getSource() { return source; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
} @Override public synchronized ModelSource getModelSource() { if (modelSource == null && pomFile != null) { modelSource = new FileModelSource(pomFile); } return modelSource; } @Override public DefaultModelBuildingRequest setModelSource(ModelSource modelSource) { this.modelSource = modelSource; return this; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 9.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* in the filesystem and support resolving related POMs. * * @param path the path to the POM file or project directory * @return a new ModelSource instance configured as a build source * @throws NullPointerException if path is null */ @Nonnull public static ModelSource buildSource(@Nonnull Path path) { return new BuildPathSource(requireNonNull(path, "path")); } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java
* supports version ranges and updates the given {@code parent} instance to match the returned {@code ModelSource}. * If {@code parent} declares a version range, the version corresponding to the returned {@code ModelSource} will * be set on the given {@code parent}. * </p> * * @param parent The parent coordinates to resolve, must not be {@code null}. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.8K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Test for ModelSource interface and its implementations. */ class ModelSourceTest { @Test void testBuildSourceHasNoModelId() { Path path = Paths.get("/tmp/pom.xml"); ModelSource source = Sources.buildSource(path); assertNotNull(source);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 16.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
} } private Model readModel( ModelSource modelSource, File pomFile, ModelBuildingRequest request, DefaultModelProblemCollector problems) throws ModelBuildingException { Model model; if (modelSource == null) { if (pomFile != null) { modelSource = new FileModelSource(pomFile); } else {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Path basePath = Paths.get("/tmp"); ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class); Path resolvedPath = Paths.get("/tmp/subproject/pom.xml"); when(locator.locateExistingPom(any(Path.class))).thenReturn(resolvedPath); Sources.BuildPathSource source = (Sources.BuildPathSource) Sources.buildSource(basePath); ModelSource resolved = source.resolve(locator, "subproject");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0)