On 31 May 2013, at 22:04, Loyall, David wrote:

> Hello.
> 
> My maven installation has had some trouble downloading artifacts today.
> 
>>>>>>>>>>>> 
> hobbes@metalbaby:~/scratch$ mvn 
> org.apache.maven.plugins:maven-dependency-plugin:2.8:get 
> -Dartifact=org.springsource:spring-jdbc:3.2.3.RELEASE
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:get (default-cli) @ standalone-pom ---
> [INFO] Resolving org.springsource:spring-jdbc:jar:3.2.3.RELEASE with 
> transitive dependencies
> Downloading: 
> http://repo.maven.apache.org/maven2/org/springsource/spring-jdbc/3.2.3.RELEASE/spring-jdbc-3.2.3.RELEASE.pom
> [WARNING] Missing POM for org.springsource:spring-jdbc:jar:3.2.3.RELEASE
> Downloading: 
> http://repo.maven.apache.org/maven2/org/springsource/spring-jdbc/3.2.3.RELEASE/spring-jdbc-3.2.3.RELEASE.jar
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 4.374s
> [INFO] Finished at: Fri May 31 15:54:12 CDT 2013
> [INFO] Final Memory: 8M/106M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on 
> project standalone-pom: Couldn't download artifact: Missing:
> [ERROR] ----------
> [ERROR] 1) org.springsource:spring-jdbc:jar:3.2.3.RELEASE
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.springsource 
> -DartifactId=spring-jdbc -Dversion=3.2.3.RELEASE -Dpackaging=jar 
> -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=org.springsource 
> -DartifactId=spring-jdbc -Dversion=3.2.3.RELEASE -Dpackaging=jar 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
> [ERROR] 2) org.springsource:spring-jdbc:jar:3.2.3.RELEASE
> [ERROR]
> [ERROR] ----------
> [ERROR] 1 required artifact is missing.
> [ERROR]
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>>>>>>>>>>>
> 
> I did some troubleshooting and determined that the problem is that the 
> artifacts aren't on the repo in the place where mvn is looking for them.
> 
> http://repo.maven.apache.org/maven2/org/springsource/spring-jdbc/3.2.3.RELEASE/spring-jdbc-3.2.3.RELEASE.pom
> ==> 404
> 
> I checked some other locations, too:
> http://repo2.maven.apache.org/maven2/org/springsource/spring-jdbc/3.2.3.RELEASE/spring-jdbc-3.2.3.RELEASE.pom
> ==> 404
> http://central.maven.org/maven2/org/springsource/spring-jdbc/3.2.3.RELEASE/spring-jdbc-3.2.3.RELEASE.pom
> ==> 404
> 
> If it doesn't exist, fine, but, why does this say that the file should be in 
> those location?
> http://search.maven.org/#artifactdetails%7Corg.springframework%7Cspring-jdbc%7C3.2.3.RELEASE%7Cjar
> 
> Am I reading that correctly?

The search results say it's under "org.springframework..." whereas you appear 
to be looking under "org.springsource..."

>  Is it true that I should find org.springsource:spring-jdbc:3.2.3.RELEASE at 
> one of those URLs that is 404?  Or at least find it with my mvn client?
> 
> These search results and direct url are "the same" as above, except the 
> latter works!
> http://search.maven.org/#artifactdetails%7Clog4j%7Clog4j%7C1.2.17%7Cbundle
> http://repo2.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.pom
> 
> I hope this helps,
> --Dave
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to