You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mykel Alvis <my...@weirdness.com> on 2007/09/06 20:34:26 UTC

SCM Plugin

I'm using 1.0 of the SCM plugin and I'm getting an odd behavior


With maven 2.0.7, a working subversion SCM url and a build plugin as

     <plugin>
        <artifactId>maven-scm-plugin</artifactId>
        <configuration>
          <tagName>tag</tagName>
        </configuration>
      </plugin>


mykel@DHBHLXBUILDCONTROL0 MEFoundation-1.0.x]$ mvn scm:tag
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
WAGON_VERSION: 1.0-beta-2
[INFO]
----------------------------------------------------------------------------
[INFO] Building DSTHS MEFoundation EJB
[INFO]    task-segment: [scm:tag] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [scm:tag]
[INFO] Final Tag Name: 'null'
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot run tag command :

Embedded error: Exception while executing SCM command.
Missing parameter: 'tagName'.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007
[INFO] Final Memory: 6M/127M
[INFO]
----------------------------------------------------------------------


Why doesn't this work?  According to what I read, the docs suggest that it
will produce a tag call "tag".
I might be missing the point, bit I don't think so.
I also did a mvn -DtagName="TAG" scm:tag and it did essentially the same
thing.

Mykel

Re: SCM Plugin

Posted by Dan Tran <da...@gmail.com>.
see this link for doco
http://maven.apache.org//scm/plugins/tag-mojo.html#tag


On 9/6/07, Dan Tran <da...@gmail.com> wrote:
> try -Dtag=
>
> it is a bug that 'tag' param is not marked as required, please file a JIRA
>
> -D
>
> On 9/6/07, Mykel Alvis <my...@weirdness.com> wrote:
> > I'm using 1.0 of the SCM plugin and I'm getting an odd behavior
> >
> >
> > With maven 2.0.7, a working subversion SCM url and a build plugin as
> >
> >     <plugin>
> >        <artifactId>maven-scm-plugin</artifactId>
> >        <configuration>
> >          <tagName>tag</tagName>
> >        </configuration>
> >      </plugin>
> >
> >
> > mykel@DHBHLXBUILDCONTROL0 MEFoundation-1.0.x]$ mvn scm:tag
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'scm'.
> > WAGON_VERSION: 1.0-beta-2
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building DSTHS MEFoundation EJB
> > [INFO]    task-segment: [scm:tag] (aggregator-style)
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [scm:tag]
> > [INFO] Final Tag Name: 'null'
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Cannot run tag command :
> >
> > Embedded error: Exception while executing SCM command.
> > Missing parameter: 'tagName'.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 3 seconds
> > [INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007
> > [INFO] Final Memory: 6M/127M
> > [INFO]
> > ----------------------------------------------------------------------
> >
> >
> > Why doesn't this work?  According to what I read, the docs suggest that it
> > will produce a tag call "tag".
> > I might be missing the point, bit I don't think so.
> > I also did a mvn -DtagName="TAG" scm:tag and it did essentially the same
> > thing.
> >
> > Mykel
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: SCM Plugin

Posted by Dan Tran <da...@gmail.com>.
try -Dtag=

it is a bug that 'tag' param is not marked as required, please file a JIRA

-D

On 9/6/07, Mykel Alvis <my...@weirdness.com> wrote:
> I'm using 1.0 of the SCM plugin and I'm getting an odd behavior
>
>
> With maven 2.0.7, a working subversion SCM url and a build plugin as
>
>     <plugin>
>        <artifactId>maven-scm-plugin</artifactId>
>        <configuration>
>          <tagName>tag</tagName>
>        </configuration>
>      </plugin>
>
>
> mykel@DHBHLXBUILDCONTROL0 MEFoundation-1.0.x]$ mvn scm:tag
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'scm'.
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building DSTHS MEFoundation EJB
> [INFO]    task-segment: [scm:tag] (aggregator-style)
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [scm:tag]
> [INFO] Final Tag Name: 'null'
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot run tag command :
>
> Embedded error: Exception while executing SCM command.
> Missing parameter: 'tagName'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007
> [INFO] Final Memory: 6M/127M
> [INFO]
> ----------------------------------------------------------------------
>
>
> Why doesn't this work?  According to what I read, the docs suggest that it
> will produce a tag call "tag".
> I might be missing the point, bit I don't think so.
> I also did a mvn -DtagName="TAG" scm:tag and it did essentially the same
> thing.
>
> Mykel
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org