I am using Maven2 eclipse plugin to download dependencies for my project. Although if I compare my repository folder with that of other members in my team using the same Maven repositories and settings.xml, I do not have a lot of jars.
Maven is somehow not able to download them. I copied the settings.xml from a co-worker still it doesnt work for me.
I checked but I am not behind a proxy. One more thing, I am logged into a personal profile in my computer and my repository is a part of the profile. Can this be an issue?
I get the following errors everytime I try building:
Failed to execute goal on project ComputerAccess: Could not resolve dependencies for project housing:ComputerAccess:war:2.1.4: Failed to collect dependencies for [struts:struts:jar:1.2.7 (compile), org.apache.portals.bridges:portals-bridges-struts:jar:1.2.7-1.0 (compile), org.hibernate:hibernate:jar:3.2.6.ga (provided), housing:common:jar:0.6 (compile), javax.servlet:servlet-api:jar:2.3 (provided), log4j:log4j:jar:1.2.15 (compile), commons-logging:commons-logging:jar:1.0.4 (provided), commons-logging:commons-logging-api:jar:1.0.4 (provided), com.lowagie:itext:jar:2.1.5 (compile), org.hibernate:hibernate-annotations:jar:3.3.1.GA (provided), org.hibernate:hibernate-entitymanager:jar:3.3.2.GA (provided), org.hibernate:ejb3-persistence:jar:1.0.1.GA (provided), commons-collections:commons-collections:jar:3.2 (provided), javax.transaction:jta:jar:1.1 (provided), housing:ufldap:jar:1.0 (compile), commons-fileupload:commons-fileupload:jar:1.0 (provided), net.sf.ehcache:ehcache:jar:1.2.3 (provided), org.jboss.portal.common:common-common:jar:1.2.2 (provided), c3p0:c3p0:jar:0.9.1 (provided), jboss:jboss-ejb3x:jar:4.2.3.GA (provided), net.sf.jt400:jt400-full:jar:6.0 (provided), javax.portlet:portlet-api:jar:1.0 (provided), housing:housing-login-module:jar:0.8.1 (provided), javax.mail:mail:jar:1.4.1 (compile), org.apache.commons:commons-email:jar:1.1 (compile), housing:housing-persistence:jar:1.0 (compile), housing:ComputerAccessPersistence:jar:1.1-dev (compile), housing:ufdirectory:jar:1.0-dev (compile)]: Failed to read artifact descriptor for apache-tomcat:catalina:jar:5.5.12: Could not transfer artifact apache-tomcat:catalina:pom:5.5.12 from/to repository.jboss.org (http://repository.jboss.org/maven2/): Access denied to http://repository.jboss.org/maven2/apache-tomcat/catalina/5.5.12/catalina-5.5.12.pom. Error code 403, Forbidden - [Help 1] [ERROR] The folder "maven2" in the path http://repository.jboss.org/ does not exist, but still it's somehow going to this path; this is not mentioned in my settings.xml too.