Community
Participate
Working Groups
To add the IArtifactDescriptor entry for the bundle to be published, BundlesAction calls AbstractPublisherAction.publishArtifact. This method returns quickly if the artifact descriptor already exists in the target repository. So far so good. However before checking if there is already a descriptor in the artifact repository, the BundlesAction creates the descriptor with PublisherHelper.createArtifactDescriptor and this includes the computation of the MD5. The BundlesAction (or better all publishers) should avoid this relatively expensive file system operation when possible. A solution for this issue could be to move the MD5 computation to AbstractPublisherAction.publishArtifact, where it can be decided whether the descriptor is actually needed or will be discarded anyway.