maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: maven-scm-plugin example/help
Date Wed, 02 May 2012 16:26:36 GMT
The option could be having a profile which call the tag goal of the
maven scm plugin
Something like
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-scm-plugin</artifactId>
        <version>1.7</version>
        <executions>
          <execution>
            <goals>
              <goal>tag</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

But honestly, I have never tested that :-)

2012/5/2 Billy Newman <newmanw10@gmail.com>:
> Release plugin looks ok but thinking scm plugin might work a little better in my dev
environment.  Anyone know if the scm plugin can do what I want (see first post)?
>
> Thanks.
>
> On May 2, 2012, at 1:35 AM, Olivier Lamy <olamy@apache.org> wrote:
>
>> Hi,
>> If you want to release your project (i.e creating a tag then deploying
>> the version) you must have a look at the release plugin which will
>> will do the stuff for you.
>>
>> 2012/5/2 Billy Newman <newmanw10@gmail.com>:
>>> I was looking at possibly using the maven-scm-plugin to tag my releases in scm.
>>>
>>> A couple quick questions.
>>>
>>> Does anyone have a quick example of creating a tag from an scm trunk inside of
a maven build, maybe a profile?
>>>
>>> What about only running the scm:tag goal if the version I am deploying is not
a SNAPSHOT. IE I don't want to tag my snapshots, only releases deployed that are not SNAPSHOTs.
>>>
>>> Thanks!
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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


Mime
View raw message