Maven 1

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.1-rc1
  • Fix Version/s: 1.1-rc1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

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.

Activity

Hide
Lukas Theussl added a comment -

I cannot reproduce that with a simple test project...

Show
Lukas Theussl added a comment - I cannot reproduce that with a simple test project...
Hide
Arnaud Heritier added a comment -

It's annoying
I'll try to reproduce it and I'll prepare a testcase.

Show
Arnaud Heritier added a comment - It's annoying I'll try to reproduce it and I'll prepare a testcase.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: