• Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      When doing a maven2 build (using a private maven repository), maven continually
      downloads all the dependencies on each build. The result is that the build
      takes almost an hour instead of a few minutes. My understanding is that Maven
      should only download updated dependencies after the first build. Please feel
      free to correct my understanding if it is incorrect.

      Thanks.

          [JENKINS-2391] Build always downloads contents of repository

          Your problem is most likely caused by the fact that Hudson wipes out the jobs
          workspace together the private maven ".repository" located in the workspace
          forcing mvn to re-download the content between builds. This problem doesn't
          exists for jobs running in SVN/CVS in update mode. Fix of JENKINS-1819
          https://hudson.dev.java.net/issues/show_bug.cgi?id=1819 will solve the reported
          problem.

          Pawel Josefsson added a comment - Your problem is most likely caused by the fact that Hudson wipes out the jobs workspace together the private maven ".repository" located in the workspace forcing mvn to re-download the content between builds. This problem doesn't exists for jobs running in SVN/CVS in update mode. Fix of JENKINS-1819 https://hudson.dev.java.net/issues/show_bug.cgi?id=1819 will solve the reported problem.

          Alan Harder added a comment -

          Closing old issue.. reopen if you still see a problem on a recent Hudson release, thanks.

          Alan Harder added a comment - Closing old issue.. reopen if you still see a problem on a recent Hudson release, thanks.

            Unassigned Unassigned
            aklintu aklintu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: