Normalize XML Whitespace

Normalize whitespace in project XML files (e.g. pom.xml), to two-spaces
per indentation level.
Cleanup rewriter error messages for user-defined functions

Change-Id: Ic06e3ff4431508d878e0cc614fbf957887a3c682
Reviewed-on: https://asterix-gerrit.ics.uci.edu/836
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>
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 cbda6f5..ac3ee9b 100644
--- a/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-hdfs/hyracks-hdfs-core/pom.xml
@@ -19,222 +19,222 @@
  !-->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-	<artifactId>hyracks-hdfs-core</artifactId>
-	<name>hyracks-hdfs-core</name>
-	<parent>
-		<artifactId>hyracks-hdfs</artifactId>
-		<groupId>org.apache.hyracks</groupId>
-		<version>0.2.18-SNAPSHOT</version>
-	</parent>
-	<properties>
-			<root.dir>${basedir}/../../..</root.dir>
-	</properties>
-	<build>
-		<plugins>
-			<plugin>
-				<artifactId>maven-clean-plugin</artifactId>
-				<version>2.5</version>
-				<configuration>
-					<filesets>
-						<fileset>
-							<directory>.</directory>
-							<includes>
-								<include>edu*</include>
-								<include>actual*</include>
-								<include>build*</include>
-								<include>expect*</include>
-								<include>ClusterController*</include>
-								<include>edu.uci.*</include>
-							</includes>
-						</fileset>
-					</filesets>
-				</configuration>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-jar-plugin</artifactId>
-				<version>2.2</version>
-				<executions>
-					<execution>
-						<goals>
-							<goal>test-jar</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>hyracks-hdfs-core</artifactId>
+  <name>hyracks-hdfs-core</name>
+  <parent>
+    <artifactId>hyracks-hdfs</artifactId>
+    <groupId>org.apache.hyracks</groupId>
+    <version>0.2.18-SNAPSHOT</version>
+  </parent>
+  <properties>
+    <root.dir>${basedir}/../../..</root.dir>
+  </properties>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <filesets>
+            <fileset>
+              <directory>.</directory>
+              <includes>
+                <include>edu*</include>
+                <include>actual*</include>
+                <include>build*</include>
+                <include>expect*</include>
+                <include>ClusterController*</include>
+                <include>edu.uci.*</include>
+              </includes>
+            </fileset>
+          </filesets>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 
-	<profiles>
-		<profile>
-			<activation>
-				<activeByDefault>false</activeByDefault>
-			</activation>
-			<id>hadoop-0.20.2</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-1.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
-		<profile>
-			<activation>
-				<activeByDefault>false</activeByDefault>
-				<property>
-					<name>hadoop</name>
-					<value>1.0.4</value>
-				</property>
-			</activation>
-			<id>hadoop-1.0.4</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-1.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
+  <profiles>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <id>hadoop-0.20.2</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-1.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+        <property>
+          <name>hadoop</name>
+          <value>1.0.4</value>
+        </property>
+      </activation>
+      <id>hadoop-1.0.4</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-1.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
 
-		<profile>
-			<activation>
-				<activeByDefault>true</activeByDefault>
-				<property>
-					<name>hadoop</name>
-					<value>2.2.0</value>
-				</property>
-			</activation>
-			<id>hadoop-2.2.0</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-2.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
-		<profile>
-			<activation>
-				<activeByDefault>false</activeByDefault>
-				<property>
-					<name>hadoop</name>
-					<value>0.23.1</value>
-				</property>
-			</activation>
-			<id>hadoop-0.23.1</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-2.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
-		<profile>
-			<activation>
-				<activeByDefault>false</activeByDefault>
-				<property>
-					<name>hadoop</name>
-					<value>0.23.6</value>
-				</property>
-			</activation>
-			<id>hadoop-0.23.6</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-2.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
-		<profile>
-			<activation>
-				<activeByDefault>false</activeByDefault>
-				<property>
-					<name>hadoop</name>
-					<value>cdh-4.1</value>
-				</property>
-			</activation>
-			<id>cdh-4.1</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-2.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
-		<profile>
-			<activation>
-				<activeByDefault>false</activeByDefault>
-				<property>
-					<name>hadoop</name>
-					<value>cdh-4.2</value>
-				</property>
-			</activation>
-			<id>cdh-4.2</id>
-			<dependencies>
-				<dependency>
-					<groupId>org.apache.hyracks</groupId>
-					<artifactId>hyracks-hdfs-2.x</artifactId>
-					<version>${project.version}</version>
-					<type>jar</type>
-					<scope>compile</scope>
-				</dependency>
-			</dependencies>
-		</profile>
-	</profiles>
+    <profile>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+        <property>
+          <name>hadoop</name>
+          <value>2.2.0</value>
+        </property>
+      </activation>
+      <id>hadoop-2.2.0</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-2.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+        <property>
+          <name>hadoop</name>
+          <value>0.23.1</value>
+        </property>
+      </activation>
+      <id>hadoop-0.23.1</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-2.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+        <property>
+          <name>hadoop</name>
+          <value>0.23.6</value>
+        </property>
+      </activation>
+      <id>hadoop-0.23.6</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-2.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+        <property>
+          <name>hadoop</name>
+          <value>cdh-4.1</value>
+        </property>
+      </activation>
+      <id>cdh-4.1</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-2.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+        <property>
+          <name>hadoop</name>
+          <value>cdh-4.2</value>
+        </property>
+      </activation>
+      <id>cdh-4.2</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.hyracks</groupId>
+          <artifactId>hyracks-hdfs-2.x</artifactId>
+          <version>${project.version}</version>
+          <type>jar</type>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.hyracks</groupId>
-			<artifactId>hyracks-api</artifactId>
-			<version>0.2.18-SNAPSHOT</version>
-			<scope>compile</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.hyracks</groupId>
-			<artifactId>hyracks-dataflow-std</artifactId>
-			<version>0.2.18-SNAPSHOT</version>
-			<scope>compile</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.hyracks</groupId>
-			<artifactId>hyracks-dataflow-common</artifactId>
-			<version>0.2.18-SNAPSHOT</version>
-			<scope>compile</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.hyracks</groupId>
-			<artifactId>hyracks-control-cc</artifactId>
-			<version>0.2.18-SNAPSHOT</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.hyracks</groupId>
-			<artifactId>hyracks-control-nc</artifactId>
-			<version>0.2.18-SNAPSHOT</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.commons</groupId>
-			<artifactId>commons-io</artifactId>
-			<version>1.3.2</version>
-			<scope>test</scope>
-		</dependency>
-	</dependencies>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.hyracks</groupId>
+      <artifactId>hyracks-api</artifactId>
+      <version>0.2.18-SNAPSHOT</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.hyracks</groupId>
+      <artifactId>hyracks-dataflow-std</artifactId>
+      <version>0.2.18-SNAPSHOT</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.hyracks</groupId>
+      <artifactId>hyracks-dataflow-common</artifactId>
+      <version>0.2.18-SNAPSHOT</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.hyracks</groupId>
+      <artifactId>hyracks-control-cc</artifactId>
+      <version>0.2.18-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.hyracks</groupId>
+      <artifactId>hyracks-control-nc</artifactId>
+      <version>0.2.18-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>1.3.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
 </project>