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" % "3.44.0"
npm
"org.webjars" % "npm" % "5.0.0-2"
jquery
"org.webjars" % "jquery" % "3.5.1"
Bootstrap
"org.webjars" % "bootstrap" % "5.0.0-beta2"
@angular/http
"org.webjars.npm" % "angular__http" % "8.0.0-beta.10"
Popper.js
"org.webjars" % "popper.js" % "2.5.4"
Envjs
"org.webjars" % "envjs" % "1.2"
Font Awesome
"org.webjars" % "font-awesome" % "5.15.2"
jQuery UI
"org.webjars" % "jquery-ui" % "1.12.1"
D3.js
"org.webjars" % "d3js" % "6.2.0"
DataTables
"org.webjars" % "datatables" % "1.10.23"
mobile-drag-drop
"org.webjars.npm" % "mobile-drag-drop" % "2.3.0-rc.2"
@vaadin/vaadin-mobile-drag-drop
"org.webjars.npm" % "vaadin__vaadin-mobile-drag-drop" % "1.0.0"
source-map
"org.webjars.npm" % "source-map" % "0.8.0-beta.0"
stomp-websocket
"org.webjars" % "stomp-websocket" % "2.3.3-1"
SockJS-client
"org.webjars" % "sockjs-client" % "1.1.2"
mkdirp
"org.webjars" % "mkdirp" % "0.5.0"
jquery
"org.webjars.bower" % "jquery" % "3.5.1"
LESS Node
"org.webjars" % "less-node" % "3.8.1"
@mdi/font
"org.webjars.npm" % "mdi__font" % "5.8.55"
All WebJars