Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<checkstyle.conf.dir>${hive.path.to.root}/checkstyle</checkstyle.conf.dir>

<!-- Test Properties -->
<test.extra.path></test.extra.path>
<test.extra.path/>
<test.hive.hadoop.classpath>${maven.test.classpath}</test.hive.hadoop.classpath>
<test.log4j.scheme>file://</test.log4j.scheme>
<test.tmp.dir>${project.build.directory}/tmp</test.tmp.dir>
Expand All @@ -75,8 +75,8 @@
<test.warehouse.scheme>pfile://</test.warehouse.scheme>

<!-- To add additional exclude patterns set this property -->
<test.excludes.additional></test.excludes.additional>
<skip.spark.files></skip.spark.files>
<test.excludes.additional/>
<skip.spark.files/>

<!-- Plugin and Plugin Dependency Versions -->
<ant.contrib.version>1.0b3</ant.contrib.version>
Expand Down Expand Up @@ -137,7 +137,7 @@
<javaewah.version>0.3.2</javaewah.version>
<javolution.version>5.5.1</javolution.version>
<jdo-api.version>3.0.1</jdo-api.version>
<jetty.version>7.6.0.v20120127</jetty.version>
<jetty.version>7.6.21.v20160908</jetty.version>
<jersey.version>1.14</jersey.version>
<jline.version>2.12</jline.version>
<jms.version>1.1</jms.version>
Expand Down Expand Up @@ -761,11 +761,11 @@
</goals>
<configuration>
<target>
<delete dir="${test.tmp.dir}" />
<delete dir="${test.warehouse.dir}" />
<mkdir dir="${test.tmp.dir}" />
<mkdir dir="${test.warehouse.dir}" />
<mkdir dir="${test.tmp.dir}/conf" />
<delete dir="${test.tmp.dir}"/>
<delete dir="${test.warehouse.dir}"/>
<mkdir dir="${test.tmp.dir}"/>
<mkdir dir="${test.warehouse.dir}"/>
<mkdir dir="${test.tmp.dir}/conf"/>
<!-- copies hive-site.xml so it can be modified -->
<copy todir="${test.tmp.dir}/conf/">
<fileset dir="${basedir}/${hive.path.to.root}/data/conf/"/>
Expand Down Expand Up @@ -952,20 +952,19 @@
<phase>generate-sources</phase>
<configuration>
<target>
<taskdef name="for" classname="net.sf.antcontrib.logic.ForTask"
classpathref="maven.plugin.classpath" />
<taskdef name="for" classname="net.sf.antcontrib.logic.ForTask" classpathref="maven.plugin.classpath"/>
<property name="thrift.args" value="-I ${thrift.home} --gen java:beans,hashcode --gen cpp --gen php --gen py --gen rb"/>
<property name="thrift.gen.dir" value="${basedir}/src/gen/thrift"/>
<delete dir="${thrift.gen.dir}"/>
<mkdir dir="${thrift.gen.dir}"/>
<for param="thrift.file">
<path>
<fileset dir="." includes="if/*.thrift,if/test/*.thrift" />
<fileset dir="." includes="if/*.thrift,if/test/*.thrift"/>
</path>
<sequential>
<echo message="Generating Thrift code for @{thrift.file}"/>
<exec executable="${thrift.home}/bin/thrift" failonerror="true" dir=".">
<arg line="${thrift.args} -I ${basedir}/include -I ${basedir}/.. -o ${thrift.gen.dir} @{thrift.file} " />
<exec executable="${thrift.home}/bin/thrift" failonerror="true" dir=".">
<arg line="${thrift.args} -I ${basedir}/include -I ${basedir}/.. -o ${thrift.gen.dir} @{thrift.file} "/>
</exec>
</sequential>
</for>
Expand Down