Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Checking the existence of Artifacts

Johannes Dorn wrote:

In the future, it would be great to have a dedicated API functionality for this.

Sure, but for any such API to be of actual value, I need to understand the underlying use case first, hence my question.

We need this, as we are constantly creating new artifacts, as well as replace existing ones.
We do some complex calculations that create new artifacts, but in case one already exists, we want to skip this.

Could you elaborate some more on this process, especially the part about replacing artifacts which I assume is the reason why you want to check etags for outdated artifacts.

We are also checking repositories for transitive closures, whether all (transitive) dependencies can be resolved as this is important for our business logic.

Out of curiosity, does this closure check also include existence checks for metadata which would be required to resolve version ranges?


Benjamin


Back to the top