update poms and scripts

git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_staging@1966 123451ca-8445-de46-9d55-352943316053
diff --git a/pregelix/pregelix-core/pom.xml b/pregelix/pregelix-core/pom.xml
index 7672410..339e3d6 100644
--- a/pregelix/pregelix-core/pom.xml
+++ b/pregelix/pregelix-core/pom.xml
@@ -6,10 +6,10 @@
 	<name>pregelix-core</name>
 
 	<parent>
-    		<groupId>edu.uci.ics.hyracks</groupId>
-    		<artifactId>pregelix</artifactId>
-    		<version>0.2.2-SNAPSHOT</version>
-  	</parent>
+		<groupId>edu.uci.ics.hyracks</groupId>
+		<artifactId>pregelix</artifactId>
+		<version>0.2.2-SNAPSHOT</version>
+	</parent>
 
 
 	<properties>
@@ -31,11 +31,11 @@
 							<classifier>balancer</classifier>
 							<archive>
 								<manifest>
-									<MainClass>edu.uci.ics.hyracks.giraph.util.DataBalancer</MainClass>
+									<MainClass>edu.uci.ics.pregelix.util.DataBalancer</MainClass>
 								</manifest>
 							</archive>
 							<includes>
-								<include>**/uci/ics/hyracks/giraph/util/DataBalancer*</include>
+								<include>**/uci/ics/pregelix/util/DataBalancer*</include>
 							</includes>
 						</configuration>
 					</execution>
@@ -54,11 +54,11 @@
 							<classifier>generator</classifier>
 							<archive>
 								<manifest>
-									<MainClass>edu.uci.ics.hyracks.giraph.util.DataGenerator</MainClass>
+									<MainClass>edu.uci.ics.pregelix.util.DataGenerator</MainClass>
 								</manifest>
 							</archive>
 							<includes>
-								<include>**/uci/ics/hyracks/giraph/util/DataGenerator*</include>
+								<include>**/uci/ics/pregelix/util/DataGenerator*</include>
 							</includes>
 						</configuration>
 					</execution>
@@ -167,6 +167,25 @@
 							</resources>
 						</configuration>
 					</execution>
+					<execution>
+						<id>copy-hadoop-patch</id>
+						<!-- here the phase you need -->
+						<phase>package</phase>
+						<goals>
+							<goal>copy-resources</goal>
+						</goals>
+						<configuration>
+							<outputDirectory>target/appassembler/lib</outputDirectory>
+							<resources>
+								<resource>
+									<directory>target</directory>
+									<includes>
+										<include>a-hadoop-patch.jar</include>
+									</includes>
+								</resource>
+							</resources>
+						</configuration>
+					</execution>
 				</executions>
 			</plugin>
 			<plugin>