-
Notifications
You must be signed in to change notification settings - Fork 12
Maven Build
pibebtol edited this page Jan 30, 2020
·
1 revision
The maven build for the project must be triggered on the pom in the parent-plugin, from the root of the project that can be done with the following command:
mvn -f ./plugins/de.tudresden.slr.parent/pom.xml clean install
On success, this creates compressed packages of the toolkit in ./features/de.tudresden.slr.product/target/products
.
On linux the following script can be put in a directory next to the cloned github repository (for convenient building and storage of previous builds):
.
├── mvnbuild
│ ├── backupToolkitPackages
│ ├── newSlrToolkit.sh
│ ├── startSlrToolkit.sh
│ └── workspace
└── slr-toolkit
└── ...
newSlrToolkit.sh
:
#!/bin/sh
mvn -f ../slr-toolkit/plugins/de.tudresden.slr.parent/pom.xml clean install
rm -rf ./workspace/*
cp ../slr-toolkit/features/de.tudresden.slr.product/target/products/*linux.gtk.x86_64.tar.gz ./workspace/
cp ../slr-toolkit/features/de.tudresden.slr.product/target/products/*linux.gtk.x86_64.tar.gz ./backupToolkitPackages/
cd ./workspace/
tar -xzvf *.tar.gz
./slr-toolkit
startSlrToolkit.sh
:
#!/bin/sh
cd ./workspace/
./slr-toolkit