You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by br...@apache.org on 2013/09/26 14:09:00 UTC

svn commit: r1526455 - in /hive/branches/maven: common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java pom.xml

Author: brock
Date: Thu Sep 26 12:09:00 2013
New Revision: 1526455

URL: http://svn.apache.org/r1526455
Log:
HIVE-5371 - Root pom is malformed (Edward Capriolo via Brock Noland)

Modified:
    hive/branches/maven/common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java
    hive/branches/maven/pom.xml

Modified: hive/branches/maven/common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java?rev=1526455&r1=1526454&r2=1526455&view=diff
==============================================================================
--- hive/branches/maven/common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java (original)
+++ hive/branches/maven/common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java Thu Sep 26 12:09:00 2013
@@ -45,6 +45,7 @@ public class TestHiveLogging extends Tes
   }
 
   private void configLog(String hiveLog4jTest, String hiveExecLog4jTest) {
+    System.out.println("BLA "+ System.getProperty("test.build.resources") );
     System.setProperty(ConfVars.HIVE_LOG4J_FILE.varname,
       System.getProperty("test.build.resources") + "/" + hiveLog4jTest);
     System.setProperty(ConfVars.HIVE_EXEC_LOG4J_FILE.varname,

Modified: hive/branches/maven/pom.xml
URL: http://svn.apache.org/viewvc/hive/branches/maven/pom.xml?rev=1526455&r1=1526454&r2=1526455&view=diff
==============================================================================
--- hive/branches/maven/pom.xml (original)
+++ hive/branches/maven/pom.xml Thu Sep 26 12:09:00 2013
@@ -166,7 +166,8 @@
             <target>1.6</target>
           </configuration>
         </plugin>
-        <groupId>org.apache.maven.plugins</groupId>
+	<plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.4</version>
         </plugin>
@@ -182,6 +183,12 @@
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
             <reuseForks>false</reuseForks>
+	    <systemProperties>
+		<property>
+                  <name>test.build.resources</name>
+                  <value>${project.build.directory}/test-classes</value>
+		</property>
+              </systemProperties>
           </configuration>
         </plugin>
         <plugin>