Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7902

Remove dependency on retired commons-httpclient



    • Easy
    • Code, Quality Assurance


      If it's your first Google Code-In task it's highly recommended to start with Become a community member.


      • Assign yourself to the Jira issue


      commons-httpclient:commons-httpclient has been replaced by org.apache.httpcomponents:httpclient a long time ago but there is still code using the old one.

      The idea is to track any use of commons-httpclient and replace it with the new one. A good way to find them is to search for any reference to commons-httpclient in the pom.xml files and removed them to see how it goes.

      Note that changing the dependency is not enough, the API changed a lot so the code will need to be rewritten.

      The modification should also include an enforcer rule to make sure no module use the old one in the future. You can find an example of how it's done for commons-lang3 and commons-configuration2 in https://github.com/xwiki/xwiki-commons/blob/master/pom.xml.

      Expected Outcome

      • The student must commit the changes and create a pull request on <indicate repository>
        • The summary of the Pull Request must have a first line matching the JIRA issue following by a colon and then the title of this issue
        • Add a comment in the jira issue mentioning your pull request and provide a link to it

      Getting help

      If you have any question you should use the Chat (faster answer, but when there is someone around) or the Forum (more people available, but slower answer).




            Unassigned Unassigned
            sdumitriu Sergiu Dumitriu
            0 Vote for this issue
            1 Start watching this issue