Enhancement #1732

Document how to use maven from the citec repository server in client projects

Added by J. Wienke over 7 years ago. Updated over 7 years ago.

Status:ResolvedStart date:02/05/2014
Priority:NormalDue date:
Assignee:S. Sharma% Done:


Target version:rsb-0.11


In order to use RSB inside a client application that is developed with maven, you can use the deployed packages from the citec repository server. This usage pattern should be documented.


0003-added-steps-for-installation-with-maven.patch Magnifier (1.53 KB) S. Sharma, 02/05/2014 06:40 PM

0004-updated-for-entries-in-pom.xml.patch Magnifier (1.66 KB) S. Sharma, 02/05/2014 07:33 PM

0005-download-jars-using-repository-tag.patch Magnifier (23.4 KB) S. Sharma, 02/13/2014 04:23 PM

Related issues

Related to Robotics Service Bus - Bug #1168: Improve Binary Installation Documentation for RSB Rejected 09/18/2012

Associated revisions

Revision 7e0142d5
Added by J. Wienke over 7 years ago

fixes #1732: document maven repo usage

Document how to use the RSB versions deployed to the CITEC maven
repository in client projects

Includes patches proposed by Suchit Sharma.

Revision f25fd229
Added by J. Wienke over 7 years ago

Fix CITEC repository URLs

refs #1732


#1 Updated by S. Sharma over 7 years ago

Updated the document and attaching the patch, please review.

#2 Updated by S. Sharma over 7 years ago

Updated changes in pom.xml.Attaching another patch.

Note: since changes are in users project ,changes in pom.xml should not have any problem(as here we are not building from source)

#3 Updated by J. Wienke over 7 years ago

I think this doesn't use the repository so far. It should be possible to use RSB from the repo without manually installing jars into your local repository.

You probably needs some configuration like this somewhere:

          <name>CITEC Maven Repository Server</name>

#4 Updated by S. Sharma over 7 years ago

I am not able to compile it successfully with above repository tag :error rsb does not exist.
I also tried to chnage url but does not work
<name>CITEC Maven Repository Server</name>

#5 Updated by S. Sharma over 7 years ago

The compilation with this <repository> option is throwing errors.
It may be due to incorrect repository url, could you please provide me with the exact url of the repository.
Also , why do we need this <repository> tag appoach instead of the one I used earlier to install?
If we use this , does the system downloads jar from repository every time? if it is, it should be better to install jar on local system.

#6 Updated by J. Wienke over 7 years ago

The whole idea of maven is to automatically pull dependencies from a repository server and to prevent manual work for dependencies. That's the reason why we would like to document that method. The dependencies will usually be cached on your local computer once you compiled your client project, so downloads will not happen all the time.

The configuration fragment with the repository location is correct. I have already used that one and it originates from my .m2/settings.xml. What are the exact errors?

From your first comment:

<name>CITEC Maven Repository Server</name>

This is not the intended way to use repositories. You only configure the base URL (http://repo.cit-ec.uni-bielefeld.de/) and the remaining thing required to download a jar file are handled through the group, name and version specification of your dependencies.

As we will need to work with maven more often it would be good if you could familiarize yourself with the maven concepts by reading some of the documentation and tutorials. We will get in touch with this over and over again.

#7 Updated by S. Sharma over 7 years ago

Compilation with repository tag working now.
Please find attached ,patch for updated document.

#8 Updated by J. Wienke over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Applied in changeset rsb-manual|commit:7e0142d532ccc3c0a403670ddf864198e857164c.

#9 Updated by J. Wienke over 7 years ago

I have reworded some aspects of your patch and applied it to master along with a few other improvements.

Also available in: Atom PDF