Hi Gregor,
some answers inline

On 9 January 2014 16:01, Gregor Müllegger <[email protected]> wrote:

> Hi,
>
> I wanted to try out the HermiT reasoner and followed the instructions from
> the documentation:
> http://stanbol.apache.org/docs/trunk/components/reasoner/
>
> However I found a few issues with it:
>
> 1. The link to the repository in the documentation is broken.
> 2. I found that there is a hermit directory for the release-0.12 branch:
>
> https://svn.apache.org/repos/asf/stanbol/branches/release-0.12/contrib/reasoners/hermit/

We ported directories to the new trunk while we needed them.
This is clearly the moment to bring something from contrib.


>
>
> However when I go to this directory in my local build, and execute the mvn
> install, I get:
>
> vagrant@precise64:~/release-0.12/stanbol/contrib/reasoners/hermit$ mvn
> install -PinstallBundle -Dsling.url=http://localhost:8080/system/console
> [INFO] Scanning for projects...
> Downloading:
>
> file://localhost/${project.basedir}/src/main/resources/maven/repo/org/apache/stanbol/stanbol-parent/2-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.apache.stanbol:stanbol-parent:2-SNAPSHOT/maven-metadata.xml from/to
> reasoners-hermit-embedded
> (file://localhost/${project.basedir}/src/main/resources/maven/repo):
> Repository path /${project.basedir}/src/main/resources/maven/repo does not
> exist, and cannot be created.
> Downloading:
>
> file://localhost/${project.basedir}/src/main/resources/maven/repo/org/apache/stanbol/stanbol-parent/2-SNAPSHOT/stanbol-parent-2-SNAPSHOT.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project
> org.apache.stanbol:org.apache.stanbol.reasoners.hermit:0.10.0-SNAPSHOT
> (/home/vagrant/release-0.12/stanbol/contrib/reasoners/hermit/pom.xml) has 1
> error
> [ERROR]     Non-resolvable parent POM: Could not transfer artifact
> org.apache.stanbol:stanbol-parent:pom:2-SNAPSHOT from/to
> reasoners-hermit-embedded
> (file://localhost/${project.basedir}/src/main/resources/maven/repo):
> Repository path /${project.basedir}/src/main/resources/maven/repo does not
> exist, and cannot be created. and 'parent.relativePath' points at wrong
> local POM @ line 23, column 11 -> [Help 2]
> [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/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Contrib contains sub projects that will not be part of an official
distribution.
Since they are not on Jenkins too, they may be outdated.
Updating parents should be enough, at a first sight.

>
>
>
> 3. I noticed that there is no contrib directory in the trunk repository for
> stanbol. Is HermiT support removed for future releases anyway?
>
Support for hermit belongs to the reasoners/owlapi submodule and is and
will supported for the time being.

>
>
> Maybe someone can shed a light on the current support of HermiT.
>

Please open a Jira ticket about it, I will take care of refreshing it and
moving it to trunk as soon as I have some time.
Thank you for reporting.

Best,
Enrico


> Thanks already for you help!
> Gregor
>



-- 
Enrico Daga

--
http://www.enridaga.net
skype: enri-pan

Reply via email to