Kent Närling wrote:
> Anyone knows if there is a way to configure a fallback strategy for the
> buildnumber plugin when a project is not yet in the SCM?
> The background is this:
>
> It makes sense to add a company wide buildnumber strategy to the company
> POM, ok?
>
> However if you create a new project you might want to be able to build it
> before adding it to the SCM?
> Right now (if you use the company POM) this will fail since the buildnumber
> plugin fails if it is not is added to the SCM (at least with SVN)
We have put the buildnumber plugin in a profile that has the following
activation:
<activation>
<property>
<!--
This profile is activated if NO system property
'skipBuildnumber' is found. Disable this profile
by specifying -DskipBuildnumber=true on the commandline
-->
<name>!skipBuildnumber</name>
</property>
</activation>
-dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]