- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for setExtension (0.08 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* The dot separator is not included in the returned string. * * @return the file extension or an empty string if none, never {@code null} * @see ArtifactCoordinates#getExtension() */ @Nonnull String getExtension(); /** * Determines whether this artifact uses a snapshot version. * * @return {@code true} if the artifact is a snapshot, {@code false} otherwise
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
isAny(relocation.target.getClassifier()) ? null : relocation.target.getClassifier(), isAny(relocation.target.getExtension()) ? null : relocation.target.getExtension(), isAny(relocation.target.getVersion()) ? null : relocation.target.getVersion(), relocation.global ? "User global relocation" : "User project relocation");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java
@Nonnull Session getSession(); String getGroupId(); String getArtifactId(); String getVersion(); String getClassifier(); String getExtension(); String getType(); String getCoordinatesString(); @Nonnull static ArtifactCoordinatesFactoryRequest build(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} public static ArtifactHandler newHandler(Artifact artifact) { String type = artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()); return new DefaultArtifactHandler( type, artifact.getExtension(), null, null, null,
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
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)); assertEquals("true", depArtifact.getProperty("constitutesBuildPath", 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) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
} /** * @throws Exception */ public void testGetExtension() throws Exception { assertEquals("1", "xml", ResourceUtil.getExtension("aaa/bbb.xml")); assertEquals("2", null, ResourceUtil.getExtension("aaa")); } /** * @throws Exception */ public void testRemoteExtension() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
* The dot separator is not included in the returned string. * * @return the file extension or an empty string if none, never {@code null} */ @Nonnull String getExtension(); /** * {@return a unique string representation identifying this artifact} * * The default implementation returns a colon-separated list of group
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K 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) { return builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 9.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-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java
return classifier; } else { return artifact.getClassifier(); } } @Override public String getExtension() { if (extension != null) { return extension; } else { return artifact.getExtension(); } } @Override public String getVersion() { if (version != null) { return version;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.1K bytes - Viewed (0)