[ 
https://jira.codehaus.org/browse/MNG-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295322#comment-295322
 ] 

gopi commented on MNG-5162:
---------------------------

Today i have upgraded maven 2.2.1 to 3.0.4 on Linux 64 bit system and when i 
invoke "mvn clean install" command build is keep throwing below exceptions 
since 8 hours and build still going.   (Note: everything works fine on Window 
system for the same project with maven 3.0.4)

Here is my environment variables:
JAVA_HOME=/usr/java/jdk1.6.0_29
M2_HOME=/usr/local/maven/apache-maven-3.0.4

Please suggest, if i miss any steps.

28-Mar-2012 09:41:36  Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
 (588 B at 0.7 KB/sec) 
28-Mar-2012 09:42:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/resolver-status.properties
 
28-Mar-2012 09:42:06  java.io.IOException: No locks available 


28-Mar-2012 09:43:06  [WARNING] Failed to write resolution tracking file 
/home/gopigadu/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.4/_maven.repositories
 
28-Mar-2012 09:43:06  java.io.IOException: No locks available 


                
> Maven stuck on downloading dependencies when using java 7.
> ----------------------------------------------------------
>
>                 Key: MNG-5162
>                 URL: https://jira.codehaus.org/browse/MNG-5162
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0.1, 3.0.3
>         Environment: Windows 7 Professional x64
>            Reporter: Lukas Stampf
>         Attachments: dump.tdump, edb.zip, java6.jpg, java7.jpg
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to