[ASTERIXDB-2256] Prep for automatic code formatting
- Define 'root.dir' in all asterixdb projects
- Add 'source-format' profile which formats all code, currently disabled
by default
Change-Id: Idb93d2a61a6075e8156e16ad3c99497b2753e262
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2308
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Integration-Tests: Murtadha Hubail <mhubail@apache.org>
Contrib: Michael Blow <mblow@apache.org>
Integration-Tests: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 6e3d71f..e03fb8a 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -56,6 +56,7 @@
<javac.xlint.value>all</javac.xlint.value>
<jvm.extraargs />
<sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
+ <source-format.goal>format</source-format.goal>
<source-format.skip>false</source-format.skip>
<skipTests>false</skipTests>
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
@@ -526,9 +527,6 @@
<activation>
<activeByDefault>false</activeByDefault>
</activation>
- <properties>
- <source-format.goal>format</source-format.goal>
- </properties>
<build>
<plugins>
<plugin>