Maven deploy into SNAPSHOT repository with a different suffix

186 Views Asked by At

I'd like to mvn deploy an artifact with the suffix -DEVELOP into the pre-defined snapshot repo, but maven decides to push it into the release repository. I guess it is due to naming policy, the artifact withouth -SNAPSHOT goes to the release repo.

But if I set the snapshot repo explicitly for this deploy job, I get a 400 Bad request error. Is it because the snapshop repo only permits artifacts with the snap suffix?

Thanks in advance!

0

There are 0 best solutions below