Skip to content

Sample maven pom.xml and launcher for a jersey project packaged into an executable war file.

Notifications You must be signed in to change notification settings

ralmodiel/jersey-jetty-executable-war-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download

Configure

  • edit jetty.port in sample.properties

Run (Windows):

  • package.bat
  • run.bat

Run (non-Windows):

  • mvn clean package
  • java -DCONFIGPATH=.\sample.properties -jar .\target\jersey-jetty-executable-war-sample.war

Test:

Enable Enunciate (Javadocs):

  • edit pom.xml and un-comment the enunciate plugin
  • mvn clean package
  • check the html generated inside the .\target\enunciate\build\docs\docs folder

To disable payload compression:

  • edit web.xml and comment the section for ContainerRequestFilters and ContainerResponseFilters.

About

Sample maven pom.xml and launcher for a jersey project packaged into an executable war file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published