commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [parent] adding buildnumber in the manifest entries
Date Fri, 09 Sep 2011 13:28:51 GMT
@Seb: revision-unknown sounds better indeed

@Olivier: you are always super :) going to move the stuff to the profile

WDYT if I commit that stuff and reverting if starts creating issues?
we have Olivier in any way ;)

Simo


http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Fri, Sep 9, 2011 at 3:10 PM, Olivier Lamy <olamy@apache.org> wrote:
> why not having a profile for that ? (folks using git svn or building
> from the src distrib).
>
>    <profile>
>      <id>buildnumber</id>
>      <activation>
>        <file>
>          <exists>.svn</exists>
>        </file>
>      </activation>
>      <build>
>        <plugins>
>          <plugin>
>            <groupId>org.codehaus.mojo</groupId>
>            <artifactId>buildnumber-maven-plugin</artifactId>
>            blabla setup of the plugin
>          </plugin>
>        </plugins>
>      </build>
>    </profile>
>
> 2011/9/9 Simone Tripodi <simonetripodi@apache.org>:
>> The plugin supports the offline mode, I configured it to add
>>
>>    Implementation-Build: local-dev; 2011-09-09 09:17:22+0200
>>
>> instead of
>>
>>    Implementation-Build: r1166864; 2011-09-09 09:17:22+0200
>>
>> WDYT?
>> Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://www.99soft.org/
>>
>>
>>
>> On Fri, Sep 9, 2011 at 2:59 PM, sebb <sebbaz@gmail.com> wrote:
>>> On 9 September 2011 08:35, Simone Tripodi <simonetripodi@apache.org> wrote:
>>>> Good morning guys,
>>>> I just did an experiment on my local checkout of the parent pom,
>>>> adding the buildnumber plugin, in order to have a new
>>>> `Implementation-Build` manifest entry in the jars, where reported the
>>>> revision number and the timestamp.
>>>> I applied locally on [chain] and got:
>>>>
>>>>    Implementation-Build: r1166864; 2011-09-09 09:17:22+0200
>>>>
>>>> I'd like to commit it if no one has objections, if needed I can fill
>>>> an Issue and attach the patch.
>>>> Please let me know, thanks in advance!
>>>
>>> What happens if you try running a build outside the SVN workspace?
>>>
>>> e.g. a user may just download a source archive, and try building from that.
>>>
>>>> Have a nice day,
>>>> Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://www.99soft.org/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
>
> --
> Olivier Lamy
> Talend : http://talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message