KFS uses Maven for packaging and unit testing.
Configuration properties have defaulted values which are included in the KFS war and may be overridden at runtime. There are skeleton config files located in kfs/src/main/config to aid in overriding the most common properties. To override:
-Dadditional.kfs.config.locations
property.
For ease of future upgrades, you should avoid modifying any of the delivered files under the kfs
directory.
To create a deployable KFS war, you can use the mvn package
command. To execute the KFS unit tests, you can use the mvn test
command. See the setup instructions and Maven Introduction to the Build Lifecycle documentation for more information.
Description | Maven Command |
Remove all build output | clean |
Delete all generated/extracted files within the project. | clean |
Builds the KFS war file | package |
Create artifacts and install them in ~/.m2/repository | install |
Run all unit tests and format results | test |