continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emmanuel.veni...@gmail.com>
Subject Re: Variables on maven-release-plugin tag configuration
Date Wed, 17 Jun 2009 07:56:22 GMT
If it is possible, I'd prefer to use the  maven model reader so all
variables will be interpolated.

Emmanuel

On Wed, Jun 17, 2009 at 8:31 AM, Marica Tan <marica.tan@gmail.com> wrote:

> Continuum doesn't handle translation of variables in maven-release-plugin
> tag configuration.
>
> So if i have
>
> <build>
>  <plugins>
>    <plugin>
>      <artifactId>maven-release-plugin</artifactId>
>      <configuration>
>        <tag>project-${project.version}</tag>
>      </configuration>
>    </plugin>
>  </plugins>
> </build>
>
> The scmTag in the release prepare page will still get the value
> "project-${project.version}".
>
> Solutions for this:
>
> [1] predefined variables only. quick fix but won't allow user to define
> their own variables.
>      - project.version
>      - project.groupId
>      - project.artifactId
>
> [2] add additional process to translate pom.xml first before getting the
> value of the tag. this will allow user to define their own variables.
>
>
> WDYT? Suggestions?
>
>
> Thanks
> --
> Marica
>

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