Skip to content

Commit

Permalink
fix download page (closes #261)
Browse files Browse the repository at this point in the history
  • Loading branch information
tipsy committed Feb 17, 2024
1 parent 6c95ac3 commit 5102117
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions pages/download.md
Expand Up @@ -10,29 +10,19 @@ permalink: /download
<h1 class="no-margin-top">A lightweight REST API library</h1>

Javalin is a true microframework with only one required dependency: SLF4J (logging).

By default Javalin also depends on Jetty, but you can exclude it (or use the `javalin-without-jetty` artifact)
By default Javalin also depends on Jetty, but you can exclude
if you want to use a different Webserver (like Tomcat, etc).

Javalin also has plugins for JSON mapping, template rendering, and OpenAPI (Swagger), but they're
optional dependencies that you have to add manually.
See the [plugins](/plugins) page for more information.

## Download Javalin
{% include macros/mavenDep.md %}

## Javalin modules

There are multiple modules available for Javalin.
All modules are released in sync with the core `javalin` module, you just have to replace
the artifact id:

* `javalin` - the core Javalin dependency (shown in the snippet above)
* `javalin-bundle` - `javalin`, plus `javalin-openapi`, `jackson` and `logback` (good to get started fast)
* `javalin-openapi` - the OpenAPI plugin and all required dependencies
* `javalin-graphql` - the new GraphQL plugin
* `javalin-without-jetty` - `javalin` with all `jetty` dependencies excluded
and Jetty specific methods removed (useful for running on e.g. Tomcat)
You can see a list of all available modules on [https://search.maven.org/search?q=g:io.javalin](https://search.maven.org/search?q=g:io.javalin)

### Manual downloads
You can get the prebuilt jar from [Maven Central](https://repo1.maven.org/maven2/io/javalin/javalin/).\\
## Manual downloads
You can get prebuilt jars from [Maven Central](https://repo1.maven.org/maven2/io/javalin/javalin/).\\
You can get the source on [GitHub](https://github.com/javalin/javalin), or [download it as a zip](https://github.com/javalin/javalin/archive/master.zip).

0 comments on commit 5102117

Please sign in to comment.