Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for localCopy (0.17 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenLocalModule.groovy

            """
    <metadata>
      <!-- ${getArtifactContent()} -->
      <groupId>$groupId</groupId>
      <artifactId>$artifactId</artifactId>
      <version>$version</version>
      <versioning>
        <snapshot>
          <localCopy>true</localCopy>
        </snapshot>
        <lastUpdated>${updateFormat.format(publishTimestamp)}</lastUpdated>
      </versioning>
    </metadata>
    """
        }
    
        @Override
        protected onPublish(TestFile file) {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/DefaultSnapshotMavenMetaData.groovy

            snapshotTimestamp =  versioning.snapshot.timestamp[0]?.text()
            snapshotBuildNumber =  versioning.snapshot.buildNumber[0]?.text()
            localSnapshot = versioning.snapshot.localCopy[0]?.text() == 'true'
    
            def snapshotVersionCollector = new LinkedHashSet<String>()
            versioning.snapshotVersions.snapshotVersion.value.each {
                snapshotVersionCollector << it.text()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenLocalModuleTest.groovy

            publishedFiles.find { it.name == mavenMetadataFileName }.exists()
            new XmlSlurper().parseText(publishedFiles.find { it.name == mavenMetadataFileName }.text).versioning.snapshot.localCopy.text() == 'true'
            snapshotMavenLocalModule.assertArtifactsPublished(mavenMetadataFileName, 'my-artifact-1.0-SNAPSHOT.jar', 'my-artifact-1.0-SNAPSHOT.pom')
        }
    
        def "Publish artifacts for non-unique snapshot"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java

            super(metadata, path, timestamp);
        }
    
        private static Metadata createMetadata(Artifact artifact) {
            Snapshot snapshot = Snapshot.newBuilder().localCopy(true).build();
            Versioning versioning = Versioning.newBuilder().snapshot(snapshot).build();
            Metadata metadata = Metadata.newBuilder()
                    .versioning(versioning)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. api/maven-api-metadata/src/main/mdo/metadata.mdo

              <name>buildNumber</name>
              <version>1.0.0+</version>
              <description>The incremental build number</description>
              <type>int</type>
            </field>
            <field>
              <name>localCopy</name>
              <version>1.0.0+</version>
              <description>Whether to use a local copy instead (with filename that includes the base version)</description>
              <type>boolean</type>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                                            .lastUpdated(versioning.getLastUpdated())
                                            .snapshot(Snapshot.newBuilder()
                                                    .localCopy(true)
                                                    .build())
                                            .build();
                                    throw new IOException("Snapshot information corrupted with remote repository data"
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top