Question

I'm using maven scm plugin and buildnumber plugin to get set buildNumber property from revision. I'd like to get the full url as well but it doesn't appear to be exposed as a property. I know I can call svn info and grep for it but I figured the maven way would be to expose it.

Please let me know if there is a plugin that exposes the url as a property.

For now, I plan to add the functionality to buildNumber plugin and submit a patch.

Thanks

Peter

Was it helpful?

Solution

No need to modify buildNumber plugin. maven-scm-plugin:validate-mojo provides ${project.scm.connection}

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top