continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marica Tan <marica....@gmail.com>
Subject Variables on maven-release-plugin tag configuration
Date Wed, 17 Jun 2009 06:31:53 GMT
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