Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-289

No "Content-Type" header in PUT requests when deploying.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • 2.8.2
    • None
    • deploy:deploy
    • None
    • Mac/Linux

    Description

      Heya folks!

       

      I work with Amazon/AWS as a build engineer. I'm researching how much effort it would take to give our developers the option to build with Apache Maven. (opposed to other tools like Gradle)

       

      Right now we are blocked from an easy usage of Apache Maven because no "Content-Type" header is sent in requests, and it violates some expectations of our proxies. We use clones of maven repositories so we can have some governance controls across our codebase and services.

       

      We have ways we could work around around it - we could consider loosening our proxies, or adding special handling. We could also build our own plugin that does things the way we want. That said, I'd prefer to use off-the-shelf tools, and to be able to contribute to open source projects where possible.

       

      I looked a bit into how this plugin is performing deployments. I see it's using Aether for the deploy action, and see what looks like some complicated history there between Sonatype and Eclipse around the Aether project. I'm not sure if this is possible to fix this in the Maven Deploy Plugin or if it'd have to go deeper into the Aether code base.

       

      Any pointers? I'd love to take a crack at something here.

      Attachments

        Activity

          People

            michael-o Michael Osipov
            hiljusti J.R. Hill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: