hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1526455 - in /hive/branches/maven: common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java pom.xml
Date Thu, 26 Sep 2013 12:09:00 GMT
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>



Mime
View raw message