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 <[email protected]>:
> 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 <[email protected]> wrote:
>> On 9 September 2011 08:35, Simone Tripodi <[email protected]> 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: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]