Package org.apache.maven.scm

Examples of org.apache.maven.scm.ScmTagParameters


    // ----------------------------------------------------------------------

    protected ScmResult executeTagCommand( ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message )
        throws ScmException
    {
        return executeTagCommand( repo, fileSet, tag, new ScmTagParameters( message ) );
    }
View Full Code Here


{
   
    public ScmResult executeTagCommand( ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message )
        throws ScmException
    {
        return executeTagCommand( repo, fileSet, tag, new ScmTagParameters( message ) );
    }
View Full Code Here

            ScmProvider provider = getScmManager().getProviderByRepository( repository );

            finalTag = provider.sanitizeTagName( finalTag );
            getLog().info( "Final Tag Name: '" + finalTag + "'" );

            ScmTagParameters scmTagParameters = new ScmTagParameters( message);
            scmTagParameters.setRemoteTagging( remoteTagging );
           
            TagScmResult result = provider.tag( repository, getFileSet(), finalTag, scmTagParameters);

            checkResult( result );
        }
View Full Code Here


    protected ScmResult executeTagCommand( ScmProviderRepository repo, ScmFileSet files, String tag, String message )
        throws ScmException
    {
        return executeTagCommand( repo, files, tag, new ScmTagParameters( message ) );
    }
View Full Code Here

{
   
    public ScmResult executeTagCommand( ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message )
        throws ScmException
    {
        return executeTagCommand( repo, fileSet, tag, new ScmTagParameters( message ) );
    }
View Full Code Here

   
    protected ScmResult executeTagCommand( ScmProviderRepository repository, ScmFileSet fileSet, String tag,
                                           String message )
        throws ScmException
    {
        return executeTagCommand( repository, fileSet, tag, new ScmTagParameters( message ) );
    }
View Full Code Here

   
    protected ScmResult executeTagCommand( ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, String tag,
                                           String message )
        throws ScmException
    {
        return executeTagCommand( scmProviderRepository, fileSet, tag, new ScmTagParameters( message ) );
    }
View Full Code Here

    public void testCommandline()
        throws Exception   
    {
        TfsScmProviderRepository repo = getScmProviderRepository();
        ScmTagParameters param = new ScmTagParameters( "Message of many words" );
        Commandline cmd = new TfsTagCommand().createCommand( repo, getScmFileSet(), "tag", param ).getCommandline();
        String expected =
            "tf label -login:user,password tag " + repo.getServerPath()
                + " -recursive -child:replace -comment:\"Message of many words\"";
        assertCommandLine( expected, getWorkingDirectory(), cmd );
View Full Code Here

{

    protected ScmResult executeTagCommand( ScmProviderRepository r, ScmFileSet f, String tag, String message )
        throws ScmException
    {
        return executeTagCommand( r, f, tag, new ScmTagParameters( message ) );
    }
View Full Code Here

    }

    public void testCreateTagCreateSnapshotCommand()
        throws Exception
    {
        ScmTagParameters scmTagParameters = new ScmTagParameters( "My Tag Message" );
        Commandline cmd = new JazzTagCommand().createTagCreateSnapshotCommand( repo, getScmFileSet(), "My_Tag_Name",
                                                                               scmTagParameters ).getCommandline();
        String expected =
            "scm create snapshot --repository-uri https://localhost:9443/jazz --username myUserName --password myPassword --name My_Tag_Name --description \"My Tag Message\" \"Dave's Repository Workspace\"";
        assertCommandLine( expected, getWorkingDirectory(), cmd );
View Full Code Here

TOP

Related Classes of org.apache.maven.scm.ScmTagParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.