0

I working on converting a project from ant to maven and am getting errors trying to pull in jars from geomajas.

I am not behind a firewall and the dependencies from maven central are downloading. I have also added geomajas to the repositories in my projects pom.xml.

Below are the relevant portions from the pom.xml and the error I am getting.

If I instead define the jar dependency with a system path to a local copy of the jar the project builds successfully.


<dependency>
    <groupId>org.lobobrowser</groupId>
    <artifactId>cobra</artifactId>
    <version>0.98.4</version>
</dependency>
.....
<repository>
    <id>geomajas</id>
    <name>Geomajas Maven Repository</name>
    <url>https://maven.geomajas.org/(https://maven.geomajas.org/)</url>
</repository>

[ERROR] Failed to execute goal on project niksun-services-util: Could not resolve dependencies for project com.niksun:niksun-services-util:jar:main: Failed to collect dependencies at org.lobobrowser:cobra:jar:0.98.4: Failed to read artifact descriptor for org.lobobrowser:cobra:jar:0.98.4: Could not transfer artifact org.lobobrowser:cobra:pom:0.98.4 from/to geomajas (http://maven.geomajas.org/(http://maven.geomajas.org/)): connect timed out -> [Help 1]
RichardFeynman
  • 478
  • 1
  • 6
  • 16

0 Answers0