Grokbase Groups HBase dev June 2010
FAQ
I made HBASE-2779 to build a -src tgz (based off the backed-out code
of Pauls mentioned below).
St.Ack
On Wed, Jun 23, 2010 at 3:44 AM, Paul Smith wrote:


Since
the mvn assembly tar isn't re-buildable, I think the release artifact has to
be a tarred svn export, and then we have a second release artifact which is
binary+site+docs like you say above. People can choose whether to download
the source release or the binary.
OK.  I'd say do the svn export for now.  For next time, we'll have mvn
generate a -src bundle to sit beside the -bin bundle it currently
creates.

if you want a fully rebuildable assembly, then you may want to revisit using a secondary assembly descriptor:

http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#project

I had this as an extra binary artifact as part of the build early on, but it was weighty, and slowed down the build process, so I suggested removing it.  Perhaps you could consider configuring a Maven profile so that only when a -D argument is defined on the maven command line that this additional assembly is created (basically prevents this assembly from being built until you need it).

It should be pretty simple, I can help with this, but take a look at the commit SHA:

2ea3dbac74778279f8479ebb012198cb9bc7c9d8

from HBASE-2334, just the top-level pom.xml change, this is the reversal I did:

@@ -308,10 +308,6 @@
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
</descriptors>
-          <descriptorRefs>
-            <descriptorRef>src</descriptorRef>
-            <descriptorRef>project</descriptorRef>
-          </descriptorRefs>
</configuration>
</plugin>
</plugins>



Paul

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedJun 23, '10 at 9:09p
activeJun 23, '10 at 9:09p
posts1
users1
websitehbase.apache.org

1 user in discussion

Stack: 1 post

People

Translate

site design / logo © 2022 Grokbase