- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 55 for getExtensions (0.09 sec)
-
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java
@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) { return ArtifactFactoryRequest.builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
return session.parseVersionConstraint(dependency.getVersion()); } @Override public String getExtension() { return getType().getExtension(); } @Override public Type getType() { String type = dependency.getType(); return session.requireType(type);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
// Implementation // private File findArtifact(MavenProject project, Artifact artifact, boolean checkUptodate) { // POMs are always returned from the file system if ("pom".equals(artifact.getExtension())) { return project.getFile(); } // Get the matching artifact from the project Artifact projectArtifact = findMatchingArtifact(project, artifact);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java
public String getClassifier() { return null; } @Override public String getDirectory() { return getPackaging() + "s"; } @Override public String getExtension() { return extension; } @Override public String getLanguage() { return "java"; } @Override public String getPackaging() { return type; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0)