• 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

          aklintu created issue -

          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.
          Pawel Josefsson made changes -
          Link New: This issue depends on JENKINS-1819 [ JENKINS-1819 ]
          mdonohue made changes -
          Link New: This issue depends on JENKINS-3580 [ JENKINS-3580 ]
          mdonohue made changes -
          Link Original: This issue depends on JENKINS-1819 [ JENKINS-1819 ]

          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.
          Alan Harder made changes -
          Resolution New: Postponed [ 6 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132464 ] New: JNJira + In-Review [ 201432 ]

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

              Created:
              Updated:
              Resolved: