1. <plugin>
   2. <groupId>org.apache.maven.plugins</groupId>
   3. <artifactId>maven-release-plugin</artifactId>
   4. <version>3.0.0-M4</version>
   5. <configuration>
   6. <tagNameFormat>tomee-@{project.version}</tagNameFormat>
   7. </configuration>
   8. </plugin>


This should do the trick
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, May 12, 2021 at 5:36 PM Jean-Louis Monteiro <
[email protected]> wrote:

> I think this is by default the artifact id or the parent project.
> But it's something we can change in the release plugin.
>
>
> https://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html
> *"Overriding the default tag name format"*
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, May 12, 2021 at 5:10 PM David Blevins <[email protected]>
> wrote:
>
>> This one is minor, but I noticed I got a different tag name than I was
>> expecting and we seem to be getting it ever other release.
>>
>>  - tomee-8.0.1
>>  - tomee-8.0.2
>>  - tomee-8.0.5
>>  - tomee-8.0.6
>>  - tomee-project-8.0.3
>>  - tomee-project-8.0.4
>>  - tomee-project-8.0.7
>>
>> We seem to flip between the two formats.  Before 8 all the tags were of
>> the shorter `tomee-<version>` format and not the `tomee-project-<version>`
>> format.
>>
>> I've likely known this and forgotten, but what do I need to do get the
>> shorter version on future releases?
>>
>>
>> -David
>>
>>

Reply via email to