- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for getExtension (0.15 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
SnapshotVersion sv = new SnapshotVersion(); sv.setClassifier(artifact.getClassifier()); sv.setExtension(artifact.getExtension()); sv.setVersion(version); sv.setUpdated(lastUpdated); versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv); } artifacts.clear(); Versioning versioning = recessive.getVersioning();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom assertTrue(artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "".equals(a.getClassifier()))); assertTrue( artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "build".equals(a.getClassifier()))); } @Test void testDeployBuildPomDisabled() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
SnapshotVersion sv = new SnapshotVersion(); sv.setClassifier(artifact.getClassifier()); sv.setExtension(artifact.getExtension()); sv.setVersion(getVersion()); sv.setUpdated(lastUpdated); versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv); } Versioning versioning = recessive.getVersioning(); if (versioning != null) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
List<Artifact> mains = new ArrayList<>(); for (Artifact artifact : artifacts) { if ("pom".equals(artifact.getExtension()) || artifact.getExtension().startsWith("pom.")) { if (CONSUMER_POM_CLASSIFIER.equals(artifact.getClassifier())) { consumers.add(artifact); } else if ("".equals(artifact.getClassifier())) { mains.add(artifact); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
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} otherwiseRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9K 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(); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.6K bytes - Viewed (0) -
impl/maven-core/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(); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.5K bytes - Viewed (0)