The Emergence of Software Diversity in Maven Central - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2019

The Emergence of Software Diversity in Maven Central

Amine Benelallam
  • Fonction : Auteur
  • PersonId : 954567
Nicolas Harrand
  • Fonction : Auteur
  • PersonId : 1044671
Olivier Barais
  • Fonction : Auteur
  • PersonId : 964001
Benoit Baudry
  • Fonction : Auteur
  • PersonId : 838700

Résumé

Maven artifacts are immutable: an artifact that is uploaded on Maven Central cannot be removed nor modified. The only way for developers to upgrade their library is to release a new version. Consequently, Maven Central accumulates all the versions of all the libraries that are published there, and applications that declare a dependency towards a library can pick any version. In this work, we hypothesize that the immutability of Maven artifacts and the ability to choose any version naturally support the emergence of software diversity within Maven Central. We analyze 1,487,956 artifacts that represent all the versions of 73,653 libraries. We observe that more than 30% of libraries have multiple versions that are actively used by latest artifacts. In the case of popular libraries, more than 50% of their versions are used. We also observe that more than 17% of libraries have several versions that are significantly more used than the other versions. Our results indicate that the immutability of artifacts in Maven Central does support a sustained level of diversity among versions of libraries in the repository.
Fichier principal
Vignette du fichier
MC2.pdf (733.2 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02080248 , version 1 (26-03-2019)

Identifiants

Citer

César Soto-Valero, Amine Benelallam, Nicolas Harrand, Olivier Barais, Benoit Baudry. The Emergence of Software Diversity in Maven Central. MSR 2019 - 16th International Conference on Mining Software Repositories, May 2019, Montreal, Canada. pp.333-343, ⟨10.1109/MSR.2019.00059⟩. ⟨hal-02080248⟩
113 Consultations
128 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More