Btw. the logging of deploying attached artifacts could be improved by printing
the filename of the attached artifact instead of the main artifacts one:
Index: MavenArtifactRecord.java
===================================================================
— MavenArtifactRecord.java (revision 18451)
+++ MavenArtifactRecord.java (working copy)
@@ -119,8 +119,8 @@
deployer.deploy(main.getFile(),main,deploymentRepository,embedder.getLocalRepository());
for (MavenArtifact aa : attachedArtifacts)
{
-
logger.println(Messages.MavenArtifact_DeployingAttachedArtifact(main.getFile().getName()));
Artifact a = aa.toArtifact(handlerManager,factory, parent);
+
logger.println(Messages.MavenArtifact_DeployingAttachedArtifact(a.getFile().getName()));
deployer.deploy(a.getFile(),a,deploymentRepository,embedder.getLocalRepository());
}
}
I couldn't reproduce this problem.
I confirmed through the debugger that Maven only computes a timestamp once and
then use it for all the artifacts it publishes.
Can you elaborate on your set up more? Also, if possible, please post your
config.xml of your job.