Maven
  1. Maven
  2. MNG-5257

BuildNumber plugin does not work with maven 3

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 3.0.3, 3.0.4
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Example: Shiro 1.2 uses the build number plugin see:
      http://search.maven.org/remotecontent?filepath=org/apache/shiro/shiro-root/1.2.0/shiro-root-1.2.0.pom

      If you build with maven 3 the buildNumber property is not interpolated.
      See uninterpolated property here:
      https://repository.sonatype.org/service/local/repositories/central-proxy/archive/org/apache/shiro/shiro-core/1.2.0/shiro-core-1.2.0.jar/!/META-INF/MANIFEST.MF

      NOTE: building this same project with maven 2.2.1 sets the buildNumber property correctly.
      Tested with buildnumber plugin 1.0-beta-4, 1.0, and 1.1-SNAPSHOT

        Activity

        Jason van Zyl made changes -
        Field Original Value New Value
        Resolution Incomplete [ 4 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Brian Demers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: