Maven
  1. Maven
  2. MNG-5162

Maven stuck on downloading dependencies when using java 7.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0.1, 3.0.3
    • Fix Version/s: None
    • Component/s: Dependencies
    • Labels:
      None
    • Environment:
      Windows 7 Professional x64

      Description

      When JAVA_HOME is set to the Java 7 JDK and I run "mvn clean install" on my project the following happens:
      Maven downloads the dependencies to my local repository, as usual, but on some dependencies he stops while downloading and never continues. He is just stuck. I then must use CTRL+C and start from the beginning with my build, but it doesnt help because he gets stuck at the same dependencies again. In my local repository, where the failed dependency belongs is just a tmp file like: org.apache.servicemix.bundles.serp-1.13.1_4.jar.tmp90088a9d7e9e4642

      When I set JAVA_HOME to java 6 Update 27 everything works fine.
      The problem does not seem to be related to JAR size because, I saw it fail on 19kb dependencies as well.
      I have the impression it happens mostly to JARs with "long" names.

      Attached you will find a subproject of the project I am working on. it contains the org.apache.servicemix.bundles.serp-1.13.1_4 dependency, which is one of almost all servicemix bundles that is failing for me, when i use java7.

      1. dump.tdump
        13 kB
        Lukas Stampf
      2. edb.zip
        115 kB
        Lukas Stampf
      3. java6.jpg
        140 kB
        Lukas Stampf
      4. java7.jpg
        66 kB
        Lukas Stampf

        Activity

        Lukas Stampf created issue -
        Lukas Stampf made changes -
        Field Original Value New Value
        Attachment dump.tdump [ 56518 ]
        Barrie Treloar made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Not A Bug [ 6 ]
        Barrie Treloar made changes -
        Fix Version/s 3.1 [ 18129 ]
        Jason van Zyl made changes -
        Fix Version/s 3.1.0 [ 18967 ]
        Fix Version/s 3.1.x [ 18129 ]
        Jason van Zyl made changes -
        Fix Version/s 3.1.x [ 18129 ]
        Fix Version/s 3.1.0 [ 18967 ]
        Jason van Zyl made changes -
        Fix Version/s 3.1.x [ 18129 ]
        Fix Version/s 3.2 [ 15565 ]
        Robert Scholte made changes -
        Fix Version/s 3.2 [ 15565 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12715392 ] Default workflow, editable Closed status [ 12755708 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12953045 ] Default workflow, editable Closed status [ 12990361 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Lukas Stampf
          • Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development