...
Running mvn in source root will download and setup dependency jars in ~/.m2/repository.
Code Block |
---|
$ mvn |
...
Some modules require dependencies that are not freely available or have an incompatible license. These dependencies you need to donwload yourself. See to following instructions to add them to your maven repository.
1. Download the following jars and put them in the deps directory:
2. Go into the deps directory and run install-non-oss.sh
Code Block |
---|
$ cd deps
$ ./install-non-oss.sh
|
Code Block |
---|
$ mvm -P deps -pl deps
|
Running the maven command in the top directory of the CloudStack sources will compile all sources for CloudStack and run the unittests. The resulting jar files will be in the directory target in the subdirectory for a particular module. The default build will have all components that depends on non OpenSource libraries disabled. If you want to enable this, just add -D nonoss to the mvn command line.
Code Block |
---|
$ mvn -Pprofile1,profile2,profile3
|
...
[-D nonoss]
|
This replaces the old ant debug, but you still have to deploy the database using 'ant deploydb' for now
Code Block |
---|
$ mvn -P client -pl client jetty:run
|
Zsh/Bash/Emacs/Vim/Grep/Sed/Awk/Javac...
...