maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Graham <chrisgw...@gmail.com>
Subject Re: proposal for new scm goal of info
Date Tue, 30 Oct 2012 01:29:18 GMT
Hi.

I think that I'm missing the point here.

Isn't all of the information that you mention below included in the pom,
and rewritten by the release plugin at release time?

Have I missed something?

-Chris

On Tue, Oct 30, 2012 at 7:31 AM, Karl Pietrzak <kap4020@gmail.com> wrote:

> Hi all!
>
> *WHAT*
> I would like to propose a new scm goal: 'info'.  This is different from the
> 'status' goal (compare svn status, svn info).
>
> It's already available for SVN [3] and git [4].
>
> *WHY*
> Many of us would like to have some SCM properties as part of our builds,
> [1] [2] not just with rev number but also with the repo URL and other
> properties that are provided by, and specific to, that SCM.  Most of end up
> using a hack with antrun.  I believe all the currently supported SCMs have
> some kind of 'info' command.
>
> Thoughts?
>
> Thanks!
>
>
> [1]
>
> https://binil.wordpress.com/2006/12/16/stamping-qa-builds-with-svn-revision-number/
> [2]
>
> http://stackoverflow.com/questions/750591/how-to-fetch-current-subversion-revision-number-and-url-with-maven
> [3]
>
> http://code.google.com/a/apache-extras.org/p/maven-scm-provider-svnjava/source/browse/trunk/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/info/SvnJavaInfoCommand.java
> [4]
>
> https://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/info/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message