Data2Semantics / nodes

A general purpose graph library
MIT License
11 stars 5 forks source link

Error when call nodes in maven #1

Closed YasCoMa closed 6 years ago

YasCoMa commented 6 years ago

Other repositories that depend on nodes do not work because the nodes-SNAPSHO.jar is missing. And the direct reference to the last code version of nodes algo generates errors in the files.

pbloem commented 6 years ago

Hi Yassmin,

Thanks for the pointer. I think the problem is that some repositories point our old build server (which never really worked). Can you check that the repository you're trying to compile uses jitpack to point to nodes, as shown in the README?

If it does can you give me a pointer to the pom file of the repository?

cheers, Peter

YasCoMa commented 6 years ago

Yes. It uses jitpack. The pointer to the nodes pom file is: https://github.com/Data2Semantics/nodes/blob/master/nodes/pom.xml And the address for the pom file of the repository that uses nodes is: https://github.com/Data2Semantics/mustard/blob/master/mustard-kernels/pom.xml

pbloem commented 6 years ago

It looks like reference to a local version of pbloem/kit had snuck into the POM. -SNAPSHOT should now work again.

Alternatively, you could also change the pom in mustard-kernel from -SNAPSHOT to v0.1.20.

YasCoMa commented 6 years ago

Problem solved.