Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4540

False positives on ${version} usage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.0-alpha-5
    • Fix Version/s: None
    • Labels:
      None

      Description

      I get this warning with mvn 3 alpha5:
      [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. @ com.davidkarlsen.zipcodeservice:zipcodeservice-selenium-tests:1.0-SNAPSHOT, /u/david/projects/davidkarlsen.com/zipcodeservice/zipcodeservice-selenium-tests/pom.xml

      but this is not the case, the pom's contain cxf.version, not version:
      :~/projects/davidkarlsen.com/zipcodeservice$ find . -name pom.xml -exec fgrep -il '${version}' '{}' \;
      :~/projects/davidkarlsen.com/zipcodeservice$ find . -name pom.xml -exec fgrep -il '${cxf.version}' '{}' \;
      ./zipcodeservice-core/pom.xml

        Attachments

        1. pom.xml
          1 kB
          Benjamin Bentmann

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              david@davidkarlsen.com David J. M. Karlsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: