Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MetadataStaxWriter (0.29 sec)

  1. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    
    /**
     * Provide public methods from {@link MetadataStaxWriter}
     *
     * @deprecated Maven 3 compatability - please use {@link MetadataStaxWriter}
     */
    @Deprecated
    public class MetadataXpp3Writer {
    
        private final MetadataStaxWriter delegate;
    
        /**
         * Default constructor
         */
    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/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (changed || !metadataFile.exists()) {
                metadataFile.getParentFile().mkdirs();
                try (OutputStream output = Files.newOutputStream(metadataFile.toPath())) {
                    MetadataStaxWriter mappingWriter = new MetadataStaxWriter();
                    mappingWriter.write(output, metadata.getDelegate());
                }
            } else {
                metadataFile.setLastModified(System.currentTimeMillis());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

    import java.util.Date;
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    import org.eclipse.aether.RepositoryException;
    import org.eclipse.aether.metadata.AbstractMetadata;
    import org.eclipse.aether.metadata.MergeableMetadata;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.TimeZone;
    
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

    import org.apache.maven.artifact.repository.DefaultRepositoryRequest;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    import org.apache.maven.repository.legacy.UpdateCheckManager;
    import org.apache.maven.repository.legacy.WagonManager;
    import org.apache.maven.wagon.ResourceDoesNotExistException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top