- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 136 for getPath (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
.setPluginArtifactRepositories(repositories) .setProcessPlugins(request.isProcessPlugins()); ProjectBuildingResult res; if (request.getPath().isPresent()) { Path path = request.getPath().get(); res = builder.build(path.toFile(), req); } else if (request.getSource().isPresent()) { Source source = request.getSource().get();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Sep 13 09:44:11 GMT 2025 - 8.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
this.basedir = null; } else { try { URL url = new URL(repository.getUrl()); if ("file".equals(url.getProtocol())) { basedir = new File(url.getPath()); } } catch (MalformedURLException e) { throw new IllegalStateException(e); } } } @Override public void close() {}Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
/** * An XML writer request. * * @since 4.0.0 * @param <T> the object type to read */ @Experimental public interface XmlWriterRequest<T> { @Nullable Path getPath(); @Nullable OutputStream getOutputStream(); @Nullable Writer getWriter(); @Nonnull T getContent(); @Nullable
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Aug 10 22:21:50 GMT 2024 - 4.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done result = file.getPath(); } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root result = file.getAbsolutePath(); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
Path actual = project.getFile().toPath(); Path parent = project.getBaseDirectory(); ModelSource source = new ModelSource() { @Override public Path getPath() { return actual; } @Override public InputStream openStream() throws IOException { return Files.newInputStream(actual); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 8.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
System.out.println("serving docs at http://localhost:" + getPort().get()); DeploymentRegistry registry = getDeploymentRegistry(); JavaApplicationHandle handle = registry.get(getPath(), JavaApplicationHandle.class); if (handle == null) { JavaExecHandleBuilder builder = getExecActionFactory().newJavaExec();
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Apr 18 12:38:47 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
Path path = paths.get(id); if (path == null && artifact instanceof DefaultArtifact defaultArtifact) { path = defaultArtifact.getArtifact().getPath(); } return Optional.ofNullable(path); } @Override public void setPath(@Nonnull ProducedArtifact artifact, Path path) { String id = id(requireNonNull(artifact, "artifact cannot be null"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
} else if (path.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with base dir but with drive root result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java
* * @param artifact The {@link Artifact} whose path is to be retrieved. * @return The {@link Path} to the artifact, or {@code null} if unavailable. */ @Nullable Path getPath(@Nonnull Artifact artifact); /** * Returns a mapping of artifact coordinates to their corresponding resolution results. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4.7K bytes - Click Count (0)