False positives on ${version} usage
-----------------------------------

                 Key: MNG-4540
                 URL: http://jira.codehaus.org/browse/MNG-4540
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Design, Patterns & Best Practices
    Affects Versions: 3.0-alpha-5
            Reporter: David J. M. Karlsen


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



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to