you need to download and install the
apache-stanbol-0.9.0-incubating-deps from [1]

best
Rupert

[1] http://incubator.apache.org/stanbol/downloads/releases.html

On Fri, Jun 22, 2012 at 5:01 PM, Alessandro Adamou <[email protected]> wrote:
> Hi,
>
> No dice, but perhaps it can be solved with a repository setup or something?
>
> I cleaned up my local m2 repo, did a full Stanbol build then tried to build
> hermit. It cannot find owlapi:owlapi:3.2.3 despite having built it when it
> built commons.owl. Apparently it's only looking for it in the embedded
> repository...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Stanbol Reasoners: HermiT 0.10.0-incubating-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo/owlapi/owlapi/3.2.3/owlapi-3.2.3.pom
> [WARNING] The POM for owlapi:owlapi:jar:3.2.3 is missing, no dependency
> information available
> Downloading:
> file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo/org/apache/stanbol/org.apache.stanbol.reasoners.servicesapi/0.10.0-incubating-SNAPSHOT/maven-metadata.xml
> Downloading:
> file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo/org/apache/stanbol/stanbol-parent/2-incubating-SNAPSHOT/maven-metadata.xml
> Downloading:
> file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo/org/apache/stanbol/org.apache.stanbol.reasoners.owlapi/0.10.0-incubating-SNAPSHOT/maven-metadata.xml
> Downloading:
> file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo/org/apache/stanbol/org.apache.stanbol.commons.owl/0.10.0-incubating-SNAPSHOT/maven-metadata.xml
> Downloading:
> file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo/owlapi/owlapi/3.2.3/owlapi-3.2.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.991s
> [INFO] Finished at: Fri Jun 22 16:55:38 CEST 2012
> [INFO] Final Memory: 7M/81M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project
> org.apache.stanbol.reasoners.hermit: Could not resolve dependencies for
> project
> org.apache.stanbol:org.apache.stanbol.reasoners.hermit:bundle:0.10.0-incubating-SNAPSHOT:
> Could not find artifact owlapi:owlapi:jar:3.2.3 in reasoners-hermit-embedded
> (file://localhost//Users/alessandro/workspaces/IKS/main/stanbol/contrib/reasoners/hermit/src/main/resources/maven/repo)
> -> [Help 1]
>
> --Alessandro
>
>
>
>  On 6/22/12 4:14 PM, Alessandro Adamou wrote:
>>
>> Thank you Rupert. I'm trying to do a fresh build right now.
>>
>> On 6/22/12 3:27 PM, Rupert Westenthaler wrote:
>>>
>>> The problem its the hermit-1.3.4.jar itself as it includes all the
>>> dependencies. I think this happens because hermit (even the newest
>>> version) still uses owl-api 3.2.2 and o.a.s.commons.owl exports
>>> owl-api 3.2.3.
>>
>>
>> That's correct (and unfortunately the ontology manager code is built after
>> owlapi 3.2.3), but I wonder how come it has been working for almost a year
>> with these two owlapi versions together.
>>
>>> I think I have solved this problem by
>>>
>>> * using the source release of hermit (used the newest version 1.3.6)
>>> * building it myself with the ant task HermiT-standalone-no-libraries
>>> * adapting the POM to include dependencies of HermiT
>>>    * had to add "automata:core:2.0.0-alpha-1" to the included maven repo
>>>
>>> This avoids that owl-api is present in two different versions.
>>
>>
>> Ok. I have unpacked the jars for hermit and jautomata, and noticed that
>> the *.aut files that are in the standard Hermit distribution are not there.
>> I think they are from dk.brics.automaton library (another dependency of
>> hermit), IIRC weird results were delivered when it was not packaged... let's
>> see.
>>
>> Thanks again
>>
>> Alessandro
>>
>>
>>>>> On Fri, Jun 22, 2012 at 12:23 PM, Rupert Westenthaler
>>>>> <[email protected]>    wrote:
>>>>>>
>>>>>> On Fri, Jun 22, 2012 at 9:56 AM, Alessandro Adamou<[email protected]>
>>>>>>  wrote:
>>>>>>>
>>>>>>> I had tried that too. The bundle would start but not the component
>>>>>>>
>>>>>>> org.apache.stanbol.reasoners.hermit.HermitReasoningService
>>>>>>>
>>>>>>> Did it start for you?
>>>>>>
>>>>>> it is active for me.
>>>>>>
>>>>>> If you can send me instructions on how to test it (e.g. a shell script
>>>>>> with curl requests) I will test if it is also functional
>>>>>>
>>>>>> best
>>>>>> Rupert
>>>>>>
>>>>>>
>>>>>> --
>>>>>> | Rupert Westenthaler             [email protected]
>>>>>> | Bodenlehenstraße 11                             ++43-699-11108907
>>>>>> | A-5500 Bischofshofen
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> M.Sc. Alessandro Adamou
>>>>
>>>> Alma Mater Studiorum - Università di Bologna
>>>> Department of Computer Science
>>>> Mura Anteo Zamboni 7, 40127 Bologna - Italy
>>>>
>>>> Semantic Technology Laboratory (STLab)
>>>> Institute for Cognitive Science and Technology (ISTC)
>>>> National Research Council (CNR)
>>>> Via Nomentana 56, 00161 Rome - Italy
>>>>
>>>>
>>>> "I will give you everything, just don't demand anything."
>>>> (Ettore Petrolini, 1917)
>>>>
>>>> Not sent from my iSnobTechDevice
>>>>
>>>
>>>
>>
>>
>
>
> --
> M.Sc. Alessandro Adamou
>
> Alma Mater Studiorum - Università di Bologna
> Department of Computer Science
> Mura Anteo Zamboni 7, 40127 Bologna - Italy
>
> Semantic Technology Laboratory (STLab)
> Institute for Cognitive Science and Technology (ISTC)
> National Research Council (CNR)
> Via Nomentana 56, 00161 Rome - Italy
>
>
> "I will give you everything, just don't demand anything."
> (Ettore Petrolini, 1917)
>
> Not sent from my iSnobTechDevice
>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to