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.
- Host: GitHub
- URL: https://github.com/vpro/magnolia-jetty
- Owner: vpro
- License: gpl-3.0
- Created: 2019-01-15T08:42:20.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T12:16:17.000Z (over 3 years ago)
- Last Synced: 2025-02-16T15:17:08.129Z (over 1 year ago)
- Topics: magnolia-cms
- Language: Java
- Size: 72.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
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
----