Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for buildNumber (0.07 sec)

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

        private final Integer buildNumber;
    
        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);
    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-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            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-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

        }
    
        public int getIncrementalVersion() {
            return incrementalVersion != null ? incrementalVersion : 0;
        }
    
        public int getBuildNumber() {
            return buildNumber != null ? buildNumber : 0;
        }
    
        public String getQualifier() {
            return qualifier;
        }
    
        public final void parseVersion(String version) {
            comparable = new ComparableVersion(version);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

        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");
            if (bn instanceof Integer) {
                this.buildNumber = (Integer) bn;
            } else if (bn instanceof String) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/test/resources/plugin/repo2/fess-ds-atlassian/12.2.0-SNAPSHOT/maven-metadata.xml

      <groupId>org.codelibs.fess</groupId>
      <artifactId>fess-ds-atlassian</artifactId>
      <version>12.2.0-SNAPSHOT</version>
      <versioning>
        <snapshot>
          <timestamp>20180814.210714</timestamp>
          <buildNumber>10</buildNumber>
        </snapshot>
        <lastUpdated>20180814210714</lastUpdated>
        <snapshotVersions>
          <snapshotVersion>
            <extension>jar</extension>
            <value>12.2.0-20180814.210714-10</value>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 02:16:52 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                // we update the build number anyway so that it doesn't get lost. It requires the timestamp to take effect
                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)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null);
            metadata.merge(new Metadata());
    
            int buildNumber = metadata.metadata.getVersioning().getSnapshot().getBuildNumber();
            assertEquals(1, buildNumber);
        }
    
        @Test
        void buildNumberSet() {
            RemoteSnapshotMetadata metadata =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                        } else if ("buildNumber".equalsIgnoreCase(node.getNodeName())) {
                            buildNumber = node.getTextContent();
                        }
                    }
                }
            }
            if (StringUtil.isNotBlank(timestamp) && StringUtil.isNotBlank(buildNumber)) {
                return timestamp + "-" + buildNumber;
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/resources/repo/org/apache/maven/its/dep-mng5459/0.4.0-SNAPSHOT/maven-metadata.xml

      <groupId>org.apache.maven.its</groupId>
      <artifactId>dep-mng5459</artifactId>
      <version>0.4.0-SNAPSHOT</version>
      <versioning>
        <snapshot>
          <timestamp>20130404.090532</timestamp>
          <buildNumber>2</buildNumber>
        </snapshot>
        <lastUpdated>20130404093657</lastUpdated>
        <snapshotVersions>
          <snapshotVersion>
            <extension>pom</extension>
            <value>0.4.0-20130404.090532-2</value>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/resources/repo/org/apache/maven/its/dep-mng5324/07.20.3-SNAPSHOT/maven-metadata.xml

      <artifactId>dep-mng5324</artifactId>
      <version>07.20.3-SNAPSHOT</version><!-- metadata for artifact snapshot -->
      <versioning>
        <snapshot>
          <timestamp>20120809.112920</timestamp>
          <buildNumber>97</buildNumber>
        </snapshot>
        <lastUpdated>20120809112920</lastUpdated>
        <snapshotVersions>
          <snapshotVersion>
            <classifier>classifierA</classifier>
            <extension>jar</extension>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top