-
Notifications
You must be signed in to change notification settings - Fork 50
Support PUT in addition to POST so maven-deploy-plugin and maven-wagon-plugin can be used #114
Comments
Well nuts, I tried adding PUT in the case block of AptHandler, but we're still getting a 405 error. Any help appreciated |
I think I figured out the second problem. So while we were accepting PUT requests, the Wagon plugin is not setting the expected Content-Type to |
So we're able to workaround the lack of
And our pom configuration looks like this:
|
APT is now part of Nexus Repository Manager. Version 3.17.0 includes the APT plugin by default. |
First, thanks for the work on this. We were using Freight, but it's super slow because it has to re-sign the entire repository, and you have to build a lot of glue code to get it to add new files. Overall, not a great experience.
One thing we noticed is that we build our packages with JDeb, then after that we would like to push the released deb files to our new shiney Nexus Apt repo. Both the maven deploy plugin and the maven wagon plugin only seem to support HTTP PUT, not HTTP POST, which only the latter seems to be supported by the nexus apt plugin.
I think this is a code change we can make, as it looks like there's just a handful of
case
statements that need to updated. Is there a reason this wasn't included in the original?The text was updated successfully, but these errors were encountered: