Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for storedInArtifactVersionDirectory (0.43 sec)

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

            }
        }
    
        public String toString() {
            return "project information for " + artifact.getArtifactId() + " " + artifact.getVersion();
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return true;
        }
    
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
        public Object getKey() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return true;
        }
    
        public String getGroupId() {
            return artifact.getGroupId();
        }
    
        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            super(createMetadata(artifact, versioning));
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return false;
        }
    
        public String getGroupId() {
            return artifact.getGroupId();
        }
    
        public String getArtifactId() {
            return artifact.getArtifactId();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            if (!metadata.storedInGroupDirectory()) {
                path.append(metadata.getArtifactId()).append(PATH_SEPARATOR);
    
                if (metadata.storedInArtifactVersionDirectory()) {
                    path.append(metadata.getBaseVersion()).append(PATH_SEPARATOR);
                }
            }
    
            path.append(filename);
    
            return path.toString();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

        /**
         * Whether this metadata should be stored alongside the artifact.
         *
         * @return whether this metadata should be stored alongside the artifact
         */
        boolean storedInArtifactVersionDirectory();
    
        /**
         * Whether this metadata should be stored alongside the group.
         *
         * @return whether this metadata should be stored alongside the group
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

            super(new Metadata());
            this.groupId = groupId;
        }
    
        public boolean storedInGroupDirectory() {
            return true;
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return false;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        public String getArtifactId() {
            return metadata.storedInGroupDirectory() ? "" : emptify(metadata.getArtifactId());
        }
    
        public String getVersion() {
            return metadata.storedInArtifactVersionDirectory() ? emptify(metadata.getBaseVersion()) : "";
        }
    
        public String getType() {
            return metadata.getRemoteFilename();
        }
    
        private String emptify(String string) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            private final Metadata metadata;
    
            ArtifactMetadataAdapter(Metadata metadata) {
                this.metadata = metadata;
            }
    
            public boolean storedInArtifactVersionDirectory() {
                return !metadata.getVersion().isEmpty();
            }
    
            public boolean storedInGroupDirectory() {
                return metadata.getArtifactId().isEmpty();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top