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.48.0"
jquery
"org.webjars" % "jquery" % "3.6.0"
npm
"org.webjars" % "npm" % "5.0.0-2"
Bootstrap
"org.webjars" % "bootstrap" % "5.0.1"
vaadin-element-mixin
"org.webjars.bowergithub.vaadin" % "vaadin-element-mixin" % "2.4.2"
polymer
"org.webjars.bowergithub.polymer" % "polymer" % "2.8.0"
@angular/http
"org.webjars.npm" % "angular__http" % "8.0.0-beta.10"
vaadin-material-styles
"org.webjars.bowergithub.vaadin" % "vaadin-material-styles" % "1.4.0-alpha1"
vaadin-themable-mixin
"org.webjars.bowergithub.vaadin" % "vaadin-themable-mixin" % "1.6.2"
vaadin-lumo-styles
"org.webjars.bowergithub.vaadin" % "vaadin-lumo-styles" % "1.7.0-alpha2"
vaadin-usage-statistics
"org.webjars.bowergithub.vaadin" % "vaadin-usage-statistics" % "2.1.0"
shadycss
"org.webjars.bowergithub.webcomponents" % "shadycss" % "1.9.1"
vaadin-development-mode-detector
"org.webjars.bowergithub.vaadin" % "vaadin-development-mode-detector" % "2.0.4"
@webcomponents/webcomponentsjs
"org.webjars.bowergithub.webcomponents" % "webcomponentsjs" % "2.2.10"
Popper.js
"org.webjars" % "popper.js" % "2.9.2"
Font Awesome
"org.webjars" % "font-awesome" % "5.15.2"
iron-meta
"org.webjars.bowergithub.polymerelements" % "iron-meta" % "2.1.1"
iron-flex-layout
"org.webjars.bowergithub.polymerelements" % "iron-flex-layout" % "3.0.1"
vaadin-control-state-mixin
"org.webjars.bowergithub.vaadin" % "vaadin-control-state-mixin" % "2.2.4"
Envjs
"org.webjars" % "envjs" % "1.2"
All WebJars