Michael Blow has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/2232
Change subject: [NO ISSUE] Determine root.dir dynamically
......................................................................
[NO ISSUE] Determine root.dir dynamically
Change-Id: I1776b7e189bafcaa5a692b8bdd94ec00b4025612
---
A .mvn/.placeholder
M asterixdb/asterix-common/pom.xml
M asterixdb/asterix-lang-sqlpp/pom.xml
M asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
M asterixdb/asterix-maven-plugins/pom.xml
M asterixdb/asterix-transactions/pom.xml
M asterixdb/pom.xml
M hyracks-fullstack/algebricks/algebricks-common/pom.xml
M hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
M hyracks-fullstack/algebricks/algebricks-core/pom.xml
M hyracks-fullstack/algebricks/algebricks-data/pom.xml
M hyracks-fullstack/algebricks/algebricks-rewriter/pom.xml
M hyracks-fullstack/algebricks/algebricks-runtime/pom.xml
M hyracks-fullstack/algebricks/algebricks-tests/pom.xml
M hyracks-fullstack/algebricks/pom.xml
M hyracks-fullstack/hyracks/hyracks-api/pom.xml
M hyracks-fullstack/hyracks/hyracks-client/pom.xml
M hyracks-fullstack/hyracks/hyracks-comm/pom.xml
M hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
M hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/pom.xml
M hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/pom.xml
M hyracks-fullstack/hyracks/hyracks-control/hyracks-nc-service/pom.xml
M hyracks-fullstack/hyracks/hyracks-control/pom.xml
M hyracks-fullstack/hyracks/hyracks-data/hyracks-data-std/pom.xml
M hyracks-fullstack/hyracks/hyracks-data/pom.xml
M hyracks-fullstack/hyracks/hyracks-dataflow-common/pom.xml
M hyracks-fullstack/hyracks/hyracks-dataflow-std/pom.xml
M hyracks-fullstack/hyracks/hyracks-dist/pom.xml
M hyracks-fullstack/hyracks/hyracks-documentation/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeclient/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreehelper/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeserver/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/btree-example/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/hyracks-shutdown-test/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/text-example/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/text-example/textclient/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/text-example/texthelper/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/text-example/textserver/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/tpch-example/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchclient/pom.xml
M hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchserver/pom.xml
M hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-1.x/pom.xml
M hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-2.x/pom.xml
M hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
M hyracks-fullstack/hyracks/hyracks-hdfs/pom.xml
M hyracks-fullstack/hyracks/hyracks-http/pom.xml
M hyracks-fullstack/hyracks/hyracks-ipc/pom.xml
M
hyracks-fullstack/hyracks/hyracks-maven-plugins/hyracks-virtualcluster-maven-plugin/pom.xml
M
hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
M hyracks-fullstack/hyracks/hyracks-maven-plugins/pom.xml
M hyracks-fullstack/hyracks/hyracks-net/pom.xml
M hyracks-fullstack/hyracks/hyracks-server/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-bloomfilter/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-am-rtree/pom.xml
M hyracks-fullstack/hyracks/hyracks-storage-common/pom.xml
M hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
M
hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-bloomfilter-test/pom.xml
M hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-btree-test/pom.xml
M
hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-btree-test/pom.xml
M
hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
M
hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/pom.xml
M
hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-rtree-test/pom.xml
M hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-rtree-test/pom.xml
M hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-common-test/pom.xml
M hyracks-fullstack/hyracks/hyracks-tests/pom.xml
M hyracks-fullstack/hyracks/hyracks-util/pom.xml
M hyracks-fullstack/hyracks/pom.xml
M hyracks-fullstack/pom.xml
76 files changed, 115 insertions(+), 277 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/32/2232/1
diff --git a/.mvn/.placeholder b/.mvn/.placeholder
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.mvn/.placeholder
diff --git a/asterixdb/asterix-common/pom.xml b/asterixdb/asterix-common/pom.xml
index 8816bd0..e5173e4 100644
--- a/asterixdb/asterix-common/pom.xml
+++ b/asterixdb/asterix-common/pom.xml
@@ -292,4 +292,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/asterixdb/asterix-lang-sqlpp/pom.xml
b/asterixdb/asterix-lang-sqlpp/pom.xml
index 46c0c4a..e5dd5e1 100644
--- a/asterixdb/asterix-lang-sqlpp/pom.xml
+++ b/asterixdb/asterix-lang-sqlpp/pom.xml
@@ -175,4 +175,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git
a/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
b/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
index 637305e..fc8b35c 100644
---
a/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
+++
b/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
@@ -164,4 +164,4 @@
</build>
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
diff --git a/asterixdb/asterix-maven-plugins/pom.xml
b/asterixdb/asterix-maven-plugins/pom.xml
index c76c286..81c6917 100644
--- a/asterixdb/asterix-maven-plugins/pom.xml
+++ b/asterixdb/asterix-maven-plugins/pom.xml
@@ -48,4 +48,4 @@
<module>asterix-test-datagenerator-maven-plugin</module>
<module>asterix-grammar-extension-maven-plugin</module>
</modules>
-</project>
\ No newline at end of file
+</project>
diff --git a/asterixdb/asterix-transactions/pom.xml
b/asterixdb/asterix-transactions/pom.xml
index 7ec8307..129fc8e 100644
--- a/asterixdb/asterix-transactions/pom.xml
+++ b/asterixdb/asterix-transactions/pom.xml
@@ -156,4 +156,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index 0308d22..371e2b4 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -72,6 +72,36 @@
<build>
<plugins>
<plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <source>
+ def orig = project.properties.getProperty("root.dir")
+ def candidate = new File("${basedir}")
+ while (candidate != null) {
+ if (new File(candidate, ".mvn").exists()) {
+ project.properties.setProperty("root.dir",
candidate.canonicalPath)
+ if (orig == null) {
+ log.info("initialized root.dir to " +
candidate.canonicalPath)
+ } else if (!orig.equals(candidate.canonicalPath)) {
+ log.info("redefined root.dir to " +
candidate.canonicalPath + ", was " + orig)
+ }
+ break
+ }
+ candidate = candidate.parentFile
+ }
+ </source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
@@ -268,6 +298,11 @@
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
diff --git a/hyracks-fullstack/algebricks/algebricks-common/pom.xml
b/hyracks-fullstack/algebricks/algebricks-common/pom.xml
index 7ae71c6..f9e9674 100644
--- a/hyracks-fullstack/algebricks/algebricks-common/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-common/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
b/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
index 706e2ce..16dc26c 100644
--- a/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/algebricks/algebricks-core/pom.xml
b/hyracks-fullstack/algebricks/algebricks-core/pom.xml
index b8666c4..502c105 100644
--- a/hyracks-fullstack/algebricks/algebricks-core/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-core/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/algebricks/algebricks-data/pom.xml
b/hyracks-fullstack/algebricks/algebricks-data/pom.xml
index 6390d4a..ded4e72 100644
--- a/hyracks-fullstack/algebricks/algebricks-data/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-data/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/algebricks/algebricks-rewriter/pom.xml
b/hyracks-fullstack/algebricks/algebricks-rewriter/pom.xml
index b9653af..48f3416 100644
--- a/hyracks-fullstack/algebricks/algebricks-rewriter/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-rewriter/pom.xml
@@ -33,9 +33,7 @@
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
@@ -61,4 +59,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/hyracks-fullstack/algebricks/algebricks-runtime/pom.xml
b/hyracks-fullstack/algebricks/algebricks-runtime/pom.xml
index bbea2ab..2ee4d08 100644
--- a/hyracks-fullstack/algebricks/algebricks-runtime/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-runtime/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/algebricks/algebricks-tests/pom.xml
b/hyracks-fullstack/algebricks/algebricks-tests/pom.xml
index a835569..e1aefb6 100644
--- a/hyracks-fullstack/algebricks/algebricks-tests/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-tests/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/algebricks/pom.xml
b/hyracks-fullstack/algebricks/pom.xml
index 274018d..8b3dea0 100644
--- a/hyracks-fullstack/algebricks/pom.xml
+++ b/hyracks-fullstack/algebricks/pom.xml
@@ -38,10 +38,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/..</root.dir>
- </properties>
-
<modules>
<module>algebricks-compiler</module>
<module>algebricks-common</module>
diff --git a/hyracks-fullstack/hyracks/hyracks-api/pom.xml
b/hyracks-fullstack/hyracks/hyracks-api/pom.xml
index 71bf5fc..70cff16 100644
--- a/hyracks-fullstack/hyracks/hyracks-api/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-api/pom.xml
@@ -37,7 +37,6 @@
</licenses>
<properties>
- <root.dir>${basedir}/../..</root.dir>
</properties>
<build>
<plugins>
diff --git a/hyracks-fullstack/hyracks/hyracks-client/pom.xml
b/hyracks-fullstack/hyracks/hyracks-client/pom.xml
index 16039ab..b73c10e 100644
--- a/hyracks-fullstack/hyracks/hyracks-client/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-client/pom.xml
@@ -35,10 +35,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-comm/pom.xml
b/hyracks-fullstack/hyracks/hyracks-comm/pom.xml
index db36094..280acd5 100644
--- a/hyracks-fullstack/hyracks/hyracks-comm/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-comm/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
index 763c5ac..95c8ff5 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
@@ -28,7 +28,6 @@
</parent>
<properties>
- <root.dir>${basedir}/../../..</root.dir>
<sonar.sources>pom.xml,src/main/java,src/main/resources</sonar.sources>
</properties>
<dependencies>
diff --git
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/pom.xml
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/pom.xml
index 0f12936..a0f35d1 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/pom.xml
@@ -27,9 +27,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/pom.xml
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/pom.xml
index 594b701..06097b2 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/pom.xml
@@ -27,9 +27,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-nc-service/pom.xml
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-nc-service/pom.xml
index 4473e5e..745f9cb 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-nc-service/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-nc-service/pom.xml
@@ -27,10 +27,6 @@
<artifactId>hyracks-nc-service</artifactId>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>args4j</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-control/pom.xml
b/hyracks-fullstack/hyracks/hyracks-control/pom.xml
index 03169c2..e673626 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-control/pom.xml
@@ -38,10 +38,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<modules>
<module>hyracks-control-common</module>
<module>hyracks-control-cc</module>
diff --git a/hyracks-fullstack/hyracks/hyracks-data/hyracks-data-std/pom.xml
b/hyracks-fullstack/hyracks/hyracks-data/hyracks-data-std/pom.xml
index 13a6ad9..23e219e 100644
--- a/hyracks-fullstack/hyracks/hyracks-data/hyracks-data-std/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-data/hyracks-data-std/pom.xml
@@ -27,9 +27,7 @@
<artifactId>hyracks-data</artifactId>
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-data/pom.xml
b/hyracks-fullstack/hyracks/hyracks-data/pom.xml
index df68b35..ea53eae 100644
--- a/hyracks-fullstack/hyracks/hyracks-data/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-data/pom.xml
@@ -38,10 +38,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>junit</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-dataflow-common/pom.xml
b/hyracks-fullstack/hyracks/hyracks-dataflow-common/pom.xml
index 5088719..89dac42 100644
--- a/hyracks-fullstack/hyracks/hyracks-dataflow-common/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-dataflow-common/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-dataflow-std/pom.xml
b/hyracks-fullstack/hyracks/hyracks-dataflow-std/pom.xml
index fb16cba..f183f00 100644
--- a/hyracks-fullstack/hyracks/hyracks-dataflow-std/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-dataflow-std/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-dist/pom.xml
b/hyracks-fullstack/hyracks/hyracks-dist/pom.xml
index 48919d5..8053055 100644
--- a/hyracks-fullstack/hyracks/hyracks-dist/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-dist/pom.xml
@@ -39,7 +39,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <root.dir>${basedir}/../..</root.dir>
</properties>
<build>
diff --git a/hyracks-fullstack/hyracks/hyracks-documentation/pom.xml
b/hyracks-fullstack/hyracks/hyracks-documentation/pom.xml
index 2abdd40..7c4d307 100644
--- a/hyracks-fullstack/hyracks/hyracks-documentation/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-documentation/pom.xml
@@ -28,10 +28,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeclient/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeclient/pom.xml
index b592c37..224a2b3 100644
---
a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeclient/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeclient/pom.xml
@@ -28,10 +28,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreehelper/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreehelper/pom.xml
index 9ee45f6..7b33109 100644
---
a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreehelper/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreehelper/pom.xml
@@ -28,10 +28,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeserver/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeserver/pom.xml
index 6c05fe4..c028533 100644
---
a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeserver/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/btreeserver/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/pom.xml
index 4b7cacf..7daabcc 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/btree-example/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/btree-example/pom.xml
@@ -30,10 +30,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<modules>
<module>btreehelper</module>
<module>btreeclient</module>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
index 7472aa8..0041694 100644
---
a/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
@@ -48,9 +48,7 @@
</plugin>
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/hyracks-shutdown-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/hyracks-shutdown-test/pom.xml
index 1514c8e..b5c3c16 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/hyracks-shutdown-test/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/hyracks-shutdown-test/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-examples/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/pom.xml
index 1979f28..2496079 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/pom.xml
@@ -38,10 +38,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<modules>
<module>tpch-example</module>
<module>text-example</module>
diff --git a/hyracks-fullstack/hyracks/hyracks-examples/text-example/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/text-example/pom.xml
index 11257b2..898e117 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/text-example/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/text-example/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<modules>
<module>texthelper</module>
<module>textclient</module>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/text-example/textclient/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/text-example/textclient/pom.xml
index d284826..dfb841a 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/text-example/textclient/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/text-example/textclient/pom.xml
@@ -28,10 +28,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/text-example/texthelper/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/text-example/texthelper/pom.xml
index 01d0892..bb67ddf 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/text-example/texthelper/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/text-example/texthelper/pom.xml
@@ -28,10 +28,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/text-example/textserver/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/text-example/textserver/pom.xml
index 100e083..892f386 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/text-example/textserver/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/text-example/textserver/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/pom.xml
index c3e1809..5d8d0b7 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<modules>
<module>tpchclient</module>
<module>tpchserver</module>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchclient/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchclient/pom.xml
index bb9afe7..bb146ae 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchclient/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchclient/pom.xml
@@ -27,9 +27,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../..</root.dir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchserver/pom.xml
b/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchserver/pom.xml
index a6c5b76..c8aebb2 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchserver/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/tpch-example/tpchserver/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../../../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-1.x/pom.xml
b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-1.x/pom.xml
index 5b790e2..985a217 100644
--- a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-1.x/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-1.x/pom.xml
@@ -26,9 +26,6 @@
<groupId>org.apache.hyracks</groupId>
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
<build>
<plugins>
diff --git a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-2.x/pom.xml
b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-2.x/pom.xml
index 7b9a529..0f51502 100644
--- a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-2.x/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-2.x/pom.xml
@@ -26,9 +26,6 @@
<groupId>org.apache.hyracks</groupId>
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
<build>
<plugins>
diff --git a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
index e1c91c1..319076c 100644
--- a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
@@ -27,9 +27,7 @@
<groupId>org.apache.hyracks</groupId>
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
+
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-hdfs/pom.xml
b/hyracks-fullstack/hyracks/hyracks-hdfs/pom.xml
index bf4c01b..ce8ec47 100644
--- a/hyracks-fullstack/hyracks/hyracks-hdfs/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-hdfs/pom.xml
@@ -29,10 +29,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<licenses>
<license>
<name>Apache License, Version 2.0</name>
diff --git a/hyracks-fullstack/hyracks/hyracks-http/pom.xml
b/hyracks-fullstack/hyracks/hyracks-http/pom.xml
index 099c429..4965ef9 100644
--- a/hyracks-fullstack/hyracks/hyracks-http/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-http/pom.xml
@@ -26,7 +26,6 @@
</parent>
<artifactId>hyracks-http</artifactId>
<properties>
- <root.dir>${basedir}/../..</root.dir>
<direct.mem>-XX:MaxDirectMemorySize</direct.mem>
<num.arenas>-Dio.netty.allocator.numDirectArenas</num.arenas>
<max.order>-Dio.netty.allocator.maxOrder</max.order>
@@ -80,4 +79,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/hyracks-fullstack/hyracks/hyracks-ipc/pom.xml
b/hyracks-fullstack/hyracks/hyracks-ipc/pom.xml
index 5ef436f..15a54c4 100644
--- a/hyracks-fullstack/hyracks/hyracks-ipc/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-ipc/pom.xml
@@ -36,9 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-maven-plugins/hyracks-virtualcluster-maven-plugin/pom.xml
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/hyracks-virtualcluster-maven-plugin/pom.xml
index 20ed8b4..bf7e2ab 100644
---
a/hyracks-fullstack/hyracks/hyracks-maven-plugins/hyracks-virtualcluster-maven-plugin/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/hyracks-virtualcluster-maven-plugin/pom.xml
@@ -29,39 +29,35 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<build>
- <pluginManagement>
- <plugins>
- <!--This plugin's configuration is used to store Eclipse m2e
settings only. It has no influence on the Maven build itself.-->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-plugin-plugin</artifactId>
- <versionRange>[0.0,)</versionRange>
- <goals>
- <goal>descriptor</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
+ <pluginManagement>
+ <plugins>
+ <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <versionRange>[0.0,)</versionRange>
+ <goals>
+ <goal>descriptor</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
</project>
diff --git
a/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
index e8e7783..0555b5e 100644
---
a/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
@@ -28,10 +28,6 @@
<artifactId>license-automation-plugin</artifactId>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
@@ -97,4 +93,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/hyracks-fullstack/hyracks/hyracks-maven-plugins/pom.xml
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/pom.xml
index eb89932..00caf4e 100644
--- a/hyracks-fullstack/hyracks/hyracks-maven-plugins/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-maven-plugins/pom.xml
@@ -38,10 +38,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-net/pom.xml
b/hyracks-fullstack/hyracks/hyracks-net/pom.xml
index 66edba6..0afd411 100644
--- a/hyracks-fullstack/hyracks/hyracks-net/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-net/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-server/pom.xml
b/hyracks-fullstack/hyracks/hyracks-server/pom.xml
index 42a29fe..08c5d33 100644
--- a/hyracks-fullstack/hyracks/hyracks-server/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-server/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-bloomfilter/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-bloomfilter/pom.xml
index 8911e33..a88523c 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-bloomfilter/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-bloomfilter/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
index 0cd2737..93ea55d 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
@@ -35,7 +35,6 @@
</license>
</licenses>
<properties>
- <root.dir>${basedir}/../..</root.dir>
</properties>
<dependencies>
<dependency>
@@ -109,4 +108,4 @@
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
index 1d52034..575e28d 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree/pom.xml
index 48961db..01a8b98 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/pom.xml
index 7ef4a98..9304185 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/pom.xml
@@ -33,9 +33,6 @@
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
@@ -91,4 +88,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git
a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/pom.xml
index 9998e97..c983785 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/pom.xml
@@ -35,7 +35,6 @@
</license>
</licenses>
<properties>
- <root.dir>${basedir}/../..</root.dir>
</properties>
<dependencies>
<dependency>
@@ -93,4 +92,4 @@
<artifactId>log4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/pom.xml
index 802b135..674fd5d 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/pom.xml
@@ -36,10 +36,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-rtree/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-am-rtree/pom.xml
index d21fc1c..91c5d28 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-rtree/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-rtree/pom.xml
@@ -37,10 +37,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-common/pom.xml
b/hyracks-fullstack/hyracks/hyracks-storage-common/pom.xml
index 2a40e4c..76617bd 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-common/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-common/pom.xml
@@ -38,7 +38,6 @@
</licenses>
<properties>
- <root.dir>${basedir}/../..</root.dir>
</properties>
<dependencies>
<dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
b/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
index 6559308..20bc940 100644
--- a/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
@@ -38,7 +38,6 @@
</licenses>
<properties>
- <root.dir>${basedir}/../..</root.dir>
</properties>
<dependencies>
<dependency>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-bloomfilter-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-bloomfilter-test/pom.xml
index 1ff64d4..981c130 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-bloomfilter-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-bloomfilter-test/pom.xml
@@ -39,10 +39,6 @@
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-btree-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-btree-test/pom.xml
index 63b1a38..fad1a70 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-btree-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-btree-test/pom.xml
@@ -28,10 +28,6 @@
<version>0.3.3-SNAPSHOT</version>
</parent>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-btree-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-btree-test/pom.xml
index af7e9e1..ff4c5c3 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-btree-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-btree-test/pom.xml
@@ -60,10 +60,6 @@
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
index 1f357b4..244fa12 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
@@ -39,10 +39,6 @@
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/pom.xml
index 6d8929f..78e5a97 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/pom.xml
@@ -39,10 +39,6 @@
</plugin>
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-rtree-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-rtree-test/pom.xml
index a7bf5a7..488d27f 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-rtree-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-rtree-test/pom.xml
@@ -39,10 +39,6 @@
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-rtree-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-rtree-test/pom.xml
index 1b34fde..7fb715a 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-rtree-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-rtree-test/pom.xml
@@ -40,10 +40,6 @@
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
diff --git
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-common-test/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-common-test/pom.xml
index f93df0a..0dd2be8 100644
---
a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-common-test/pom.xml
+++
b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-common-test/pom.xml
@@ -36,9 +36,6 @@
</plugin>
</plugins>
</build>
- <properties>
- <root.dir>${basedir}/../../..</root.dir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.hyracks</groupId>
@@ -69,4 +66,4 @@
<artifactId>commons-io</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/hyracks-fullstack/hyracks/hyracks-tests/pom.xml
b/hyracks-fullstack/hyracks/hyracks-tests/pom.xml
index 87fd8e7..ae4027b 100644
--- a/hyracks-fullstack/hyracks/hyracks-tests/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-tests/pom.xml
@@ -38,10 +38,6 @@
</license>
</licenses>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<modules>
<module>hyracks-storage-common-test</module>
<module>hyracks-storage-am-btree-test</module>
diff --git a/hyracks-fullstack/hyracks/hyracks-util/pom.xml
b/hyracks-fullstack/hyracks/hyracks-util/pom.xml
index 52ccf2f..776e56c 100644
--- a/hyracks-fullstack/hyracks/hyracks-util/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-util/pom.xml
@@ -45,10 +45,6 @@
<artifactId>hyracks-util</artifactId>
- <properties>
- <root.dir>${basedir}/../..</root.dir>
- </properties>
-
<dependencies>
<dependency>
<groupId>junit</groupId>
diff --git a/hyracks-fullstack/hyracks/pom.xml
b/hyracks-fullstack/hyracks/pom.xml
index 1e72b31..04120bf 100644
--- a/hyracks-fullstack/hyracks/pom.xml
+++ b/hyracks-fullstack/hyracks/pom.xml
@@ -61,10 +61,6 @@
</pluginManagement>
</build>
- <properties>
- <root.dir>${basedir}/..</root.dir>
- </properties>
-
<modules>
<module>hyracks-util</module>
<module>hyracks-ipc</module>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 44d4f4f..ff5a03d 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -200,6 +200,36 @@
<build>
<plugins>
<plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <source>
+ def orig = project.properties.getProperty("root.dir")
+ def candidate = new File("${basedir}")
+ while (candidate != null) {
+ if (new File(candidate, ".mvn").exists()) {
+ project.properties.setProperty("root.dir",
candidate.canonicalPath)
+ if (orig == null) {
+ log.info("initialized root.dir to " +
candidate.canonicalPath)
+ } else if (!orig.equals(candidate.canonicalPath)) {
+ log.info("redefined root.dir to " +
candidate.canonicalPath + ", was " + orig)
+ }
+ break
+ }
+ candidate = candidate.parentFile
+ }
+ </source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
@@ -367,6 +397,11 @@
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
--
To view, visit https://asterix-gerrit.ics.uci.edu/2232
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1776b7e189bafcaa5a692b8bdd94ec00b4025612
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Michael Blow <[email protected]>