From 51a5459ff30a8e35ed7047855e5d485a01991fe5 Mon Sep 17 00:00:00 2001 From: suchit sharma Date: Wed, 5 Feb 2014 19:29:04 +0100 Subject: [PATCH 4/4] updated for entries in pom.xml Please enter the commit message for your changes. Lines starting --- install-binary.rst | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/install-binary.rst b/install-binary.rst index c7cbedf..3e96cbf 100644 --- a/install-binary.rst +++ b/install-binary.rst @@ -248,6 +248,24 @@ Installation with Maven $ mvn install:install-file -DgroupId=rsb -DartifactId=rsb -Dversion=0.11.0 -Dpackaging=jar -Dfile=/usr/share/java/rsb-0.11.0.jar $ mvn install:install-file -DgroupId=rsb -DartifactId=protobuf -Dversion=2.4.1 -Dpackaging=jar -Dfile=/usr/share/java/protobuf-java-2.4.1.jar +#. The following changes need to be done in :file:`pom.xml` file which then looks like this: + + .. code-block:: xml + + + rsb + rsb + 0.11.0 + compile + + + rsb + protobuf + 2.4.1 + compile + + + #. To compile the code with dependency use : .. code-block:: sh @@ -258,7 +276,7 @@ Installation with Maven .. code-block:: sh - $ java -cp target/my-app-1.0-SNAPSHOT-jar-with-dependencies.jar com.mycompany.app.App + $ java -cp target/my-app-1.0-SNAPSHOT-jar.jar com.mycompany.app.App .. _install-binary-download: -- 1.7.9.5