- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for Sources (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
/** * Factory methods for creating different types of sources. * <p> * This class provides specialized source implementations for different use cases: * <ul> * <li>Path sources - simple access to file content</li> * <li>Build sources - POM files being actively built by Maven</li> * <li>Resolved sources - POMs resolved from repositories</li> * </ul> * * @since 4.0.0 */ @Experimental
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.2K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Path path = Paths.get("/tmp"); Source source = Sources.fromPath(path); assertNotNull(source); assertInstanceOf(Sources.PathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp"); ModelSource source = Sources.buildSource(path); assertNotNull(source);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* <li>Resolved sources: Used for artifacts that have been resolved by Maven from repositories * (using groupId:artifactId:version coordinates) and downloaded to the local repository. * These sources do not support resolving other sources.</li> * </ul> * * @since 4.0.0 * @see Source */ public interface ModelSource extends Source { /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
ModelSource source = Sources.resolvedSource(path, modelId); assertNotNull(source); assertEquals(modelId, source.getModelId(), "Resolved source should return the provided modelId"); assertNull(source.getPath(), "Resolved sources should return null for getPath()"); assertEquals(path.toString(), source.getLocation()); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 2.5K bytes - Viewed (0) -
pom.xml
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 49.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 4.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java
Model orgModel = mbs.build(ModelBuilderRequest.builder() .session(InternalSession.from(session)) .source(Sources.buildSource(file)) .requestType(ModelBuilderRequest.RequestType.BUILD_PROJECT) .build()) .getEffectiveModel();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
List<ByteSource> sources = new ArrayList<>(); int start = 0; for (Integer span : spans) { sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
List<ByteSource> sources = new ArrayList<>(); int start = 0; for (Integer span : spans) { sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 20.1K bytes - Viewed (0)