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 <[email protected]>:
> 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 <[email protected]> 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 <[email protected]>:
>>> 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: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]