We have a large maven 3 project with about 250 modules. All modules have version 1.0-SNAPSHOT and in the module tree there is one parent module with the same version as the root of the tree. The project is built with Bamboo at night, and artifacts are installed in the Nexus repository using the "mvn clean install" command.
It happens that some of the modules are built with one timestamp, and the rest with another, something like: module1-1.0-20121127.150154-7.jar module100-1.0-20121127.150527-7.jar
In another project, I tried to establish a dependency on artifacts of this project using a specific version of the snapshot dependency (as discussed in this question, a specific version of the Maven snapshot dependency ), but could not be built due to the problem described above.
Does anyone know why maven will use different timestamps and how to fix it?
source share