BTM
  1. BTM
  2. BTM-96

mvn release:prepare does not update the version in dist module

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.0
    • Fix Version/s: 3.0.0
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Executing this:

      mvn release:prepare -DdryRun=true
      

      gives me that:

      [INFO] Scanning for projects...
      [INFO] Reactor build order: 
      [INFO]   Bitronix Transaction Manager
      [INFO]   Bitronix Transaction Manager :: Core
      [INFO]   Bitronix Transaction Manager :: Jetty 6 lifecycle
      [INFO]   Bitronix Transaction Manager :: Tomcat 5.5+ lifecycle
      [INFO] Searching repository for plugin with prefix: 'release'.
      [INFO] org.sonatype.plugins: checking for updates from terracotta-releases
      [INFO] org.apache.maven.plugins: checking for updates from terracotta-releases
      [INFO] org.codehaus.mojo: checking for updates from terracotta-releases
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Bitronix Transaction Manager
      [INFO]    task-segment: [release:prepare] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      ...
      [INFO] Executing: /bin/sh -c cd /work/bitronix/btm/git && /usr/share/java/apache-maven-2.2.1/bin/mvn clean verify --no-plugin-updates -Pcodehaus-release -P terracotta-public-repositories
          [INFO] Scanning for projects...
          [INFO] Reactor build order: 
          [INFO]   Bitronix Transaction Manager
          [INFO]   Bitronix Transaction Manager :: Core
          [INFO]   Bitronix Transaction Manager :: Jetty 6 lifecycle
          [INFO]   Bitronix Transaction Manager :: Tomcat 5.5+ lifecycle
          [INFO]   Bitronix Transaction Manager :: Distribution
      ...
      

      The dist module is skipped during the version update phase but is included during the prepare build, thus it ends up being built with the previous -SNAPSHOT version.

        Activity

        Hide
        Ludovic Orban added a comment -

        The ZIP distribution is going to be dropped in release 3.0.0, there's no need to do this anymore.

        Show
        Ludovic Orban added a comment - The ZIP distribution is going to be dropped in release 3.0.0, there's no need to do this anymore.

          People

          • Assignee:
            Ludovic Orban
            Reporter:
            Ludovic Orban
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: