• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add jars in Maven  RSS feed

 
barlet south
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am importing a git project from gitlab in eclipse but my pom file has a lot of errors, I miss approximately 300 artifacts. When i go to my project directory and i run the command "mvn install" the build failed and what i get is :

Failed to execute goal on project smartea: Could not resolve dependencies for project biz.smart360:smartea:war:3.6.0: Failed to collect dependencies at org.restlet.jee:org.restlet:jar:2.2.0: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.2.0: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.2.0 from/to iteraplan.open (https://iteraplan.iteratec.de/nexus/content/groups/open): iteraplan.iteratec.de: unknown error: Unknown host iteraplan.iteratec.de:


Does anyone know how to solve that problem? I have been stucking for two days and i really need some help since i need to start to do some coding over this large project.

Thanks in advance
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my understanding, when you clean a maven project, the IDE should automatically download the missing artifacts (jars) defined in the POM file into your repository.

If it can't download, check your network setting (eg using proxy/firewall etc)

Second is make sure you imported a maven project instead of another type.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!