WebJars are client-side web libraries (e.g. jQuery & Bootstrap) packaged into JAR (Java Archive) files.

WebJars come in four flavors:

NPM WebJars

  • Contents mirror NPM package
  • GroupId: org.webjars.npm
  • ArtifactId: NPM Package or URL-based Name

Bower GitHub WebJars

  • Contents mirror Bower package
  • GroupId: org.webjars.bowergithub.[GITHUB_ORG]
  • ArtifactId: GitHub Repo Name

Classic WebJars

  • Custom Built and Manually Deployed
  • GroupId: org.webjars
  • ArtifactId: Varies

Bower Original WebJars

  • Deprecated Use Bower GitHub WebJars instead
  • GroupId: org.webjars.bower
  • ArtifactId: Bower Package or URL-based Name

Popular WebJars

Name Versions Build Tool:
Files
Swagger UI
"org.webjars" % "swagger-ui" % "5.11.8"
jquery
"org.webjars" % "jquery" % "3.7.1"
npm
"org.webjars" % "npm" % "5.0.0-2"
Bootstrap
"org.webjars" % "bootstrap" % "5.3.3"
Font Awesome
"org.webjars" % "font-awesome" % "6.5.1"
balanced-match
"org.webjars.npm" % "balanced-match" % "1.0.2"
DataTables
"org.webjars" % "datatables" % "1.13.5"
tslib
"org.webjars.npm" % "tslib" % "2.6.2"
@mdi/font
"org.webjars.npm" % "mdi__font" % "7.3.67"
bootstrap-select
"org.webjars" % "bootstrap-select" % "1.14.0-beta2"
base64-js
"org.webjars.npm" % "base64-js" % "1.5.1"
whatwg-fetch
"org.webjars.npm" % "whatwg-fetch" % "3.6.2"
Highlight.js
"org.webjars" % "highlightjs" % "11.5.0"
zxcvbn
"org.webjars" % "zxcvbn" % "4.4.2"
@material/theme
"org.webjars.npm" % "material__theme" % "14.0.0"
@material/elevation
"org.webjars.npm" % "material__elevation" % "14.0.0"
@material/typography
"org.webjars.npm" % "material__typography" % "14.0.0"
@material/snackbar
"org.webjars.npm" % "material__snackbar" % "14.0.0"
@material/base
"org.webjars.npm" % "material__base" % "14.0.0"
@material/card
"org.webjars.npm" % "material__card" % "14.0.0"
All WebJars