On Thu, Oct 30, 2008 at 1:13 AM, Kent Närling <[EMAIL PROTECTED]> 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 also causes a problem when trying to build from a source distribution. We ran into this in Continuum and Olivier put buildnumber in a profile that is activated by the presence of the .svn directory: http://svn.apache.org/repos/asf/continuum/trunk/pom.xml <profile> <id>buildnumber</id> <activation> <file> <exists>.svn</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> ... (I think the plugin could probably be made a bit smarter about when it should execute, but I haven't checked into it further.) HTH, -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
