문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top