Package org.eclipse.aether.spi.validator


package org.eclipse.aether.spi.validator
Validator SPI.

This package provides callback extension points, that are invoked from Repository System, that is "main entry point" to Resolver. Validator is invoked before artifact would be resolved, installed or deployed. Given Resolver treats all coordinate elements as opaque strings, this extension provides ability for integrating application for early detection of any unwanted operation or bug, like "leaks" of un-interpolated artifacts asked to be resolved/installed/deployed. Resolver itself have no notion of "interpolation" nor "placeholders", again, it handles all received coordinates as opaque string and uses them to build resource URIs according to layout, but still, it is 100% that un-interpolated value will result in "no artifact found" error in case of resolution, but it may be and usually is due user error like having a typo in some property in POM for example.

Resolver does NOT provide this component, and is fully operable without it. It is left to integrating apps to decide do they want to provide components like this or not.

Since:
2.0.8
  • Interfaces
    Class
    Description
    A repository system main input validator; this validator is used in repository system "main entry methods".
    A factory to create validators.