Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem building komadu source using maven #10

Open
smrititam opened this issue Aug 19, 2016 · 2 comments
Open

Problem building komadu source using maven #10

smrititam opened this issue Aug 19, 2016 · 2 comments

Comments

@smrititam
Copy link

Hi,

I am a student studying semantic provenance.
I was trying to get the komadu service running, following the User Guide provided.
I am having trouble building it using maven, it says one of the packages in unavailable and I believe all other errors are related to the same problem.

Example error:
komadu\service-core\src\main\java\edu\indiana\d2i\komadu\query\graphNonContextGraphGenerator.java package org.w3.www.ns.prov does not exist
komadu\service-core\src\main\java\edu\indiana\d2i\komadu\query\graph\GraphGenerator.java cannot find Symbol class DetailEnumType

I have installed required softwares except for RabbitMQ Server 3.3.1 and Apache ANT v1.6.
I have not yet reached the point where I deploy the service, I am having trouble building it at this point.

System Details : Windows 7 Enterprise, 64 bit OS, MySQL 5.7.11

Best,
Smriti

@gabrielzhouquan
Copy link

Hi Smriti,

Thanks for using Komadu for your study!

The error looks like to be lack of dependency of PROV-model.
One of the steps to build Komadu source is to:

Download ProvToolbox-0.4.0 from https://github.com/lucmoreau/ProvToolbox/releases <https://github.com/lucmoreau/ProvToolbox/releases>. Build (mvn clean install) prov-model and prov-xml modules under it using Maven.

Could you follow this step and try again? Let us know if you still have problems.

Best,

Quan (Gabriel) Zhou
PhD Student, Computer Science Dept., Indiana University
Research Assistant, Data to Insight Center
Tel: +1 (812)-361-5159
Email: [email protected] mailto:[email protected]

On Aug 19, 2016, at 5:03 PM, simrt [email protected] wrote:

Hi,

I am a student studying semantic provenance.
I was trying to get the komadu service running, following the User Guide provided.
I am having trouble building it using maven, it says one of the packages in unavailable and I believe all other errors are related to the same problem.

Example error:
komadu\service-core\src\main\java\edu\indiana\d2i\komadu\query\graphNonContextGraphGenerator.java package org.w3.www.ns.prov does not exist
komadu\service-core\src\main\java\edu\indiana\d2i\komadu\query\graph\GraphGenerator.java cannot find Symbol class DetailEnumType

I have installed required softwares except for RabbitMQ Server 3.3.1 and Apache ANT v1.6.
I have not yet reached the point where I deploy the service, I am having trouble building it at this point.

System Details : Windows 7 Enterprise, 64 bit OS, MySQL 5.7.11

Best,
Smriti


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #10, or mute the thread https://github.com/notifications/unsubscribe-auth/AFtNymnxzDIjr-UtvVRM99sj_1WKcKUQks5qhhomgaJpZM4Jo2kx.

@smrititam
Copy link
Author

Hi Gabriel,

I really appreciate your prompt feedback.
However, I have already followed the steps that you mentioned, which were pre-requisites to building the source anyway. I did have to make a couple of changes in the pom.xml of prov-model, prov-xml as some of the maven artifact id and versions that were in use were outdated.

As a domino effect, also some pom files in komadu root had to modified (FYI) such as :
Changing

org.apache.commons
commons-collections
${commons.collections.version}

As the artifact had been moved under some other id and version in maven repo.

org.apache.commons
commons-collections4
${commons.collections4.version} (I also changed the tag for version later below in the file to reflect it)

I am still looking into the service-core poms, in case I missed anything similar. I would be grateful if you could provide either the updated package name for org.w3.www.ns.prov or any info related to it.

Best,
Smriti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants