Jetty-Console Core

Creates runnable wars by embedding Jetty into the WAR

License

License

Categories

Categories

Jetty Container Application Servers
GroupId

GroupId

org.simplericity.jettyconsole
ArtifactId

ArtifactId

jetty-console-core
Last Version

Last Version

1.61
Release Date

Release Date

Type

Type

jar
Description

Description

Jetty-Console Core
Creates runnable wars by embedding Jetty into the WAR

Download jetty-console-core

How to add to project

<!-- https://jarcasting.com/artifacts/org.simplericity.jettyconsole/jetty-console-core/ -->
<dependency>
    <groupId>org.simplericity.jettyconsole</groupId>
    <artifactId>jetty-console-core</artifactId>
    <version>1.61</version>
</dependency>
// https://jarcasting.com/artifacts/org.simplericity.jettyconsole/jetty-console-core/
implementation 'org.simplericity.jettyconsole:jetty-console-core:1.61'
// https://jarcasting.com/artifacts/org.simplericity.jettyconsole/jetty-console-core/
implementation ("org.simplericity.jettyconsole:jetty-console-core:1.61")
'org.simplericity.jettyconsole:jetty-console-core:jar:1.61'
<dependency org="org.simplericity.jettyconsole" name="jetty-console-core" rev="1.61">
  <artifact name="jetty-console-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.simplericity.jettyconsole', module='jetty-console-core', version='1.61')
)
libraryDependencies += "org.simplericity.jettyconsole" % "jetty-console-core" % "1.61"
[org.simplericity.jettyconsole/jetty-console-core "1.61"]

Dependencies

compile (8)

Group / Artifact Type Version
org.simplericity.jettyconsole : jetty-console-api jar 1.61
org.eclipse.jetty : jetty-server jar 9.4.12.v20180830
org.eclipse.jetty : jetty-webapp jar 9.4.12.v20180830
org.eclipse.jetty : jetty-annotations jar 9.4.12.v20180830
org.simplericity.macify : macify jar 1.6
org.slf4j : slf4j-api jar 1.7.5
org.kantega.jexmec : jexmec-manager jar 2.0.0rc7
org.kantega.jexmec : jexmec-ctor-pl jar 2.0.0rc7

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

JettyConsole Maven Plugin

Embeds Jetty in your war file, making it runnable with java -jar myapp.war

How to create your standalone war

Add the following configuration to your Maven webapp pom.xml:

<plugin>
    <groupId>org.simplericity.jettyconsole</groupId>
    <artifactId>jetty-console-maven-plugin</artifactId>
    <version>${jettyconsole.version}</version>
    <executions>
        <execution>
            <goals>
                <goal>createconsole</goal>
            </goals>
            <configuration>
                <additionalDependencies>
                    <additionalDependency>
                        <artifactId>jetty-console-jsp-plugin</artifactId>
                    </additionalDependency>
                    <additionalDependency>
                        <artifactId>jetty-console-startstop-plugin</artifactId>
                    </additionalDependency>
                </additionalDependencies>
            </configuration>
        </execution>
    </executions>
</plugin>

This should output a jetty-console version in target/artifactId-version-jetty-console.war, including plugins for JSP support, and for creating Unix start/stop service scripts for your service (see plugins below)

How to run your standalone war

To get help on command line options, run:

java -jar myapp-jetty-console.war --help

To start your webapp on port 8080, run:

java -jar myapp-jetty-console.war --port 8080 --headless

Plugins

Plugin artifactId What does it do?
jetty-console-startstop-plugin Running java -jar myapp.war --createStartScript creates a Unix service script + config file
jetty-console-winsrv-plugin Running java -jar myapp.war --installWindowsService installs a Windows Service for running your service
jetty-console-jsp-plugin Adds support for serving JSP pages
jetty-console-jettyxml-plugin Lets you configure the Jetty Server or WebappContext from Jetty XML config files.

Versions

Version
1.61
1.60
1.59
1.58
1.57
1.56
1.55
1.54
1.53
1.52
1.51
1.50
1.49
1.48
1.47
1.45
1.44
1.43
1.42