- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 136 for getPath (0.07 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
assertNotNull(resolved); assertNotNull(resolved.getPath()); Optional<Path> op = session.getArtifactPath(resolved); assertTrue(op.isPresent(), "Expected " + op + ".isPresent() to return true"); assertEquals(resolved.getPath(), op.get()); } @Test void testBuildProject() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 10.2K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java
*/ @Experimental @Immutable public interface DownloadedArtifact extends Artifact { /** * {@return the a path to the file that has been downloaded to the file system}. */ Path getPath();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java
&& artifact.getClassifier().isEmpty()) { try { Path tmpPom = Files.createTempFile("pom-inliner-", ".xml"); String originalPom = Files.readString(artifact.getPath()); String interpolatedPom = interpolator.interpolate( originalPom, property -> { if (needsInlining.contains(property)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
} @Override public ModelSource2 getRelatedSource(String relPath) { relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path relatedPom = getPath().getParent().resolve(relPath); if (Files.isDirectory(relatedPom)) { // TODO figure out how to reuse ModelLocator.locatePom(File) here relatedPom = relatedPom.resolve("pom.xml"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 2.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI()); try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) { Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE); if (Files.exists(upgradedPropertiesJson)) { Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING); } else {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
Path createFile() throws IOException { Path file = java.nio.file.Files.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } Path getPath() { return fileThreadLocal.get(); } // acts as an override in subclasses that implement SourceSinkFactory @SuppressWarnings("EffectivelyPrivate")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 17.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
return value.substring(2, value.length() - 1); } return value; }; BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile(); DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest(); request.setBean(bean).setConfiguration(config);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/repository/TestMavenRepositorySystem.java
+ new File(System.getProperty("basedir", "."), "src/test/remote-repo") .getAbsoluteFile() .toURI() .getPath(), new DefaultRepositoryLayout(), new ArtifactRepositoryPolicy(), new ArtifactRepositoryPolicy()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0)