Sorry, there's a typo in my previous post, the line should read:
VERSION=$(mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep
-v "INFO" | tail -n 1 | sed -e 's/SNAPSHOT/$COMPANYNAME/g')


On Tue, Jul 1, 2014 at 10:35 AM, Guillaume Ballet <gbal...@gmail.com> wrote:

> You can specify a custom name with the --name option. It will still
> contain 1.1.0-SNAPSHOT, but at least you can specify your company name.
>
> If you want to replace SNAPSHOT with your company name, you will have to
> edit make-distribution.sh and replace the following line:
>
> VERSION=$(mvn help:evaluate -Dexpression=project.version 2>/dev/null |
> grep -v "INFO" | tail -n 1)
>
> with something like
>
> COMPANYNAME="SoullessMegaCorp"
> VERSION=$(mvn help:evaluate -Dexpression=project.version 2>/dev/null |
> grep -v "INFO" | tail -n 1 | sed -e 's/SNAPSHOT/$COMPANYNAME')
>
> and so on for other packages that use their own version scheme.
>
>
>
>
> On Tue, Jul 1, 2014 at 9:21 AM, majian <maj...@nq.com> wrote:
>
>>   Hi,all:
>>
>>  I'm working to compile spark by executing './make-distribution.sh --hadoop
>> 0.20.205.0 --tgz  ',
>>  after the completion of the compilation I found  that the default version 
>> number is "1.1.0-SNAPSHOT"
>>  i.e. spark-1.1.0-SNAPSHOT-bin-0.20.205.tgz,
>>  who know how to assign version number myself ,
>> for example spark-1.1.0-company-bin-0.20.205.tgz  .
>>
>>
>> Thanks,
>> majian
>>
>>
>
>

Reply via email to