maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Ferreira <jtjeferre...@gmail.com>
Subject Re: maven-release-plugin: computed releaseVersion used as property?
Date Mon, 29 Nov 2010 14:25:43 GMT
Hello.

I was also interested in a solution for this. Currently i have to use
-Dtag=XXXX

Regrads

João Ferreira

2010/11/25 Lars Fischer <lfischer@fastmail.fm>

> Hello,
>
> I would like to use the maven-release-plugin and set a different
> release tag without the need of interacting.
> Additional I need to use the computed release version as part of the tag.
>
> I tried to configure it like this:
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-release-plugin</artifactId>
>  <configuration>
>    <tag>${project.groupId}.${project.artifactId}-${releaseVersion}</tag>
>  </configuration>
> </plugin>
>
> Unfortunately, there is no ${releaseVersion} property.
> ${project.version} is computed with the old -SNAPSHOT value.
>
> Is there a way, how I can configure the maven-release-plugin to work this
> way?
>
> Regards,
> Lars
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message