Skip to content

faq 110560355

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Maven Setup issue

by Shenyang Chen on 2017-07-11 02:25:18


I downloaded the mastic package from GitHub and import taxi into workspace. But the IDE keeps reporting error in pom.xml as follows:

Description Resource Path Location Type
Missing artifact org.matsim:matsim:jar:0.10.0-SNAPSHOT pom.xml /taxi line 3 Maven Dependency Problem
Missing artifact org.matsim:matsim:jar:tests:0.10.0-SNAPSHOT pom.xml /taxi line 2 Maven Dependency Problem
Missing artifact org.matsim.contrib:dvrp:jar:0.10.0-SNAPSHOT pom.xml /taxi line 23 Maven Dependency Problem
The container 'Maven Dependencies' references non existing library '/home/csy/.m2/repository/org/matsim/contrib/dvrp/0.10.0-SNAPSHOT/dvrp-0.10.0-SNAPSHOT.jar' taxi Build path Build Path Problem
The project cannot be built until build path errors are resolved taxi Unknown Java Problem


Also, I tried other projects and got similar errors. Anyone can help me on this setup issue? Thanks! 


Comments: 1


Re: Maven Setup issue

by Kai Nagel on 2017-07-24 13:13:47

In order to get matsim snapshots, you need something like

	<repositories>
  		<repository>
 			<id>ojo-snapshots</id>
 			<url>http://oss.jfrog.org/libs-snapshot</url>
 		</repository>	
 	</repositories>

in your pom.xml.  Do you have that?

Beyond that, from your description I don't know exactly what you did.  Our recommendation is to start from https://github.com/matsim-org/matsim-example-project .

Clone this wiki locally