Hi all, We have an internal maven repository we've set up using webdav and apache. Performing a POST/PUT to upload the archive works well. Our repository is secured via HTTP BASIC, and that's linked to an LDAP server. Deploying artifacts works really well, however we're unable to download anything from our repository. If I run a package with debug, here is my output.
:trunk todd$ mvn -X package + Error stacktraces are turned on. Maven version: 2.0.9 Java version: 1.6.0_15 OS name: "mac os x" version: "10.6.3" arch: "x86_64" Family: "mac" [DEBUG] Building Maven user-level plugin registry from: '/Users/todd/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/usr/share/maven/conf/plugin-registry.xml' [INFO] Scanning for projects... [DEBUG] Searching for parent-POM: com.spidertracks.standards:settings::1.0.0 of project: com.spidertracks.service:service:pom:0.0.1-SNAPSHOT in relative path: ../pom.xml [DEBUG] Parent-POM: com.spidertracks.standards:settings::1.0.0 not found in relative path: ../pom.xml [DEBUG] Retrieving parent-POM: com.spidertracks.standards:settings::1.0.0 for project: com.spidertracks.service:service:pom:0.0.1-SNAPSHOT from the repository. [DEBUG] Trying repository spidertracks-repo Downloading: https://staff.spidertracks.com/repo/com/spidertracks/standards/settings/1.0.0/settings-1.0.0.pom [DEBUG] Unable to get resource 'com.spidertracks.standards:settings:pom:1.0.0' from repository spidertracks-repo (https://staff.spidertracks.com/repo) [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/com/spidertracks/standards/settings/1.0.0/settings-1.0.0.pom [DEBUG] Unable to get resource 'com.spidertracks.standards:settings:pom:1.0.0' from repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: com.spidertracks.service:service:pom:0.0.1-SNAPSHOT Reason: Cannot find parent: com.spidertracks.standards:settings for project: com.spidertracks.service:service:pom:0.0.1-SNAPSHOT for project com.spidertracks.service:service:pom:0.0.1-SNAPSHOT As you can see, it's unable to download the pom from the url https://staff.spidertracks.com/repo/com/spidertracks/standards/settings/1.0.0/settings-1.0.0.pom. If I copy/paste this into my browser, I'm promoted to enter my username and password for BASIC auth, then I can see the file. Below is my settings.xml file. settings> <!-- where to save the local repository --> <servers> <server> <id>spidertracks</id> <username>myuser</username> <password>mypassword</password> <filePermissions>774</filePermissions> <directoryPermissions>775</directoryPermissions> </server> </servers> <profiles> <profile> <id>spidertracks-profile</id> <repositories> <repository> <id>spidertracks-repo</id> <name>Spidertracks Internal Repository</name> <releases> <enabled>true</enabled> <checksumPolicy>warn</checksumPolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>fail</checksumPolicy> </snapshots> <url>https://staff.spidertracks.com/repo</url> <layout>default</layout> </repository> </repositories> </profile> </profiles> <activeProfiles> <activeProfile>spidertracks-profile</activeProfile> </activeProfiles> My username and password isn't being sent to the server when it challenges the request. I'm using maven 2.0.9. Has this been resolved the new release, or is this simply a setting I need to add somewhere? Thanks, Todd
