Hi,
I’m interested in trying out the MultipleDepotExampleWithPenaltyVehicles example, and I’m wondering if it has been correctly included in version 1.7.3 of com.graphhopper.jsprit-examples on Maven Central.
I have the following in my pom:
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>graphhopper-core</artifactId>
<version>0.13.0</version>
</dependency>
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>jsprit-core</artifactId>
<version>1.7.3</version>
</dependency>
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>jsprit-examples</artifactId>
<version>1.7.3</version>
</dependency>
The following maven commands work fine and produce the SimpleExample:
mvn clean package
mvn exec:java "-Dexec.mainClass=com.graphhopper.jsprit.examples.SimpleExample"
However, replacing the above second line by:
mvn exec:java "-Dexec.mainClass=com.graphhopper.jsprit.examples.MultipleDepotExampleWithPenaltyVehicles"
results in a java.lang.ClassNotFoundException. Sure enough, if I open in Eclipse and view Maven dependencies, this example appears nowhere to be found:
Am I doing something wrong or has this example been omitted from the Maven distribution?
Kind regards
Adam