I think Project version number can be printed in an interactive mode only if we run mvn help:evaluate or else we have to hardcode the version number.
Thanks, Pradeep S -----Original Message----- From: Musayev, Ilya [mailto:imusa...@webmd.net] Sent: Sunday, February 17, 2013 10:29 PM To: cloudstack-dev@incubator.apache.org Subject: Re: Fix for packaging/centos63/package.sh I'm thinking, can't we get version info without running maven? Does pom.xml has version numbers of CS built in other some other file that does not require running maven? Marcus Sorensen <shadow...@gmail.com> wrote: That is old. I changed that line yesterday. It was catching all sorts of things like "downloading" On Feb 15, 2013 5:11 PM, "Musayev, Ilya" <imusa...@webmd.net> wrote: > Please fix the logic in package.sh script to make it work > > Specificialy > > VERSION=`(cd ../../; mvn > org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate > -Dexpression=project.version) | grep -v '^\['` > > Change to > > > VERSION=`(cd ../../; mvn > org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate > -Dexpression=project.version) | grep -vE '^\[|dt_socket'` > > If you don't, the packager takes the string that appears prior to a > version number and tar/rpm process fails. > > > >