- Maven 3.0 or greater

Environment Setup:

- Set the environment variable of JAVAHOME to point to the root of the JDK installation folder (i.e. C:\Program Files\Java\jdk1.7.005)

- Set the environment variable of M2_HOME to point to the root of the Maven folder (i.e. D:\java\Maven\apache-maven-3.0.4)

- Add maven bin to the end of the PATH environment variable (i.e. D:\java\Maven\apache-maven-3.0.4\bin)


In the root of the git-tf project run the following command:

mvn assembly:assembly

Last edited Aug 10, 2012 at 9:07 PM by youhanaNaseim, version 9


shadowmaan Nov 10, 2013 at 9:12 AM 
Hi, a couple of notes maybe interesting for someone.

to build on Debian linux I had to provide source and target options

mvn -Dmaven.compiler.source=1.5 assembly:assembly

To run git-tf, I had to convert its line endings

dos2unix git-tf


l_o_l Feb 7, 2013 at 1:09 PM 
This now builds correctly thanks.

amaechler Feb 5, 2013 at 5:46 PM 
For some reason, the version of maven that comes with OSX does not build git-tf successfully. If you use the the maven binaries from the apache download site, git-tf compiles perfectly (that is on OSX 10.8).

arukhlin Jan 30, 2013 at 8:08 PM 
Hi l_o_l,

Thanks for your finding. The bug in the unit test has been fixed. Could you please try again with the latest sources?


l_o_l Jan 22, 2013 at 5:13 PM 
No luck building the project, I get the following error:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.033 sec <<< FAILURE!
Processed properties file src\main\resources/com/microsoft/gittf/client/clc/
Found 185 properties.
Found 42 java files.
Found 46 parameterized messages.
Found 251 message references.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec

Results :

Tests in error:
initializationError( (class: com/microsoft/gittf/client/clc/arguments/ArgumentOptions, method: <init> signature: (I)V) Constructor must call super() or this()