[
https://issues.jenkins-ci.org/browse/JENKINS-11814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163595#comment-163595
]
youri bonnaffe commented on JENKINS-11814:
------------------------------------------
I'm seeing a huge difference between a maven build using a freestyle job and
maven job (taking twice the time). It seems that it might be related to
fingerprints.
I guess I could try to build the maven plugin locally with
https://github.com/jenkinsci/jenkins/blob/master/maven-plugin/src/main/java/hudson/maven/reporters/MavenArtifactArchiver.java
line 147 removed.
> 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
> 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