Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23A75107FB for ; Wed, 19 Mar 2014 16:09:21 +0000 (UTC) Received: (qmail 826 invoked by uid 500); 19 Mar 2014 16:08:42 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 580 invoked by uid 500); 19 Mar 2014 16:08:34 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 99671 invoked by uid 99); 19 Mar 2014 16:08:16 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 16:08:16 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BE5C3984670; Wed, 19 Mar 2014 16:08:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ujustgotbilld@apache.org To: commits@accumulo.apache.org Date: Wed, 19 Mar 2014 16:08:55 -0000 Message-Id: <036aa6c01d904138bcaab97040eaa04d@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [45/50] [abbrv] git commit: ACCUMULO-2019 Fix packaging and deployment instructions for wikisearch query interface. ACCUMULO-2019 Fix packaging and deployment instructions for wikisearch query interface. * update directions for project move to contrib * update $ACCUMULO_HOME/lib/ext needs based on what ships with current Accumulo installation. * update the dependencies included in the query dist tarball for the hadoop 2 profile. Project: http://git-wip-us.apache.org/repos/asf/accumulo-wikisearch/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo-wikisearch/commit/1e4a40bc Tree: http://git-wip-us.apache.org/repos/asf/accumulo-wikisearch/tree/1e4a40bc Diff: http://git-wip-us.apache.org/repos/asf/accumulo-wikisearch/diff/1e4a40bc Branch: refs/heads/master Commit: 1e4a40bcc6cd11100def006f26037dbe0cd14e71 Parents: bcf16ab Author: Sean Busbey Authored: Fri Dec 13 14:30:59 2013 -0600 Committer: Sean Busbey Committed: Mon Mar 10 10:16:15 2014 -0500 ---------------------------------------------------------------------- README | 6 ++---- query/pom.xml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo-wikisearch/blob/1e4a40bc/README ---------------------------------------------------------------------- diff --git a/README b/README index 869f5e7..ad28cdc 100644 --- a/README +++ b/README @@ -38,11 +38,11 @@ 1. Copy the query/src/main/resources/META-INF/ejb-jar.xml.example file to query/src/main/resources/META-INF/ejb-jar.xml. Modify to the file to contain the same information that you put into the wikipedia.xml file from the Ingest step above. - 2. Re-build the query distribution by running 'mvn package assembly:single' in the top-level directory. + 2. Re-build the query distribution by running 'mvn package assembly:single' in the query module's directory. 3. Untar the resulting file in the $JBOSS_HOME/server/default directory. $ cd $JBOSS_HOME/server/default - $ tar -xzf $ACCUMULO_HOME/src/examples/wikisearch/query/target/wikisearch-query*.tar.gz + $ tar -xzf /some/path/to/wikisearch/query/target/wikisearch-query*.tar.gz This will place the dependent jars in the lib directory and the EJB jar into the deploy directory. 4. Next, copy the wikisearch*.war file in the query-war/target directory to $JBOSS_HOME/server/default/deploy. @@ -51,11 +51,9 @@ setauths -u -s all,enwiki,eswiki,frwiki,fawiki 7. Copy the following jars to the $ACCUMULO_HOME/lib/ext directory from the $JBOSS_HOME/server/default/lib directory: - commons-lang*.jar kryo*.jar minlog*.jar commons-jexl*.jar - guava*.jar 8. Copy the $JBOSS_HOME/server/default/deploy/wikisearch-query*.jar to $ACCUMULO_HOME/lib/ext. http://git-wip-us.apache.org/repos/asf/accumulo-wikisearch/blob/1e4a40bc/query/pom.xml ---------------------------------------------------------------------- diff --git a/query/pom.xml b/query/pom.xml index d2f75ea..eb932f9 100644 --- a/query/pom.xml +++ b/query/pom.xml @@ -175,6 +175,29 @@ hadoop-client + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + process-resources + + copy-dependencies + + + lib + + commons-lang,commons-codec,protobuf-java,libthrift,zookeeper,hadoop-client,hadoop-common,hadoop-hdfs,commons-jexl,guava,kryo,asm,minlog,reflectasm,wikisearch-ingest,accumulo-core,cloudtrace + false + + + + + +