Maven
  1. Maven
  2. MNG-5257

BuildNumber plugin does not work with maven 3

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 3.0.3, 3.0.4
    • Fix Version/s: None
    • Labels:
      None

      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

        Brian Demers created issue -
        Jason van Zyl made changes -
        Field Original Value New Value
        Resolution Incomplete [ 4 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12715477 ] Default workflow, editable Closed status [ 12755014 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12951691 ] Default workflow, editable Closed status [ 12987904 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        682d 5h 17m 1 Jason van Zyl 19/Jan/14 17:34

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development