- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getHash (0.16 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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 MetadataStaxReader().read(in, false).getVersioning();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 10K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java
} /** * Shortcut for <code>getService(ArtifactManager.class).getPath(...)</code> * * @see ArtifactManager#getPath(Artifact) */ @Nonnull @Override public Optional<Path> getArtifactPath(@Nonnull Artifact artifact) { return getService(ArtifactManager.class).getPath(artifact); } /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 27.5K bytes - Viewed (0) -
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 {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 13.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java
syncContext.acquire(null, Collections.singleton(metadata)); if (metadata.getPath() != null && Files.exists(metadata.getPath())) { try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new MetadataStaxReader().read(in, false).getVersioning();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 20.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
return type; } /** @return the classifier */ public String getClassifier() { return this.classifier; } /** @return the path */ public String getPath() { return this.path; } public List<ArtifactRepository> getRemoteRepositories() { return remoteRepositories; } public String getOriginalMessage() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 10.1K bytes - Viewed (0) -
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);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 15 14:24:56 UTC 2023 - 11.8K bytes - Viewed (0) -
maven-compat/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(repositorySystem.buildArtifactRepository(repository)); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 11.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java
.projectBuild(false) .processPlugins(false) .twoPhaseBuilding(false) .source(ModelSource.fromPath(pomArtifact.getPath(), gav)) // This merge is on purpose because otherwise user properties would override model // properties in dependencies the user does not know. See MNG-7563 for details.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 10 11:04:53 UTC 2024 - 15.8K bytes - Viewed (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); /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 30.2K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
return new ArtifactManager() { private final Map<Artifact, Path> paths = new ConcurrentHashMap<>(); @Override public Optional<Path> getPath(Artifact artifact) { return Optional.ofNullable(paths.get(artifact)); } @Override public void setPath(Artifact artifact, Path path) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 17.1K bytes - Viewed (0)