hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Maven generating a src tgz (WAS -> Re: 0.89.20100621 development branch status)
Date Wed, 23 Jun 2010 21:09:26 GMT
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 <psmith@aconex.com> 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

Mime
View raw message