Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for getArtifact (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    this.timestamp = -1;
                }
            }
    
            public Artifact getArtifact() {
                return pomArtifact;
            }
    
            public Artifact getRelocatedArtifact() {
                return relocatedArtifact;
            }
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
    
            public Map<String, Artifact> getManagedVersions() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

    abstract class FindGradleJars implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File baselineJarsDirectory = artifact.get().asFile
            if (baselineJarsDirectory.name == 'gradle-jars') {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 11 12:20:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                throws VersionResolutionException {
            RequestTrace trace = RequestTrace.newChild(request.getTrace(), request);
    
            Artifact artifact = request.getArtifact();
    
            String version = artifact.getVersion();
    
            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

            for (ArtifactRequest request : requests) {
                ArtifactResult result = new ArtifactResult(request);
                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    
        @Nonnull
        default Collection<Dependency> getDependencies() {
            return getDependenciesMap().values();
        }
    
        @Nonnull
        Map<String, Dependency> getDependenciesMap();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

    abstract class FindGradleClasspath implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File artifactFile = artifact.get().asFile
            if (artifactFile.name == 'gradle-dependencies') {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

        public FatArtifactTraverser() {}
    
        @Override
        public boolean traverseDependency(Dependency dependency) {
            requireNonNull(dependency, "dependency cannot be null");
            String prop = dependency.getArtifact().getProperty(MavenArtifactProperties.INCLUDES_DEPENDENCIES, "");
            return !Boolean.parseBoolean(prop);
        }
    
        @Override
        public DependencyTraverser deriveChildTraverser(DependencyCollectionContext context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        public ResolutionGroup retrieve(MetadataResolutionRequest request) {
            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            }
            return result;
        }
    
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top