You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/04/12 21:00:31 UTC

[2/4] git commit: BIGTOP-760. Install Solr artifacts into local Maven cache

BIGTOP-760. Install Solr artifacts into local Maven cache


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/64e357b9
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/64e357b9
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/64e357b9

Branch: refs/heads/master
Commit: 64e357b9cd3ffe933f657a513b866cd74d16511a
Parents: 1826945
Author: Sean Mackrory <ma...@gmail.com>
Authored: Wed Mar 27 07:58:38 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Fri Apr 12 11:57:22 2013 -0700

----------------------------------------------------------------------
 bigtop-packages/src/common/solr/do-component-build |   16 +++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/64e357b9/bigtop-packages/src/common/solr/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/solr/do-component-build b/bigtop-packages/src/common/solr/do-component-build
index 08486ca..53ab45f 100755
--- a/bigtop-packages/src/common/solr/do-component-build
+++ b/bigtop-packages/src/common/solr/do-component-build
@@ -15,6 +15,9 @@
 # limitations under the License.
 
 set -ex
+
+. `dirname $0`/bigtop.bom
+
 IVY_MIRROR_PROP=${IVY_MIRROR_PROP:-http://repo1.maven.org/maven2/}
 BUILD_OPTS="-Dversion=${FULL_VERSION}                                  \
             -Divy.home=${HOME}/.ivy2 -Drepo.maven.org=$IVY_MIRROR_PROP \
@@ -32,3 +35,16 @@ ant $BUILD_OPTS clean
 
 # Build Solr package 
 (cd solr ; ant $BUILD_OPTS create-package "$@")
+
+# Install artifacts into the local Maven cache
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-dataimporthandler-extras -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-dataimporthandler-extras-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-dataimporthandler -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-dataimporthandler-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-analysis-extras -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-analysis-extras-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-solrj -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-solrj-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-uima -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-uima-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-test-framework -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-test-framework-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-cell -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-cell-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-clustering -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-clustering-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-core -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-core-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-velocity -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-velocity-$SOLR_VERSION.jar
+mvn install:install-file -DgroupId=org.apache.solr -DartifactId=solr-langid -Dversion=$SOLR_VERSION -Dpackaging=jar -Dfile=solr/dist/solr-langid-$SOLR_VERSION.jar