Brian Demers created MNG-5257:
---------------------------------

             Summary: BuildNumber plugin does not work with maven 3
                 Key: MNG-5257
                 URL: https://jira.codehaus.org/browse/MNG-5257
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 3.0.4, 3.0.3
            Reporter: Brian Demers


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to