You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Enrico Daga <en...@gmail.com> on 2010/12/15 14:43:24 UTC

Re: [jira] Commented: (STANBOL-27) Build error: Failed to resolve artifact eu.iksproject:eu.iksproject.kres.shared.dependency.owlapi:jar:0.6-SNAPSHOT

Great Fabian! Good catch!

Enrico

On 15 December 2010 13:35, Fabian Christ (JIRA) <ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/STANBOL-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971661#action_12971661 ]
>
> Fabian Christ commented on STANBOL-27:
> --------------------------------------
>
> The problem is reproducible when deleting the eu/iksproject tree from the local Maven repo
>
> $ rm -rf ~/.m2/repository/eu/iksproject/
>
> and then start a Maven build using the top level Stanbol POM. This problem is not fixed by adding the missing JARs as mentioned by Enrico.
>
> As Andreas noted there is somehow a difference between calling Maven build in the kres directory or using the top level POM.
>
>> Build error: Failed to resolve artifact eu.iksproject:eu.iksproject.kres.shared.dependency.owlapi:jar:0.6-SNAPSHOT
>> ------------------------------------------------------------------------------------------------------------------
>>
>>                 Key: STANBOL-27
>>                 URL: https://issues.apache.org/jira/browse/STANBOL-27
>>             Project: Stanbol
>>          Issue Type: Bug
>>          Components: KReS
>>            Reporter: Andreas Kuckartz
>>
>> $ mvn install
>> in stanbol directory results in:
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building IKS KReS Ontologies
>> [INFO] ------------------------------------------------------------------------
>> ...
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>> Missing:
>> ----------
>> 1) eu.iksproject:eu.iksproject.kres.shared.dependency.owlapi:jar:0.6-SNAPSHOT
>>   Try downloading the file manually from the project website.
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=eu.iksproject -DartifactId=eu.iksproject.kres.shared.depend
>> ency.owlapi -Dversion=0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>   Alternatively, if you host your own repository you can deploy the file there:
>>       mvn deploy:deploy-file -DgroupId=eu.iksproject -DartifactId=eu.iksproject.kres.shared.dependen
>> cy.owlapi -Dversion=0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id
>> ]
>>   Path to dependency:
>>         1) eu.iksproject:eu.iksproject.kres.ontologies:bundle:0.6-SNAPSHOT
>>         2) eu.iksproject:eu.iksproject.kres.shared.dependency.owlapi:jar:0.6-SNAPSHOT
>> ----------
>> 1 required artifact is missing.
>> for artifact:
>>   eu.iksproject:eu.iksproject.kres.ontologies:bundle:0.6-SNAPSHOT
>> from the specified remote repositories:
>>   com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/ext
>> ernal),
>>   central (http://repo1.maven.org/maven2),
>>   java.net (http://download.java.net/maven/2),
>>   apache (http://repository.apache.org/content/groups/snapshots-group)
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>



-- 
Enrico Daga
Technology Expert
--
Ufficio Sistemi Informativi  (DCSPI-USI)
National Research Council (CNR)
P.le Aldo Moro 7 - Rome, Italy
Tel +39 4993 3321
--
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC-CNR)
Via Nomentana 56, Rome - Italy
--
http://stlab.istc.cnr.it/stlab/User:EnricoDaga
http://www.enridaga.net
skype: enri-pan