- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for buildSource (0.19 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp"); ModelSource source = Sources.buildSource(path); assertNotNull(source); assertInstanceOf(Sources.BuildPathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testResolvedSource() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* @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")); } /** * Creates a new resolved source for the specified path and location.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
static ModelBuilderRequest build(@Nonnull Session session, @Nonnull Path path) { return builder() .session(requireNonNull(session, "session cannot be null")) .source(Sources.buildSource(path)) .build(); } @Nonnull static ModelBuilderRequestBuilder builder() { return new ModelBuilderRequestBuilder(); } @Nonnull
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 20:54:22 UTC 2025 - 16.3K bytes - Viewed (0)