Maven 1

Dependency jars are not downloading from remote repository placed in Subversion with http access

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-rc1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Server: Apache 1.3.x with Subversion 1.1.1
    Client: Linux 2.6/Windows 2000, J2SE 5.0
  • Number of attachments :
    1

Description

Dependencies are not downloading from remote repository if it's placed in Subversion with http access (with apache and mod_davsvn)

In verbose mode maven logs (under linux):

Getting failed dependencies: [org.apache.maven.repository.GenericArtifact@9945ce, org.apache.maven.repository.GenericArtifact@b5dac4, org.apache.maven.repository.GenericArtifact@12d96f2]
Attempting to download slamd_client-1.8.1.jar.
http://server.net:81/svn/v2/trunk/target/maven//slamd/jars/slamd_client-1.8.1.jar - Status code: 200
Local file is newer: not downloaded
Attempting to download slamd_server-1.8.1.jar.
http://server.net:81/svn/v2/trunk/target/maven//slamd/jars/slamd_server-1.8.1.jar - Status code: 200
Local file is newer: not downloaded


Artifact '/opt/maven-repository/slamd/jars/slamd_client-1.8.1.jar' not found to add to classpath
Artifact '/opt/maven-repository/slamd/jars/slamd_server-1.8.1.jar' not found to add to classpath

in local repository appropriate paths are created, but jar files are missing
this was checked against repository server with basic auth and without authentication - result is the same
affected version 1.1-beta-1, 1.0.x works well

Issue Links

Activity

Hide
Arnaud Heritier added a comment -

Can you try a recent 1.1 beta-3 snapshot
We upgraded the wagon dependencies which solved this sort of problem
http://people.apache.org/~aheritier/maven/1.X/snapshots/?C=M;O=D

Show
Arnaud Heritier added a comment - Can you try a recent 1.1 beta-3 snapshot We upgraded the wagon dependencies which solved this sort of problem http://people.apache.org/~aheritier/maven/1.X/snapshots/?C=M;O=D
Hide
Arnaud Heritier added a comment -

If nobody can reproduce it before the end of the month, we'll close it.

Show
Arnaud Heritier added a comment - If nobody can reproduce it before the end of the month, we'll close it.
Hide
Alexander Schwartz added a comment -

I can reproduce the described behavior with the snapshot version
http://people.apache.org/~aheritier/maven/1.X/snapshots/20060729/

My maven logs (under windows):

Verifying dependencies for ias-kmatrix:ias-ks2-kmatrix-core-base
Artifact [/net.sf.jgabl2/jars/net.sf.jgabl2.core-0.7.0.jar] not found in local repository
Artifact [/net.sf.jgabl2/jars/net.sf.jgabl2.graph-0.7.0.jar] not found in local repository
Getting failed dependencies: [org.apache.maven.repository.GenericArtifact@19eda2c, org.apache.maven.repository.GenericArtifact@59a34]
Trying to get missing/snapshot dependencies required by ias-ks2-kmatrix-core-base:
Attempting to download net.sf.jgabl2.core-0.7.0.jar.
http://cvs-berlin.brainmedia.de/repository/maven//net.sf.jgabl2/jars/net.sf.jgabl2.core-0.7.0.jar - Status code: 200
Local file is newer: not downloaded
Skipping download as local copy is up to date!
Attempting to download net.sf.jgabl2.graph-0.7.0.jar.
http://cvs-berlin.brainmedia.de/repository/maven//net.sf.jgabl2/jars/net.sf.jgabl2.graph-0.7.0.jar - Status code: 200
Local file is newer: not downloaded
Skipping download as local copy is up to date!
Processing dependencies for project ias-ks2-kmatrix-core-base; classloader [ForeheadClassLoader: name="root.maven"]
Artifact 'F:\JavaDev2\MavenRepo\repository\net.sf.jgabl2\jars\net.sf.jgabl2.core-0.7.0.jar' not found to add to classpath
Artifact 'F:\JavaDev2\MavenRepo\repository\net.sf.jgabl2\jars\net.sf.jgabl2.graph-0.7.0.jar' not found to add to classpath

Show
Alexander Schwartz added a comment - I can reproduce the described behavior with the snapshot version http://people.apache.org/~aheritier/maven/1.X/snapshots/20060729/ My maven logs (under windows): – Verifying dependencies for ias-kmatrix:ias-ks2-kmatrix-core-base Artifact [/net.sf.jgabl2/jars/net.sf.jgabl2.core-0.7.0.jar] not found in local repository Artifact [/net.sf.jgabl2/jars/net.sf.jgabl2.graph-0.7.0.jar] not found in local repository Getting failed dependencies: [org.apache.maven.repository.GenericArtifact@19eda2c, org.apache.maven.repository.GenericArtifact@59a34] Trying to get missing/snapshot dependencies required by ias-ks2-kmatrix-core-base: Attempting to download net.sf.jgabl2.core-0.7.0.jar. http://cvs-berlin.brainmedia.de/repository/maven//net.sf.jgabl2/jars/net.sf.jgabl2.core-0.7.0.jar - Status code: 200 Local file is newer: not downloaded Skipping download as local copy is up to date! Attempting to download net.sf.jgabl2.graph-0.7.0.jar. http://cvs-berlin.brainmedia.de/repository/maven//net.sf.jgabl2/jars/net.sf.jgabl2.graph-0.7.0.jar - Status code: 200 Local file is newer: not downloaded Skipping download as local copy is up to date! Processing dependencies for project ias-ks2-kmatrix-core-base; classloader [ForeheadClassLoader: name="root.maven"] Artifact 'F:\JavaDev2\MavenRepo\repository\net.sf.jgabl2\jars\net.sf.jgabl2.core-0.7.0.jar' not found to add to classpath Artifact 'F:\JavaDev2\MavenRepo\repository\net.sf.jgabl2\jars\net.sf.jgabl2.graph-0.7.0.jar' not found to add to classpath
Hide
Alexander Schwartz added a comment -

The full maven logs

Show
Alexander Schwartz added a comment - The full maven logs
Hide
Arnaud Heritier added a comment -

Thanks. I'll try to find where the problem comes from !!!

Show
Arnaud Heritier added a comment - Thanks. I'll try to find where the problem comes from !!!
Hide
Lukas Theussl added a comment -

Tracked this down to WAGONHTTP-5, maybe we can get an alpha-7 release of wagon-http for m11?

Show
Lukas Theussl added a comment - Tracked this down to WAGONHTTP-5, maybe we can get an alpha-7 release of wagon-http for m11?

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: