Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-dev] How to check an artifact is already in Nexus Repository

Ren Jith wrote:

Moving discussion to user list.

I am just working to push sub artifacts to same version on different times.
But all the time when I push an artifact i would have to push pom file also.

In case when I am trying to push a sub-artifact again it will give an error
that pom file also exists. So here i want to check the existence.

You could also consider to deploy the POM in a separate step and gracefully handle the already-exists error.

I go through the first link you preferred. But I didn't get that working.
can you please provide some code snippets on this.

You might want to describe your project setup (e.g. way of obtaining Aether) and the exact "didn't get that working" issue in more detail.


Benjamin


Back to the top