META-INF.web-fragment.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moskito-webui-jersey Show documentation
Show all versions of moskito-webui-jersey Show documentation
This project contains dependencies and configuration (web-fragment) needed to enable moskito-webui rest interface via Jersey. To use it simply add it as dependency.
<web-fragment metadata-complete="true" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd"> <name>MoSKitoWebUIRest</name> <!-- REST UI--> <servlet> <servlet-name>JerseyServletContainer</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> <init-param> <param-name>com.sun.jersey.config.property.packages</param-name> <param-value>net.anotheria.moskito.webui</param-value> </init-param> <init-param> <param-name>com.sun.jersey.config.feature.DisableXmlSecurity</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name> <param-value>true</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>JerseyServletContainer</servlet-name> <url-pattern>/muirest/*</url-pattern> </servlet-mapping> <!-- / MOSKITO UI END --> <ordering> <after> <name>MoSKitoWebUI</name> </after> <before> <others/> </before> </ordering> </web-fragment>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy