After running the mvn install: install command I could successfully deploy my jars onto the local repo. And infact I added around 100 jars to my local repo yesterday and when running mvn package command, the compiler could pick up the jars which I deployed. But today morning when I came and tried mvn package, I got the following 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), org.opentravel.ota:ota-jaxb-ja r:jar:1.0 (compile), org.ota:ota-jibx-jar:jar:1.0 (compile), org.mysql:ota-sql-j ar:jar:1.0 (compile), org.neethi:ota-neethi-jar:jar:2.0.4 (compile), gds.quartz: gds-quartz-jar:jar:1.6.0 (compile), gds.ant:gds-ant-jar:jar:1.6.5 (compile), gds .bsh:gds-bsh-jar:jar:2.4 (compile), gds.cxf:gds-cxf-jar:jar:2.1.2 (compile), gds .joda:gds-joda-jar:jar:1.6 (compile), gds.oro:gds-oro-jar:jar:2.0.8 (compile), g ds.ognl:gds-ognl-jar:jar:2.7.3 (compile), gds.jdom:gds-jdom-jar:jar:1.0 (compile ), gds.dom4j:gds-dom4j-jar:jar:1.6.1 (compile), gds.jibx:gds-jibx-jar:jar:1.2.2 (compile), gds.velocity:gds-velocity-jar:jar:1.4 (compile), gds.axis:gds-axis-ja r:jar:1.4 (compile), gds.cxf.api:gds-cxf-api-jar:jar:2.1.2 (compile), gds.drools .ant:gds-drools-ant-jar:jar:5.1.1 (compile), gds.ota.messaging:gds-ota-messaging -jar:jar:1.7.8 (compile), gds.jaxb.xjc:gds-jaxb-xjc-jar:jar:2.1.7 (compile), gds .ant.osgi:gds-ant-osgi-jar:jar:1.6.5 (compile), gds.groovy.osgi:gds-groovy-osgi- jar:jar:1.5.6 (compile), gds.xmlbeans:gds-xmlbeans-jar:jar:2.3.0 (compile), gds. hibernate.osgi:gds-hibernate-osgi-jar:jar:3.2.2 (compile), gds.drools.core:gds-d rools-core-jar:jar:5.1.1 (compile), gds.saxon.osgi:gds-saxon-osgi-jar:jar:8.9.0. 4 (compile), gds.drools.core.M1:gds-drools-core-M1-jar:jar:5.2.0 (compile), gds. drools.compiler.M1:gds-drools-compiler-M1-jar:jar:5.2.0 (compile), gds.jaxb.xjc. osgi:gds-jaxb-xjc-osgi-jar:jar:2.1.9 (compile), gds.drools.compiler:gds-drools-c ompiler-jar:jar:5.1.1 (compile), gds.jaxb.impl.osgi:gds-jaxb-impl-osgi-jar:jar:2 .1.9 (compile), gds.jaxb.impl:gds-jaxb-impl-jar:jar:2.1.7 (compile), gds.js:gds- js-jar:jar:1.6R7 (compile), gds.spring.security.core:gds-spring-security-core-ja r:jar:2.0.4 (compile), gds.jbpm.jpdl.osgi:gds-jbpm-jpdl-osgi-jar:jar:3.2.2 (comp ile), gds.hsqldb:gds-hsqldb-jar:jar:1.8.0.7 (compile), gds.abdera.i18n.incubatin g:gds-abdera-i18n-incubating-jar:jar:0.4.0 (compile), gds.acegi.security.osgi:gd s-acegi-security-osgi-jar:jar:1.0.7 (compile), gds.jbossts.jta.patched:gds-jboss ts-jta-patched-jar:jar:4.2.3 (compile), gds.javassist.osgi:gds-javassist-osgi-ja r:jar:3.6 (compile), gds.wstx.asl:gds-wstx-asl-jar:jar:3.2.4 (compile), gds.velo city.dep:gds-velocity-dep-jar:jar:1.4 (compile), gds.jetty:gds-jetty-jar:jar:6.1 .11 (compile), gds.antlr:gds-antlr-jar:jar:2.7.7 (compile), gds.antlr.osgi:gds-a ntlr-osgi-jar:jar:2.7.7 (compile), gds.asm.osgi:gds-asm-osgi-jar:jar:3.1 (compil e), gds.axiom.api:gds-axiom-api-jar:jar:1.2.7 (compile), gds.axiom.impl:gds-axio m-impl-jar:jar:1.2.7 (compile), gds.xmlunit:gds-xmlunit-jar:jar:1.1 (compile), g ds.commons.codec:gds-commons-codec-jar:jar:1.3 (compile), gds.jaxen:gds-jaxen-ja r:jar:1.1 (compile), gds.xmlsec:gds-xmlsec-jar:jar:1.4.0 (compile), gds.mail.osg i:gds-mail-osgi-jar:jar:1.4 (compile), gds.jaxen.osgi:gds-jaxen-osgi-jar:jar:1.1 .1 (compile), gds.wss4j:gds-wss4j-jar:jar:1.5.4 (compile), gds.wss4j.osgi:gds-ws s4j-osgi-jar:jar:1.5.4 (compile), gds.saaj.impl:gds-saaj-impl-jar:jar:1.3 (compi le), gds.saaj.impl.osgi:gds-saaj-impl-osgi-jar:jar:1.3 (compile), gds.jetty.util :gds-jetty-util-jar:jar:6.1.11 (compile), gds.jsr250.api:gds-jsr250-api-jar:jar: 1.0 (compile), gds.jra.alpha-4:gds-jra-alpha-4-jar:jar:1.0 (compile), gds.jcr.os gi:gds-jcr-osgi-jar:jar:1.0 (compile), gds.jaxb.api:gds-jaxb-api-jar:jar:2.1 (co mpile), gds.jaxb.api.osgi:gds-jaxb-api-osgi-jar:jar:2.1 (compile), gds.jdom.osgi :gds-jdom-osgi-jar:jar:1.0 (compile), gds.jettison:gds-jettison-jar:jar:1.0.1 (c ompile), gds.opensaml:gds-opensaml-jar:jar:1.1 (compile), gds.saaj.api:gds-saaj- api-jar:jar:1.3 (compile), gds.smack.osgi:gds-smack-osgi-jar:jar:2.2.1 (compile) , gds.saaj.api.osgi:gds-saaj-api-osgi-jar:jar:1.3 (compile), gds.slf.api:gds-slf -api-jar:jar:1.5.6 (compile), gds.wsdl4j:gds-wsdl4j-jar:jar:1.6.2 (compile), gds .wsdl4j.osgi:gds-wsdl4j-osgi-jar:jar:1.6.1 (compile), gds.xmlsec.osgi:gds-xmlsec -osgi-jar:jar:1.4.0 (compile), gds.aspectjrt:gds-aspectjrt-jar:jar:1.5.4 (compil e), junit:junit:jar:3.8.2 (test), org.mule:mule-core:jar:tests:2.2.1 (test)]: Fa iled to read artifact descriptor for org.safehaus.jug:jug:jar:asl:2.0.0-osgi: Co uld not transfer artifact org.safehaus.jug:jug:pom:2.0.0-osgi from/to jboss (htt p://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 -- View this message in context: http://maven.40175.n5.nabble.com/Problem-in-delpoying-an-external-jar-to-the-local-repo-tp4410234p4421567.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org