[
https://issues.apache.org/jira/browse/HBASE-8187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617537#comment-13617537
]
stack commented on HBASE-8187:
------------------------------
bq. Nice progress stack. I don't see a sources jar in maven for the client
module, but it's there for server. Weird.
Thanks for review Nick. That one I can fix (see the link again, see newer
snapshot).
If ok w/ you lot, going to check in a version of this patch. As I see it, this
is ongoing work. What is there now is w/i the ballpark.
I'll update the doc too making a 0.95/trunk packaging section.
Here is how you build a binary:
$ MAVEN_OPTS="-Xmx3g" mvn install -DskipTests javadoc:aggregate site
assembly:single
(You must run the javadoc:aggregate if you want javadocs in your package;
javadoc:aggregate is done by the top-level site aggregating up all the modules).
Seems to work for the hadoop2 profile too (but nothing to designate that the
package is a hadoop2 one -- see my note to list suggesting we add it to the
version string).
Here is how you build src-only... it has all you need to build (essentially a
clean checkout).
$ MAVEN_OPTS="-Xmx3g" mvn install -DskipTests
-Dassembly.file=src/assembly/src.xml assembly:single
You must explicitly state the assembly file to use; assembly file is kinda
contested at moment between hadoop-one and hadoop-two builds ... hence the
explicit specification on command line above.
Will put the above into the doc.
> trunk/0.95 tarball packaging
> ----------------------------
>
> Key: HBASE-8187
> URL: https://issues.apache.org/jira/browse/HBASE-8187
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Priority: Blocker
> Attachments: 8187.txt, 8187v2.txt
>
>
> Packaging needs work now we have maven multi-moduled. Sounds like folks want
> a package for hadoop1 and hadoop2. Also want source package and maybe even a
> package that includes test jars so can run integration tests.
> Let this be umbrella issue for package fixes. Will hang smaller issues off
> this one as we figure them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira