commit | 0006ff16ddf17e88243919642d04c40476b76a17 | [log] [tgz] |
---|---|---|
author | Ralf Mollik <ramollik@compex-commerce.com> | Tue Apr 03 13:17:43 2018 +0200 |
committer | Ralf Mollik <ramollik@compex-commerce.com> | Tue Apr 03 13:17:43 2018 +0200 |
tree | 280976a227f085c66b840c702f666c4457d6e486 | |
parent | 552f3b027cd0ae8d2e889178ec4f603637877ad7 [diff] |
adjust build infrastructure settings change osbp.build.local.federated.p2.dir to fit the Eclipse build environment switch default branch to master
==================
###1. Set the local deployment directory:
If you are using Eclipse, go to Preferences/Maven/User Settings. Then click in Open File to open the user‘s settings.xml file.
I you want this file could be found at ~user/.m2 directory.
In the opened file created a new profile and include the property ‘lunifera.developer.home’ and set a value for it that points to a created directory where the result of each repository’s build will be copied.
See this example:
<profiles> <profile> <id>lunifera-dev</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <lunifera.developer.home>/User/myuser/LuniferaDev/</lunifera.developer.home> </properties> </profile> </profiles>
###2. Clone the source repositories:
git clone git@github.com:lunifera/lunifera-releng-maven.git
./scripts/git-clone-others.sh
To be able to contribute you must fork the desired lunifera's github repository and clone from it.
###3. Build and install the parent POMs:
cd lunifera-releng-maven
mvn clean install
./scripts/git-all.sh pull
open a terminal in the repository root folder and type this: mvn -P lunifera.build.p2 -Dlunifera.build.uses.remote.federated.p2
The remote federated p2 is the default, so the property ‘lunifera.build.uses.remote.federated.p2’ can be omitted. mvn -P lunifera.build.p2
mvn -P lunifera.build.p2 -Dlunifera.build.uses.remote.federated.p2 -Dlunifera.deploy.to.local.federated.p2
mvn -P lunifera.build.p2 -Dlunifera.build.uses.local.federated.p2 -Dlunifera.deploy.to.local.federated.p2
mvn -P lunifera.build.p2 -Dlunifera.build.uses.local.federated.p2 -Dlunifera.build.uses.remote.federated.p2 -Dlunifera.deploy.to.local.federated.p2