protegeproject / swrlapi

Java API for working with the SWRL rule and SQWRL query languages
Other
99 stars 40 forks source link

Build project failure on gathering dependencies for Drools engine #49

Closed martygrant closed 5 years ago

martygrant commented 5 years ago

Hello I'm using the Build project and following the instructions specified in the repo. The build process successfully builds the SWRL API and then fails on the next step, for the Drools-based SWRL Rule Engine. The error message is:

"[ERROR] Failed to execute goal on project swrlapi-drools-engine: Could not resolve dependencies for project edu.stanford.swrl:swrlapi-drools-engine:bundle:2.0.5: Failed to collect dependencies at org.drools:drools-osgi-integration:jar:6.5.0.Final: Failed to read artifact descriptor for org.drools:drools-osgi-integration:jar:6.5.0.Final: Could not transfer artifact org.jboss.dashboard-builder:dashboard-builder-bom:pom:6.5.0.Final from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): extension (10) should not be presented in server_hello -> [Help 1]"

I have tried switching versions of some of the dependencies in the POM files but I can't get passed this problem.

martinjoconnor commented 5 years ago

Copied from Protege mailing list:

I am not sure what is going on. The artifact you mentioned is accessible here so should be resolved by Maven:

https://repository.jboss.org/nexus/content/groups/public/org/jboss/dashboard-builder/dashboard-builder-bom/6.5.0.Final/dashboard-builder-bom-6.5.0.Final.pom

The only things I can think of to try (and they are longshots):

. Are you using an older version of Maven? . Do you have a custom Maven settings file (in ~/.m2/settings.xml) that might be causing resolution issues?

martygrant commented 5 years ago

Issue resolved: My Maven system was using Java 11 instead of 8 but this went unnoticed as my Java compiler was using Java 8. The project was build correctly when I made sure everything was on the same version.