Hi, In my system, when I run the mvn package command, maven is not able to pick up the jars from the local repo i.e C:\Documents and Settings\udayshankar.k\.m2\repository. Though the jar is present in the local repo, it gives error :
[ERROR] Failed to execute goal on project GDS-Switch: Could not resolve dependen cies for project org.mule.examples:GDS-Switch:war:1.0-SNAPSHOT: Failed to collec t dependencies for [org.mule:mule-core:jar:2.2.1 (compile), org.mule.modules:mul e-module-spring-config:jar:2.2.1 (compile), org.mule.modules:mule-module-spring- extras:jar:2.2.1 (compile), org.mule.transports:mule-transport-stdio:jar:2.2.1 ( compile), org.mule.transports:mule-transport-http:jar:2.2.1 (compile), org.mule. transports:mule-transport-vm:jar:2.2.1 (compile), junit:junit:jar:3.8.2 (test), org.mule:mule-core:jar:tests:2.2.1 (test)]: Failed to read artifact descriptor f or org.safehaus.jug:jug:jar:asl:2.0.0-osgi: Could not transfer artifact org.safe haus.jug:jug:pom:2.0.0-osgi from/to jboss (http://repository.jboss.com/maven2): Access denied to: http://repository.jboss.com/maven2/org/safehaus/jug/jug/2.0.0- osgi/jug-2.0.0-osgi.pom -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso lutionException NOTE : Till yesterday it was workin fine, i.e when I ran the mvn package command, maven was able to contact the local repo and it was able to pick up the jars from there. Please help on this. What could be the possible reason for this error? I have not made any changes in the pom.xml, I even checked the artifactid , groupid for changes but there were none -- View this message in context: http://maven.40175.n5.nabble.com/Maven-is-not-able-to-pick-up-the-jars-from-the-local-repo-tp4421732p4421732.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
