if maven.repo.remote.enabled=true maven don't download dependencies
-------------------------------------------------------------------

                 Key: MAVEN-1814
                 URL: http://jira.codehaus.org/browse/MAVEN-1814
             Project: Maven 1.x
          Issue Type: Bug
    Affects Versions: 1.1-rc1
            Reporter: Arnaud Heritier
             Fix For: 1.1-rc1


I just found a weird behaviour in maven (a recent snapshot. I didn't try with 
the beta).
I was trying to build a complex webapp and I found a lot of errors like : 
Artifact 
'C:\USERS\JTBox\data\maven-1.x\repository\commons-logging\jars\commons-logging-1.0.4.jar'
 not found to add to classpath
I didn't understand this error until I received a ClassNotFoundException
I checked the project settings and I found :
maven.repo.remote.enabled=true
I don't know why it was set because it's the default behaviour for maven (I 
never used it myself).
I commented this property and now maven download my missing dependencies.
We have to check what is  happening even if I'm not sure that this property is 
often used.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to