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.40.0"
jquery
"org.webjars" % "jquery" % "3.5.1"
npm
"org.webjars" % "npm" % "5.0.0-2"
Bootstrap
"org.webjars" % "bootstrap" % "5.0.0-beta1"
Popper.js
"org.webjars" % "popper.js" % "2.5.4"
Envjs
"org.webjars" % "envjs" % "1.2"
jQuery UI
"org.webjars" % "jquery-ui" % "1.12.1"
Font Awesome
"org.webjars" % "font-awesome" % "5.15.2"
D3.js
"org.webjars" % "d3js" % "6.2.0"
DataTables
"org.webjars" % "datatables" % "1.10.23"
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"
LESS Node
"org.webjars" % "less-node" % "3.8.1"
Handlebars
"org.webjars" % "handlebars" % "4.0.14"
LESS
"org.webjars" % "less" % "3.8.1"
CoffeeScript
"org.webjars" % "coffee-script" % "1.11.0"
JSON2
"org.webjars" % "json2" % "20140204"
Ember.js
"org.webjars" % "emberjs" % "1.12.0"
JSLint
"org.webjars" % "jslint" % "20140708-394bf29"
All WebJars