Skip to content

Building Manually

Jonathan Mace edited this page May 31, 2017 · 4 revisions

To build manually, clone the Git Repository and build as normal with maven:

git clone [email protected]:tracingplane/tracingplane-java.git

mvn clean package install

Note: the Tracing Plane project uses Java 8

If the build succeeded, you should see something like the following:

[INFO] Reactor Summary:
[INFO]
[INFO] Tracing Plane ...................................... SUCCESS [  0.296 s]
[INFO] Baggage Context .................................... SUCCESS [  0.005 s]
[INFO] Baggage Context - API .............................. SUCCESS [  1.415 s]
[INFO] Baggage Context - Static API ....................... SUCCESS [  0.326 s]
[INFO] Baggage Context - Transit Layer Impl ............... SUCCESS [  0.204 s]
[INFO] Atom Layer ......................................... SUCCESS [  0.004 s]
[INFO] Atom Layer - Core .................................. SUCCESS [  1.000 s]
[INFO] Atom Layer - BaggageContext Impl ................... SUCCESS [  0.158 s]
[INFO] Baggage Protocol ................................... SUCCESS [  0.006 s]
[INFO] Baggage Protocol - Core ............................ SUCCESS [  0.704 s]
[INFO] Baggage Protocol - BaggageContext Impl ............. SUCCESS [  0.099 s]
[INFO] Baggage Definition Language ........................ SUCCESS [  0.004 s]
[INFO] Baggage Definition Language - Compiler ............. SUCCESS [ 34.672 s]
[INFO] Baggage Definition Language - Core ................. SUCCESS [  0.458 s]
[INFO] Baggage Definition Language - BaggageContext Impl .. SUCCESS [  0.189 s]
[INFO] Baggage Definition Language - Examples ............. SUCCESS [  2.082 s]
[INFO] Tracing Plane Distributions ........................ SUCCESS [  0.002 s]
[INFO] Tracing Plane Distributions - Main Distribution .... SUCCESS [  1.589 s]
[INFO] Tracing Plane Distributions - Github Distribution .. SUCCESS [  0.004 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.410 s
[INFO] Finished at: 2017-05-31T11:38:02-04:00
[INFO] Final Memory: 98M/1045M

If you see an unexpected error message while building, please post to the tracing-plane Google Group

After building, you can do any of the following:

Using in a Maven Project

Add the following dependency to your pom.xml

<dependency>
	<groupId>brown.tracingplane</groupId>
	<artifactId>tracingplane</artifactId>
	<version>1.0</version>
</dependency>

Using a distribution JAR

In the dist/tracingplane/target folder you will find tracingplane-1.0.jar, along with all of the dependency JARs in dist/tracingplane/target/lib.

Alternatively, tracingplane-1.0-jar-with-dependencies.jar in dist/tracingplane/target includes all dependencies within the JAR.

Custom Builds

See Custom Builds for information on the different build options that are available.

Clone this wiki locally