Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for storedInGroupDirectory (0.13 sec)

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

        public SnapshotArtifactRepositoryMetadata(Artifact artifact, Snapshot snapshot) {
            super(createMetadata(artifact, createVersioning(snapshot)));
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return true;
        }
    
        public String getGroupId() {
            return artifact.getGroupId();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

        protected Artifact artifact;
    
        protected AbstractArtifactMetadata(Artifact artifact) {
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            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
    - 1.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            StringBuilder path = new StringBuilder(128);
    
            path.append(formatAsDirectory(metadata.getGroupId())).append(PATH_SEPARATOR);
            if (!metadata.storedInGroupDirectory()) {
                path.append(metadata.getArtifactId()).append(PATH_SEPARATOR);
    
                if (metadata.storedInArtifactVersionDirectory()) {
                    path.append(metadata.getBaseVersion()).append(PATH_SEPARATOR);
    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. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        public ArtifactRepositoryMetadata(Artifact artifact, Versioning versioning) {
            super(createMetadata(artifact, versioning));
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return false;
        }
    
        public String getGroupId() {
            return artifact.getGroupId();
        }
    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 group.
         *
         * @return whether this metadata should be stored alongside the group
         */
        boolean storedInGroupDirectory();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getBaseVersion();
    
        Object getKey();
    
        /**
         * Get the filename of this metadata on the local repository.
    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

        private final String groupId;
    
        public GroupRepositoryMetadata(String groupId) {
            super(new Metadata());
            this.groupId = groupId;
        }
    
        public boolean storedInGroupDirectory() {
            return true;
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return false;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
    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

            return merged;
        }
    
        public String getGroupId() {
            return emptify(metadata.getGroupId());
        }
    
        public String getArtifactId() {
            return metadata.storedInGroupDirectory() ? "" : emptify(metadata.getArtifactId());
        }
    
        public String getVersion() {
            return metadata.storedInArtifactVersionDirectory() ? emptify(metadata.getBaseVersion()) : "";
        }
    
    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

                this.metadata = metadata;
            }
    
            public boolean storedInArtifactVersionDirectory() {
                return !metadata.getVersion().isEmpty();
            }
    
            public boolean storedInGroupDirectory() {
                return metadata.getArtifactId().isEmpty();
            }
    
            public String getGroupId() {
                return nullify(metadata.getGroupId());
            }
    
    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