- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 61 for setClassifier (0.09 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
result = 31 * result + a.getType().hashCode(); if (a.getVersion() != null) { result = 31 * result + a.getVersion().hashCode(); } result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0); result = 31 * result + (a.getScope() != null ? a.getScope().hashCode() : 0); result = 31 * result
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
String getArtifactId(); /** * Returns the classifier of the artifact. * * @return the classifier or an empty string if none, never {@code null} */ @Nonnull String getClassifier(); /** * {@return the specific version, range of versions or meta-version of the artifact} * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword. */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
path.append(artifact.getExtension()).append("s/"); path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion()); if (!artifact.getClassifier().isEmpty()) { path.append('-').append(artifact.getClassifier()); } path.append('.').append(artifact.getExtension()); return path.toString(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
.artifactId(coordinates.getArtifactId()) .version(coordinates.getVersionConstraint().asString()) .classifier(coordinates.getClassifier()) .extension(coordinates.getExtension()) .build(); } @Nonnull static DependencyCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull Dependency dependency) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 9.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
artifact.getArtifactId(), artifact.getVersion(), null, artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()), nullify(artifact.getClassifier()), handler); result.setFile(artifact.getFile()); result.setResolved(artifact.getFile() != null); List<String> trail = new ArrayList<>(1);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertEquals("1.0", depArtifact.getBaseVersion()); assertNull(depArtifact.getFile()); assertFalse(depArtifact.isSnapshot()); assertEquals("", depArtifact.getClassifier()); assertEquals("jar", depArtifact.getExtension()); assertEquals("java", depArtifact.getProperty("language", null)); assertEquals("jar", depArtifact.getProperty("type", null));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java
@Experimental @Immutable public interface ArtifactFactoryRequest { @Nonnull Session getSession(); String getGroupId(); String getArtifactId(); String getVersion(); String getClassifier(); String getExtension(); String getType(); static ArtifactFactoryRequest build( Session session, String groupId, String artifactId, String version, String extension) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 5.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
result.addException(exception); } } } else { String key = SNAPSHOT + getKey(artifact.getClassifier(), artifact.getExtension()); merge(infos, SNAPSHOT, key); if (!resolve(result, infos, key)) { result.setVersion(version); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java
this(type, type); } public TestArtifactHandler(String type, String extension) { this.type = type; this.extension = extension; } @Override public String getClassifier() { return null; } @Override public String getDirectory() { return getPackaging() + "s"; } @Override public String getExtension() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java
path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion()); if (artifact.hasClassifier()) { path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier()); } if (artifactHandler.getExtension() != null && !artifactHandler.getExtension().isEmpty()) { path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)