- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getExtension (1.28 sec)
-
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/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) -
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-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
assertEquals( "sources", target.getVersioning().getSnapshotVersions().get(0).getClassifier()); assertEquals("jar", target.getVersioning().getSnapshotVersions().get(0).getExtension()); assertEquals( "20200710072412", target.getVersioning().getSnapshotVersions().get(0).getUpdated()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
Artifact artifact = artifactFactory.createBuildArtifact("test", "test", version, type); artifact.setFile(new File( testData, "test-" + version + "." + artifact.getArtifactHandler().getExtension())); assertFalse(artifact.getFile().exists()); return artifact; } private ArtifactRepository createStringRepo() { return artifactRepositoryFactory.createArtifactRepository(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
} private static String getId(Artifact artifact) { return getId( artifact.getGroupId(), artifact.getArtifactId(), artifact.getExtension(), artifact.getClassifier(), artifact.getBaseVersion()); } private static String getId(ClassRealmConstituent constituent) { return getId(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
return version; } public void setVersion(String version) { this.version = version; } public String getExtension() { return extension; } public void setExtension(String extension) { this.extension = extension; } public String getClassifier() { return classifier; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
<codeSegment> <version>1.0.0/1.1.0</version> <code><![CDATA[ private String getSnapshotVersionKey( SnapshotVersion sv ) { return sv.getClassifier() + ":" + sv.getExtension(); } public boolean merge( Metadata sourceMetadata ) { boolean changed = false; for ( Plugin plugin : sourceMetadata.getPlugins() ) { boolean found = false;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
} } /** * パスの拡張子を返します。 * * @param path * パス。{@literal null}であってはいけません * @return 拡張子 */ public static String getExtension(final String path) { assertArgumentNotNull("path", path); final int extPos = path.lastIndexOf("."); if (extPos >= 0) { return path.substring(extPos + 1); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0)