- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for buildNumber (0.1 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
return (version != null ? version : "<version unknown>"); } /** * Create a human-readable string containing the Maven version, buildnumber, and time of build * * @param buildProperties The build properties * @return Readable build info */ public static String createMavenVersionString(Properties buildProperties) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0)