- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for getPaths (0.06 seconds)
-
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) -
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) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
syncContext.acquire(null, Collections.singleton(metadata)); if (metadata.getPath() != null && Files.exists(metadata.getPath())) { try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new Versioning( new MetadataStaxReader().read(in, false).getVersioning());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File f = new File(getBasedir(), path); f.createNewFile(); return artifactRepositoryFactory.createArtifactRepository( "test", "file://" + f.getPath(), repoLayout, null, null); } protected String getRepositoryLayout() { return "default"; } protected ArtifactRepository localRepository() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
+ new File(System.getProperty("basedir", "."), "src/test/remote-repo") .getAbsoluteFile() .toURI() .getPath(), new DefaultRepositoryLayout(), new ArtifactRepositoryPolicy(), new ArtifactRepositoryPolicy()); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
if (metadata != null && metadata.getPath() != null && Files.isRegularFile(metadata.getPath())) { try { Map<String, ?> options = Collections.singletonMap(MetadataReader.IS_STRICT, Boolean.FALSE); Metadata pluginGroupMetadata = metadataReader.read(metadata.getPath().toFile(), options);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 17 13:14:10 GMT 2025 - 11.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
* * @return an optional containing the path to the project, or empty if not specified */ @Nonnull Optional<Path> getPath(); /** * Gets the source of the project to build. * This is an alternative to specifying a path, allowing the project to be built from * a model source such as a string or input stream. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Nonnull @Override public Optional<Path> getPath(@Nonnull Project project) { requireNonNull(project, "project" + " cannot be null"); Optional<ProducedArtifact> mainArtifact = project.getMainArtifact(); return mainArtifact.flatMap(artifactManager::getPath); } @Nonnull @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0)