Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setBuildNumber (0.09 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                utcDateFormatter.setCalendar(new GregorianCalendar());
                utcDateFormatter.setTimeZone(DEFAULT_SNAPSHOT_TIME_ZONE);
    
                snapshot = new Snapshot();
                snapshot.setBuildNumber(buildNumber != null ? buildNumber : getBuildNumber(recessive) + 1);
                snapshot.setTimestamp(utcDateFormatter.format(timestamp));
    
                Versioning versioning = new Versioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                try {
                    int buildNumber = resolveLatestSnapshotBuildNumber(artifact, localRepository, remoteRepository);
    
                    snapshot.setBuildNumber(buildNumber + 1);
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactDeploymentException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top