Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 590 for metadata_ (0.12 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            String dateBefore = gregorianDate();
    
            RemoteSnapshotMetadata metadata =
                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null);
            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
            String datePart = DATE_FILTER.matcher(ts).replaceAll("");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

    import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

        }
    
        /**
         * Method write.
         *
         * @param writer   a writer object
         * @param metadata a Metadata object
         * @throws java.io.IOException java.io.IOException if any
         */
        public void write(Writer writer, Metadata metadata) throws java.io.IOException {
            try {
                delegate.write(writer, metadata.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

    import java.util.Map;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.artifact.repository.metadata.Snapshot;
    import org.apache.maven.artifact.repository.metadata.SnapshotVersion;
    import org.apache.maven.artifact.repository.metadata.Versioning;
    import org.eclipse.aether.artifact.Artifact;
    
    /**
     * Maven local GAV level metadata.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            super(createRepositoryMetadata(artifact), path, timestamp);
            this.artifact = artifact;
        }
    
        private static Metadata createRepositoryMetadata(Artifact artifact) {
            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
    
            Versioning versioning = new Versioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. internal/crypto/sse-s3.go

    	}
    
    	if len(metadata) != len(buckets) || len(metadata) != len(objects) {
    		return nil, Errorf("invalid metadata/object count: %d != %d != %d", len(metadata), len(buckets), len(objects))
    	}
    	keys := make([]ObjectKey, 0, len(metadata))
    	for i := range metadata {
    		key, err := s3.UnsealObjectKey(k, metadata[i], buckets[i], objects[i])
    		if err != nil {
    			return nil, err
    		}
    		keys = append(keys, key)
    	}
    	return keys, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                RequestTrace trace,
                Metadata metadata,
                ArtifactRepository repository,
                VersionRangeResult result) {
            Versioning versioning = null;
            try {
                if (metadata != null) {
                    try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) {
                        syncContext.acquire(null, Collections.singleton(metadata));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

        /**
         * Merge a new metadata set into this piece of metadata.
         * TODO this should only be needed on the repository metadata {@link org.apache.maven.artifact.metadata.ArtifactMetadata}
         *
         * @param metadata the new metadata
         */
        void merge(ArtifactMetadata metadata);
    
        /**
         * Store the metadata in 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException;
    import org.apache.maven.artifact.repository.metadata.Snapshot;
    import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata.io;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    
    /**
     * Handles deserialization of metadata from some kind of textual format like XML.
     *
     */
    public interface MetadataReader {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top