- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 32 for setExtension (0.14 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.7K bytes - Click Count (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); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (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} otherwiseCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 4.6K bytes - Click Count (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,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
|| ("jar".equals(artifact.getExtension()) && "tests".equals(artifact.getClassifier())); } private File findInProjectLocalRepository(Artifact artifact) { // Prefer the consumer POM when resolving POMs from the project-local repository, // to avoid treating a build POM as a repository (consumer) POM. if ("pom".equals(artifact.getExtension())) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.5K bytes - Click Count (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(); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (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 {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java
this.type = type; } @Override public String getId() { return type.id(); } @Override public String getExtension() { return type.getExtension(); } @Override public String getClassifier() { return type.getClassifier() == null ? "" : type.getClassifier(); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 19 13:42:58 GMT 2026 - 4.3K bytes - Click Count (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");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0)