Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for relocatedTarget (0.16 sec)

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

         * @param model The artifact model, never {@code null}.
         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
        Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model)
                throws ArtifactDescriptorException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

        public static final String NAME = "distributionManagement";
        private static final Logger LOGGER = LoggerFactory.getLogger(DistributionManagementArtifactRelocationSource.class);
    
        @Override
        public Artifact relocatedTarget(
                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model) {
            DistributionManagement distMgmt = model.getDistributionManagement();
            if (distMgmt != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

        private static final Artifact SENTINEL = new DefaultArtifact("org.apache.maven.banned:user-relocation:1.0");
    
        @Override
        public Artifact relocatedTarget(
                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model)
                throws ArtifactDescriptorException {
            Relocations relocations = (Relocations) session.getData()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                throws ArtifactDescriptorException {
            Artifact result = null;
            for (MavenArtifactRelocationSource source : artifactRelocationSources.values()) {
                result = source.relocatedTarget(session, artifactDescriptorResult, model);
                if (result != null) {
                    break;
                }
            }
            return result;
        }
    
        private void missingDescriptor(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top