- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 183 for setExtension (0.34 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 6.2K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactoryTest.groovy
def task = Mock(Task) def taskDependency = TestFiles.taskDependencyFactory().configurableDependency(ImmutableSet.of(task)) def publishArtifact = Stub(PublishArtifact) { getName() >> 'name' getExtension() >> 'extension' getType() >> 'type' getFile() >> new File('foo') getBuildDependencies() >> taskDependency } def dependencies = Collections.singleton(Mock(Task))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 8.6K 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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 6.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 12 11:08:37 UTC 2023 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy
from 'dir2' from 'dir1' } """ } ArchiveTestFixture archive(TestFile archiveFile) { String type = FilenameUtils.getExtension(archiveFile.name) if (type == 'zip') { new ZipTestFixture(archiveFile) } else { new TarTestFixture(archiveFile) } } def createTestFiles() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 14:30:00 UTC 2024 - 11.3K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishBasicIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 11.3K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactoryTest.groovy
def taskDependency = TestFiles.taskDependencyFactory().configurableDependency(dependencies) def fileNotationParser = Mock(NotationParser) def publishArtifact = Stub(PublishArtifact) { getExtension() >> 'extension' getClassifier() >> 'classifier' getFile() >> new File('foo') getBuildDependencies() >> taskDependency } NotationParser<Object, MavenArtifact> parser
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 9.3K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 13.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/parse.go
end = scan.acceptMinSize(3) } case 'x': end = scan.acceptMinSize(1) default: end = scan.acceptMinSize(2) } return end } // getExtension returns the name, body and end position of the extension. func getExtension(s string, p int) (end int, ext string) { if s[p] == '-' { p++ } if s[p] == 'x' { return len(s), s[p:] } end = nextExtension(s, p) return end, s[p:end]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.9K bytes - Viewed (0)