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

Installing RDFUnit: missing documentation and errors #24

Closed
LaurensRietveld opened this issue Sep 12, 2014 · 1 comment
Closed

Installing RDFUnit: missing documentation and errors #24

LaurensRietveld opened this issue Sep 12, 2014 · 1 comment

Comments

@LaurensRietveld
Copy link

Installing RDFUnit is tricky. I could not find documentation on what file to run.

I tried ./build-deb-package.sh, which produced git and dch errors at first. I fixed the first error by cloning the repo instead of downloading the tar.gz release. The second error was fixed by installing the devscripts package. However, building the deb failed eventually with the maven error I've copy pasted below (section _DEB_)

Additionally, I tried running the bin scripts. At first, running ./bin/rdfunit did not work (see section _BIN/RDFUNIT_.

Afterwards, running ./bin/rdfunit-dev did work. After running the dev version, running the regular ./bin/rdfunit worked as well.

I guess either I would need a lesson in finding documentation and rtfm, or some extra documentation on how to install rdfunit is needed.

_DEB_

[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /home/lrd900/Downloads/RDFUnit/rdfunit-validate/target/rdfunit-cli.jar with /home/lrd900/Downloads/RDFUnit/rdfunit-validate/target/rdfunit-validate-0.7.2-SNAPSHOT-shaded.jar
[INFO] Dependency-reduced POM written at: /home/lrd900/Downloads/RDFUnit/rdfunit-validate/dependency-reduced-pom.xml
[INFO] Dependency-reduced POM written at: /home/lrd900/Downloads/RDFUnit/rdfunit-validate/dependency-reduced-pom.xml
[INFO]
[INFO] --- jdeb:1.0:jdeb (default) @ rdfunit-validate ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.748s
[INFO] Finished at: Fri Sep 12 15:59:08 CEST 2014
[INFO] Final Memory: 26M/345M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.vafer:jdeb:1.0:jdeb (default) on project rdfunit-validate: Unable to parse configuration of mojo org.vafer:jdeb:1.0:jdeb for parameter mapper: Cannot find setter, adder nor field in org.vafer.jdeb.maven.Mapper for 'serialization' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException

_BIN/RDFUNIT_
[ERROR] Failed to execute goal on project rdfunit-validate: Could not resolve dependencies for project org.aksw.rdfunit:rdfunit-validate:jar:0.7.2-SNAPSHOT: The following artifacts could not be resolved: org.aksw.rdfunit:rdfunit-core:jar:0.7.2-SNAPSHOT, org.aksw.rdfunit:rdfunit-resources:jar:0.7.2-SNAPSHOT: Could not find artifact org.aksw.rdfunit:rdfunit-core:jar:0.7.2-SNAPSHOT in maven.aksw.internal (http://maven.aksw.org/archiva/repository/internal) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

@jimkont
Copy link
Member

jimkont commented Sep 12, 2014

I have some basic documentation on the wiki
https://github.com/AKSW/RDFUnit/wiki/CLI

the rdfunit-dev version re-compiles the code on every run while rdfunit not
I will fix the normal script and compile if no build is found

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