Is there a way to have Maven use a default value if the environment variable referenced by an env.VAR property is not set?

Example:

<my.build.number>${env.BUILD_NUMBER}</my.build.number

This is how you might capture the build number from a Hudson CI server. For a developer, though, the value would end up blank. I'd rather it say "DEVELOPMENT". Can that be done?

Thanks,
Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to