Hi

You can add an option to the platform-api dependency in the pom:

<scope>optional</scope>

This will stop maven from trying to download it. 

We will see which is the best way to handle this in our repository.

hth,
Philip

On Nov 11, 2010, at 7:24 PM, heapifyman wrote:

> 
> Good evening everyone.
> 
> I have a little problem trying to use the maven artefacts for the KIM
> Java RMI API as is suggested to use here:
> http://ontotext.com/kim/doc/KimDocs-3.0-EN/KIMJavaRMIAPI.html
> 
> The first problem was, that the kim-api depends on
> com.ontotext.platform-api, which is not available in the public maven
> repo. I had to extract that from the downloaded KIM platform zip file
> and install it manually in my maven repo (which is artifactory).
> 
> Next problem is:
> platform-api in turn includes "com.ontotext.platform" as its parent.
> Unfortunately, I cannot find this artefact in any of the public maven
> repositories nor in the KIM platform zip file.
> 
> Thus my maven build fails because the parent pom cannot be resolved.
> 
> I'd appreciate any tips about how to proceed?
> 
> Best regards.
> 
> P.S.: My recommendation would be that the kim-api's dependencies should
> be available in the public maven repository. Otherwise it does not make
> much sense to provide instructions like:
> "maven users can just reference the kim-api artifact from our public
> repository"
> in the documentation.
> 
> 
> 
> _______________________________________________
> Kim-discussion mailing list
> [email protected]
> http://ontotext.com/mailman/listinfo/kim-discussion

_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to