- assemblies: Project distribution archive is produced under this module
- editor: Tahopen Metadata Editor library artifact
tahopen-metadata-editor uses the maven framework.
- Maven, version 3+
- Java JDK 11
This is a maven project, and to build it use the following command
mvn clean install
Optionally you can specify -Dmaven.test.skip=true to skip the tests (even though you shouldn't as you know)
The build result will be a Tahopen package located in target
.
Unit tests
This will run all unit tests in the project (and sub-modules).
$ mvn test
If you want to remote debug a single java unit test (default port is 5005):
$ cd core
$ mvn test -Dtest=<<YourTest>> -Dmaven.surefire.debug
To skip test
$ mvn clean install -DskipTests
To get log as text file
$ mvn clean install test >log.txt
IntelliJ
- Don't use IntelliJ's built-in maven. Make it use the same one you use from the commandline.
- Project Preferences -> Build, Execution, Deployment -> Build Tools -> Maven ==> Maven home directory