- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for fromPath (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
@Nonnull static SettingsBuilderRequest build( @Nonnull ProtoSession session, @Nonnull Path installationSettingsPath, @Nonnull Path userSettingsPath) { return build(session, Sources.fromPath(installationSettingsPath), null, Sources.fromPath(userSettingsPath)); } @Nonnull static SettingsBuilderRequest build( @Nonnull ProtoSession session, @Nullable Source installationSettingsSource,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes()); assertEquals(content, readContent); } } @Test void testNullHandling() { assertThrows(NullPointerException.class, () -> Sources.fromPath(null));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/ToolchainsBuilderRequest.java
? Sources.fromPath(installationToolchainsFile) : null) .userToolchainsSource( userToolchainsPath != null && Files.exists(userToolchainsPath) ? Sources.fromPath(userToolchainsPath) : null) .build(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 6.3K bytes - Viewed (0) -
src/cmd/api/main_test.go
func (w *Walker) ImportFrom(fromPath, fromDir string, mode types.ImportMode) (*types.Package, error) { pkg, err := w.importFrom(fromPath, fromDir, mode) if err != nil { return nil, err } return pkg.Package, nil } func (w *Walker) import_(name string) (*apiPackage, error) { return w.importFrom(name, "", 0) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* * @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")); } /** * Creates a new build source for the specified path.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
? Sources.fromPath(installationSettingsFile) : null) .projectSettingsSource( projectSettingsFile != null && Files.exists(projectSettingsFile) ? Sources.fromPath(projectSettingsFile) : null) .userSettingsSource(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
? Sources.fromPath(installationToolchainsFile) : null) .userToolchainsSource( userToolchainsFile != null && Files.isRegularFile(userToolchainsFile) ? Sources.fromPath(userToolchainsFile) : null) .build();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 28.2K bytes - Viewed (0) -
RELEASE.md
Deven Desai, Diego Caballero, Duncan Dean, Duncan Riach, Dwight J Lyle, Eamon Ito-Fisher, eashtian3, EFanZh, ejot, Elroy Ashtian Jr, Eric Schweitz, Fangjun Kuang, Fei Hu, fo40225, formath, Fred Reiss, Frederic Bastien, Fredrik Knutsson, G. Hussain Chinoy, Gabriel, gehring, George Grzegorz Pawelczak, Gianluca Varisco, Gleb Popov, Greg Peatfield, Guillaume Klein, Gurpreet Singh, Gustavo
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Oct 28 22:27:41 UTC 2025 - 740.4K bytes - Viewed (3)