Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for timeStamp (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            msg += (version != null ? version : "<version unknown>");
            if (rev != null || timestamp != null) {
                msg += " (";
                msg += (rev != null ? rev : "");
                if (timestamp != null && !timestamp.isEmpty()) {
                    String ts = formatTimestamp(Long.parseLong(timestamp));
                    msg += (rev != null ? "; " : "") + ts;
                }
                msg += ")";
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            String qualifier = formatDate(timestamp, true) + '-' + buildNumber;
            version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
            return addSnapshotVersion(versioning, artifact.getExtension(), timestamp, version, buildNumber);
        }
    
        private static SnapshotVersion addSnapshotVersion(
                Versioning versioning, String extension, Date timestamp, String version, int buildNumber) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

        RemoteSnapshotMetadata(Artifact artifact, Date timestamp, Integer buildNumber) {
            super(createRepositoryMetadata(artifact), null, timestamp);
            this.buildNumber = buildNumber;
        }
    
        private RemoteSnapshotMetadata(Metadata metadata, Path path, Date timestamp, Integer buildNumber) {
            super(metadata, path, timestamp);
            this.buildNumber = buildNumber;
        }
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        private final Path path;
    
        protected final Date timestamp;
    
        private boolean merged;
    
        @Deprecated
        protected MavenMetadata(Metadata metadata, File file, Date timestamp) {
            this(metadata, file != null ? file.toPath() : null, timestamp);
        }
    
        protected MavenMetadata(Metadata metadata, Path path, Date timestamp) {
            this.metadata = metadata;
            this.path = path;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

        }
    
        private static class VersionInfo {
    
            String timestamp;
    
            String version;
    
            ArtifactRepository repository;
    
            VersionInfo(String timestamp, String version, ArtifactRepository repository) {
                this.timestamp = (timestamp != null) ? timestamp : "";
                this.version = version;
                this.repository = repository;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        private final Collection<Artifact> artifacts = new ArrayList<>();
    
        LocalSnapshotMetadata(Artifact artifact, Date timestamp) {
            super(createMetadata(artifact), (Path) null, timestamp);
        }
    
        LocalSnapshotMetadata(Metadata metadata, Path path, Date timestamp) {
            super(metadata, path, timestamp);
        }
    
        private static Metadata createMetadata(Artifact artifact) {
            Snapshot snapshot = new Snapshot();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        private final PluginInfo pluginInfo;
    
        PluginsMetadata(PluginInfo pluginInfo, Date timestamp) {
            super(createRepositoryMetadata(pluginInfo), (Path) null, timestamp);
            this.pluginInfo = pluginInfo;
        }
    
        PluginsMetadata(PluginInfo pluginInfo, Path path, Date timestamp) {
            super(createRepositoryMetadata(pluginInfo), path, timestamp);
            this.pluginInfo = pluginInfo;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/MavenBuildTimestampTest.java

            interpolationProperties.put("maven.build.timestamp.format", "yyyyMMdd'T'HHmm'Z'");
            MavenBuildTimestamp timestamp = new MavenBuildTimestamp(new Date(), interpolationProperties);
            String formattedTimestamp = timestamp.formattedTimestamp();
            assertTrue(formattedTimestamp.endsWith("Z"), "We expect the UTC marker at the end of the timestamp.");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

    class LocalSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top