Bump test dependencies
[lttng-ust-java-tests.git] / README.md
index bf4350ef458ee3d2233dbbeff274453581be0425..6d1f5fa785918628757e2c4f1e19c7ff6b411c8b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Prerequisites
 * Java 1.8
 * [Apache Maven](https://maven.apache.org/) 3.0+
 * A recent version of [LTTng-Tools](https://lttng.org/download/)
-* A recent version of [Babeltrace](http://www.efficios.com/babeltrace)
+* A recent version of [Babeltrace 2.x](http://www.efficios.com/babeltrace)
 * A git branch or version of LTTng-UST you want to test
 
 For example, on Ubuntu you can use the
@@ -22,7 +22,7 @@ OpenJDK from the main repository:
 
     sudo apt-add-repository ppa:lttng/ppa
     sudo apt-get update
-    sudo apt-get install lttng-tools babeltrace maven openjdk-8-jre
+    sudo apt-get install lttng-tools babeltrace2 maven openjdk-8-jre
 
 Also make sure `mvn -version` reports a `Java version: 1.8` or higher. If it
 does not, you may need to set your `JAVA_HOME` accordingly.
@@ -68,10 +68,11 @@ If for example, you installed into the `/usr` prefix instead of `/usr/local`,
 you can use the following properties to specify different locations for the
 lttng-ust-agent-java jars:
 
-    mvn clean verify
-    -Dcommon-jar-location=/usr/share/java/lttng-ust-agent-common.jar
-    -Djul-jar-location=/usr/share/java/lttng-ust-agent-jul.jar
-    -Dlog4j-jar-location=/usr/share/java/lttng-ust-agent-log4j.jar
+    mvn clean verify \
+    -Dcommon-jar-location=/usr/share/java/lttng-ust-agent-common.jar \
+    -Djul-jar-location=/usr/share/java/lttng-ust-agent-jul.jar \
+    -Dlog4j-jar-location=/usr/share/java/lttng-ust-agent-log4j.jar \
+    -Dlog4j2-jar-location=/usr/share/java/lttng-ust-agent-log4j2.jar
 
 To specify a different locations for the JNI .so libraries, you can set the
 `-Djava.library.path` property on the JVM:
This page took 0.022476 seconds and 4 git commands to generate.