Hi all, I am having trouble with the maven-rpm-plugin and maven v2.2.1.
maven-rpm-plugin is correctly creating an RPM, but the RPM has the wrong name. As a result, the attempt to copy the RPM into the repository fails with the error that the file does not exist.
The component of the RPM name that is wrong is the timestamp that has suddenly appeared at the end of the name. It seems that somewhere the name of the artifact is being generated more than once, and as the timestamp changes between these two attempts to generate the names, this is the cause of the file not existing.
What I would like to do is switch this strange timestamp feature off completely, as it doesn't seem to work. I can pass an option to maven on the command line, but what I am missing is how to turn this off in the pom itself.
All I can find is a reference to the uniqueVersion in the distributionManagement section, which makes no sense to me at all. I just want to switch it off for the project, not for the repository it will be uploaded to.
Does anyone know how this feature is switched off? Regards, Graham -- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
