[ https://issues.jenkins-ci.org/browse/JENKINS-11814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163646#comment-163646 ]
youri bonnaffe commented on JENKINS-11814: ------------------------------------------ I've tried with the line mar.recordFingerprints(); commented but I see no difference in build time. >From MavenFingerPrinter it seems that fingerprinting is required to keep track >of dependencies so maybe it is necessary to launch others build when snapshot >dependencies change or to use only build changed modules option. Note that the I use maven jobs with automatic artifact archiving disabled. > Maven artifact fingerprints are computed and recorded twice > ----------------------------------------------------------- > > Key: JENKINS-11814 > URL: https://issues.jenkins-ci.org/browse/JENKINS-11814 > Project: Jenkins > Issue Type: Improvement > Components: maven2 > Reporter: kutzi > Assignee: kutzi > Priority: Minor > > The artifacts which are produced by a maven job have their artifacts > fingerprinted twice. Once in MavenFingerprinter and once in > MavenArtifactArchiver (*). This adds unnecessary overhead to maven jobs. > Proposal: as fingerprints are needed in the MavenArtifact records generated > in the MavenArtifactArchiver, it probably doesn't make much sense to remove > the fingerprinting from there. Instead, I'd propose to fingerprint all 'used' > artifacts in the MavenFingerprinter and all 'produced' artifacts in the > MavenArtifactArchiver > *) Note that fingerprints are even generated in MavenArtifactArchiver if > automatic artifact archiving is disabled -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira