- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 93 for getPaths (0.04 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* This collection has the same content as {@code getDependencies.values()} except that it does not contain * null elements. * * @return the paths of all dependencies */ @Nonnull List<Path> getPaths(); /** * Returns the file paths of all dependencies and their assignments to different paths. * The {@link PathType} keys identify, for example, {@code --class-path} or {@code --module-path} options.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}. * * @param artifact the artifact for which to get a path * @return path associated to the given artifact * * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact) */ @Nonnull Optional<Path> getArtifactPath(@Nonnull Artifact artifact); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
if (t == Node.class) { result = res.getNodes(); } else if (t == Path.class) { result = res.getPaths(); } } else if (field.getType() == Map.class && field.getGenericType() instanceof ParameterizedType pt) { Type k = pt.getActualTypeArguments()[0];
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 16:35:21 GMT 2025 - 46.4K bytes - Click Count (0) -
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() {
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/test/java/org/apache/maven/api/services/ModelSourceTest.java
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()); } @Test void testModelIdFormat() { String location = "/tmp/test.xml";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
indent.append(" "); } } else if (collectStepTrace != null) { if (collectStepTrace.getPath().get(0).getArtifact() == null) { return; } baseName = ArtifactIdUtils.toId(collectStepTrace.getPath().get(0).getArtifact()) .replace(":", "_"); trackingFile = trackingDir.resolve(baseName + ext);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 10.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
Files.deleteIfExists(target); result = null; } else if (!Files.exists(src.getPath())) { Files.deleteIfExists(target); result = ""; } else { String current = ChecksumAlgorithmHelper.calculate( src.getPath(), List.of(new Sha1ChecksumAlgorithmFactory())) .get(Sha1ChecksumAlgorithmFactory.NAME);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 4.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} @Override public String getPathForLocalMetadata(Metadata metadata) { return getPath(metadata, "local"); } @Override public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) { return getPath(metadata, getRepositoryKey(repository, context)); } String getRepositoryKey(RemoteRepository repository, String context) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} @Override public String getPathForLocalMetadata(Metadata metadata) { return getPath(metadata, "local"); } @Override public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) { return getPath(metadata, getRepositoryKey(repository, context)); } String getRepositoryKey(RemoteRepository repository, String context) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
this.path = requireNonNull(path, "path").normalize(); this.location = location != null ? location : this.path.toString(); } @Override @Nullable public Path getPath() { return path; } @Override @Nonnull public InputStream openStream() throws IOException { return Files.newInputStream(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)