Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for setClassifier (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        //        setArtifactId( af.getArtifactId() );
        //        setVersion( af.getVersion() );
        //        setType( af.getType() );
        //        setScope( af.getScope() );
        //        setClassifier( af.getClassifier() );
        //        //setUri( af.getDownloadUrl() );
        //
        //        this.resolved = af.isResolved();
        //    }
    
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

            return extension;
        }
    
        public void setExtension(final String extension) {
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        public void setClassifier(final String classifier) {
            this.classifier = classifier;
        }
    
        @Override
        public String getDirectory() {
            if (directory == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

            this.directory = directory;
        }
    
        @Override
        public String getDirectory() {
            return directory;
        }
    
        public void setClassifier(String classifier) {
            this.classifier = classifier;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        public void setPackaging(String packaging) {
            this.packaging = packaging;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

        public String getVersion() {
            return version;
        }
    
        public void setVersion(String version) {
            this.version = version;
        }
    
        public String getClassifier() {
            return classifier;
        }
    
        public void setClassifier(String classifier) {
            this.classifier = classifier;
        }
    
        public String getType() {
            return type;
        }
    
        public void setType(String type) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            for (Artifact artifact : artifacts) {
                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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. 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();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            target.getVersioning().setSnapshot(snapshot);
            target.getVersioning().setLastUpdated("20200921071745");
            SnapshotVersion sv = new SnapshotVersion();
            sv.setClassifier("sources");
            sv.setExtension("jar");
            sv.setUpdated("20200710072412");
            target.getVersioning().addSnapshotVersion(sv);
    
            Metadata source = createMetadataFromArtifact(artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            }
    
            public void setExtension(String extension) {
                this.extension = extension;
            }
    
            public String getClassifier() {
                return classifier;
            }
    
            public void setClassifier(String classifier) {
                this.classifier = classifier;
            }
        }
    
        public static class Project {
            private String modelVersion;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

                return false;
            } else if (!a.getType().equals(getType())) {
                return false;
            } else {
                return a.getClassifier() == null
                        ? getClassifier() == null
                        : a.getClassifier().equals(getClassifier());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    + ":" + artifact.getArtifactId()
                    + ":" + artifact.getArtifactHandler().getExtension()
                    + (artifact.getClassifier() == null || artifact.getClassifier().isEmpty()
                            ? ""
                            : ":" + artifact.getClassifier())
                    + ":" + artifact.getVersion();
        }
    
        private String id(Artifact artifact) {
            return artifact.key();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top