If you are behind a proxy, you have to configure git correctly !
|
Source code for JBI components is available at https://bitbucket.org/openesb/openesb-core.
Feel free to fork the repository and create a clone in your local repository.
Prerequisite : Before doing a simple build (package / install) for all components or a specific one, do not forget to do a clean first. The clean should be launch to create some directory and files (bld, version.properties).
To be able to run Maven command without problem, you have to set up environment variables :
openesb-core
working directory.MAVEN_REPOSITORY : it shall have the same value as the maven.repo.local parameter
export JV_SRCROOT=/home/openesb-dev/openesb-core export JV_GFBASE=/home/openesb-dev/glassfish export JV_AS8BASE=$JV_GFBASE export AS8BASE=$JV_GFBASE |
Please use the correct command-line depending on your OS.
For the first time you build, it creates a Maven repository under $JV_SRCROOT and downloads jar files here.
mvn -Dmaven.repo.local=$JV_SRCROOT/m2/repository clean |
mvn -Dmaven.repo.local=$JV_SRCROOT/m2/repository install |
If you want to skip tests while running Maven commands, you have to set the value of the maven.test.skip parameters :
mvn -Dmaven.test.skip=true -Dmaven.repo.local=$JV_SRCROOT/m2/repository install |