Peter Kahn
Peter Kahn

Reputation: 13046

Does maven expose scmUrl as a property?

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

Upvotes: 2

Views: 601

Answers (1)

Peter Kahn
Peter Kahn

Reputation: 13046

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

Upvotes: 1

Related Questions