Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Relocations (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            }
        }
    
        private static class Relocations {
            private final List<Relocation> relocations;
    
            private Relocations(List<Relocation> relocations) {
                this.relocations = relocations;
            }
    
            private Relocation getRelocation(Artifact artifact) {
                return relocations.stream()
                        .filter(r -> r.predicate.test(artifact))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/DistributionManagementArtifactRelocationSource.java

            if (distMgmt != null) {
                Relocation relocation = distMgmt.getRelocation();
                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
                            artifactDescriptorResult.getRequest().getArtifact(),
                            relocation.getGroupId(),
                            relocation.getArtifactId(),
                            null,
                            null,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                }
    
                if (!visited.add(a.getGroupId() + ':' + a.getArtifactId() + ':' + a.getBaseVersion())) {
                    RepositoryException exception =
                            new RepositoryException("Artifact relocations form a cycle: " + visited);
                    invalidDescriptor(session, trace, a, exception);
                    if ((getPolicy(session, a, request) & ArtifactDescriptorPolicy.IGNORE_INVALID) != 0) {
                        return null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenArtifactRelocationSource.java

    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorException;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Maven relocation source.
     * Note: implementations of this component should avoid the "default" name (has special meaning in Eclipse Sisu) and
     * explicitly order implementations using Sisu priorities.
     *
     * @since 4.0.0
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("reloc-gid", pom.getValue("distributionManagement/relocation/groupId"));
            assertEquals("reloc-aid", pom.getValue("distributionManagement/relocation/artifactId"));
            assertEquals("reloc-version", pom.getValue("distributionManagement/relocation/version"));
            assertEquals("project-reloc-msg", pom.getValue("distributionManagement/relocation/message"));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
        h += (h << 15) ^ 0xffffcd7d;
        h ^= (h >>> 10);
        h += (h << 3);
        h ^= (h >>> 6);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

            if (location != null) {
                org.apache.maven.api.settings.InputSource source = location.getSource();
                Map<Object, InputLocation> locs = location.getLocations().entrySet().stream()
                        .collect(Collectors.toMap(Map.Entry::getKey, e -> toLocation(e.getValue())));
                return new org.apache.maven.api.model.InputLocation(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            if (model.getDistributionManagement() != null
                    && model.getDistributionManagement().getRelocation() != null) {
                // keep relocation only
                builder.distributionManagement(DistributionManagement.newBuilder()
                        .relocation(model.getDistributionManagement().getRelocation())
                        .build());
            }
            // only keep repositories other than 'central'
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
     * creation. However, the methods of this class have a large number of overloads that prevent such
     * allocations in many common cases.
     *
     * <p>The message string is not formatted unless the exception will be thrown, so the cost of the
     * string formatting itself should not be a concern.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
            elements instanceof Set ? array.length : estimatedSizeForUnknownDuplication(array.length);
        return fromArrayWithExpectedSize(array, expectedSize);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top