An open API service indexing awesome lists of open source software.

https://github.com/vpro/magnolia-jetty

class loader for jetty.
https://github.com/vpro/magnolia-jetty

magnolia-cms

Last synced: about 1 year ago
JSON representation

class loader for jetty.

Awesome Lists containing this project

README

          

= magnolia-jetty

image:https://github.com/vpro/magnolia-jetty/workflows/build/badge.svg?[Build Status,link=https://github.com/vpro/magnolia-jetty/actions?query=workflow%3Abuild]
image:https://img.shields.io/maven-central/v/nl.vpro.magnolia/magnolia-jetty.svg?label=Maven%20Central[Maven Central,link=https://search.maven.org/search?q=g:nl.vpro.magnolia%20a:magnolia-jetty]
image:https://img.shields.io/nexus/s/https/oss.sonatype.org/nl.vpro.magnolia/magnolia-jetty.svg[snapshots,link=https://oss.sonatype.org/content/repositories/snapshots/nl/vpro/magnolia/magnolia-jetty/]

Class loader for jetty. We use this to run magnolia via mvn jetty:run.

There is no actual dependency on magnolia, this may be generalized to something like 'jetty-classloader'

Create a Contex.xml for jetty with something like this:
[source,xml]
.Context.xml
----







^magnolia(?!\-lang).*$

----

And configure the jetty plugin something like so:
[source,xml]
.pom.xml
----
....

org.eclipse.jetty
jetty-maven-plugin



0

${public.port}


/${public.context}
${project.build.directory}/jetty-webxmls/web-public.xml

${basedir}/Context.xml
${basedir}/jetty.xml,${basedir}/jetty-ssl-context.xml,${basedir}/jetty-ssl.xml

----