- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 136 for getPath (0.06 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
File file = artifact.getFile(); this.artifact = ArtifactUtils.copyArtifact(artifact); if ("pom".equals(artifact.getType()) && file != null) { pomHash = file.getPath().hashCode() + file.lastModified(); } else { pomHash = 0; } this.resolveManagedVersions = resolveManagedVersions; this.repositories.add(localRepository);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 11.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
policy.setUpdatePolicy("always"); Repository repository = new Repository(); repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID); repository.setUrl("file://" + repoDir.toURI().getPath()); repository.setReleases(policy); repository.setSnapshots(policy); return Arrays.asList(MavenRepositorySystem.buildArtifactRepository(repository)); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
} catch (ArtifactResolutionException e) { throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e); } Path pomFile = pomArtifact.getPath(); return new FileModelSource(pomFile); } @Override public ModelSource resolveModel(final Parent parent) throws UnresolvableModelException { try {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 10.8K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} } static void forEachLeakingJavaProcess(File rootProjectDir, BiConsumer<String, String> action) { Pattern commandLineArgsPattern = Pattern.compile(generateLeakingProcessKillPattern(rootProjectDir.getPath())); forEachJavaProcess(ps(), commandLineArgsPattern, action); } private static void forEachJavaProcess(List<String> psOutput, Pattern commandLineArgsPattern, BiConsumer<String, String> action) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
File testPom = getTestFile("src/test/resources/projects/pom-with-profiles/pom.xml"); try (FileSystem fs = Jimfs.newFileSystem(fsName, fsConfig)) { Path path = fs.getPath("projects", "pom-with-profiles", "pom.xml"); Files.createDirectories(path.getParent()); Files.copy(testPom.toPath(), path); ModelSource source = Sources.buildSource(path);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 33.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} Map<String, String> props = null; if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) { String localPath = (artifact.getFile() != null) ? artifact.getFile().getPath() : ""; props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, localPath); } Artifact result = new DefaultArtifact( artifact.getGroupId(),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
File pom = getProject("it0063"); Properties eps = new Properties(); eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath()); MavenSession session = createMavenSession(pom, eps); MavenProject project = session.getCurrentProject();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 17.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull(); assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 25.7K bytes - Click Count (0) -
mockwebserver-deprecated/api/mockwebserver.api
public final fun getHeader (Ljava/lang/String;)Ljava/lang/String; public final fun getHeaders ()Lokhttp3/Headers; public final fun getMethod ()Ljava/lang/String; public final fun getPath ()Ljava/lang/String; public final fun getRequestLine ()Ljava/lang/String; public final fun getRequestUrl ()Lokhttp3/HttpUrl; public final fun getSequenceNumber ()I public final fun getTlsVersion ()Lokhttp3/TlsVersion;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 10.2K bytes - Click Count (0)