I'm trying to use the buildnumber plugin to control the version field of a POM. 

    <version>1.0.${buildNumber}-SNAPSHOT</version>

The "package" phase works fine, creating a file with the parsed value in the 
filename. The "install" and "deploy" don't seem to parse the variable. When 
they run, I get something like the following: 

    [INFO] Installing PROJECT/artifact-0.1.334-SNAPSHOT.swc to 
~.m2/repository/PROJECT/artifact/0.1.${buildNumber}-SNAPSHOT/artifact-0.1.${buildNumber}-SNAPSHOT.swc

Anyone have any experience with this? 

Thanks
- Scott



      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to