- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for getExtensions (0.18 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
public class ArtifactDescriptorUtils { public static Artifact toPomArtifact(Artifact artifact) { Artifact pomArtifact = artifact; if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) { pomArtifact = new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion()); } return pomArtifact; } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java
this.language = language; this.addedToClasspath = addedToClasspath; } public String getType() { return type; } @Override public String getExtension() { if (extension == null) { return type; } return extension; } public void setExtension(final String extension) { this.extension = extension; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
} private String id(org.apache.maven.artifact.Artifact artifact) { return artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + artifact.getArtifactHandler().getExtension() + (artifact.getClassifier() == null || artifact.getClassifier().isEmpty() ? "" : ":" + artifact.getClassifier())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K 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) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
} private PluginInfo extractPluginInfo(Artifact artifact) { // sanity: jar, no classifier and file exists if (artifact != null && "jar".equals(artifact.getExtension()) && "".equals(artifact.getClassifier()) && artifact.getPath() != null) { Path artifactPath = artifact.getPath(); if (Files.isRegularFile(artifactPath)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java
} @Override public String getId() { return id(); } @Override public Language getLanguage() { return language; } @Override public String getExtension() { return extension; } @Override public String getClassifier() { return classifier; } @Override public boolean isIncludesDependencies() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException { String extension = artifact.getArtifactHandler().getExtension(); File source = new File(basedir, finalName + "." + extension); install(source, artifact, localRepository); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Type.java
Language getLanguage(); /** * Get the file extension of artifacts of this type. * * @return the file extension, never {@code null}. */ @Nonnull String getExtension(); /** * Get the default classifier associated to the dependency type. * The default classifier can be overridden when specifying * the {@link Dependency#getClassifier()}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
? session.parseVersion(project.getVersion()).asString() : artifact.getBaseVersion().asString(), artifact.getClassifier(), artifact.getExtension(), null); } if (!Objects.equals(project.getGroupId(), artifact.getGroupId()) || !Objects.equals(project.getArtifactId(), artifact.getArtifactId())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0)