You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by cw...@apache.org on 2012/09/18 20:34:15 UTC

svn commit: r1387307 - in /hive/trunk: build.properties build.xml

Author: cws
Date: Tue Sep 18 18:34:14 2012
New Revision: 1387307

URL: http://svn.apache.org/viewvc?rev=1387307&view=rev
Log:
HIVE-3450. Hive maven-publish ant task should be configurable (Travis Crawford via cws)

Modified:
    hive/trunk/build.properties
    hive/trunk/build.xml

Modified: hive/trunk/build.properties
URL: http://svn.apache.org/viewvc/hive/trunk/build.properties?rev=1387307&r1=1387306&r2=1387307&view=diff
==============================================================================
--- hive/trunk/build.properties (original)
+++ hive/trunk/build.properties Tue Sep 18 18:34:14 2012
@@ -106,6 +106,8 @@ mvn.publish.repo=snapshots
 mvn.jar.dir=${build.dir.hive}/maven/jars
 mvn.pom.dir=${build.dir.hive}/maven/poms
 mvn.license.dir=${build.dir.hive}/maven/licenses
+mvn.deploy.id=apache.snapshots.https
+mvn.deploy.url=https://repository.apache.org/content/repositories/snapshots
 
 #
 # unit test Properties

Modified: hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build.xml?rev=1387307&r1=1387306&r2=1387307&view=diff
==============================================================================
--- hive/trunk/build.xml (original)
+++ hive/trunk/build.xml Tue Sep 18 18:34:14 2012
@@ -1187,9 +1187,7 @@
         <artifact:deploy
             file="${mvn.jar.dir}/hive-${hive.project}-${version}.jar">
           <pom refid="hive.project.pom" />
-          <remoteRepository
-              id="apache.snapshots.https"
-              url="https://repository.apache.org/content/repositories/snapshots" />
+          <remoteRepository id="${mvn.deploy.id}" url="${mvn.deploy.url}"/>
         </artifact:deploy>
       </else>
     </if>