- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 985 for source (0.03 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source) */ @Experimental public interface Source { /** * Provides access to the file backing this source, if available. * Not all sources are backed by files - for example, in-memory sources * or database-backed sources will return null. * * @return the underlying {@code Path} if this source is file-backed,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 09:46:53 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
import java.io.InputStream; /** * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory). * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead */ @Deprecated(since = "4.0.0") public interface Source { /** * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 1.8K bytes - Click Count (0) -
compat/maven-builder-support/src/test/resources/source.txt
Guillaume Nodet <******@****.***> 1729859506 +0200
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 12 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
public final class Sources { private Sources() {} /** * Creates a new source for the specified path. * * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
// merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here! Metadata source = new Metadata(); source.setArtifactId("source-artifact"); source.setGroupId("source-group"); source.setVersion("2.0"); assertFalse(target.merge(source)); assertEquals("myArtifact", target.getArtifactId()); assertEquals("myGroup", target.getGroupId());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 13.7K bytes - Click Count (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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
/** * Gets the installation settings source. * * @return the installation settings source or {@code null} if none */ @Nonnull Optional<Source> getInstallationSettingsSource(); /** * Gets the project settings source. * * @return the project settings source or {@code null} if none */ @Nonnull Optional<Source> getProjectSettingsSource(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
mergeModel_Name(target, source, sourceDominant, context); mergeModel_Description(target, source, sourceDominant, context); mergeModel_Url(target, source, sourceDominant, context); mergeModel_InceptionYear(target, source, sourceDominant, context); mergeModel_Organization(target, source, sourceDominant, context); mergeModel_Licenses(target, source, sourceDominant, context);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 11:21:39 GMT 2025 - 99.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
/** * Gets the installation Toolchains source. * * @return the installation Toolchains source or {@code null} if none */ @Nonnull Optional<Source> getInstallationToolchainsSource(); /** * Gets the user Toolchains source. * * @return the user Toolchains source or {@code null} if none */ @Nonnull Optional<Source> getUserToolchainsSource(); @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (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()); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0)