Add configuration for maven-jetty-plugin
authorJacek Grzebyta <jgrzebyta@users.noreply.github.com>
Thu, 23 Aug 2018 15:15:02 +0000 (16:15 +0100)
committerJacek Grzebyta <jgrzebyta@users.noreply.github.com>
Thu, 23 Aug 2018 15:15:02 +0000 (16:15 +0100)
add configuration to load src/main/resources

service/pom.xml

index b29a068..96004c7 100644 (file)
         <version>${jetty.runner.version}</version>
         <configuration>
           <webAppConfig>
+              <baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
+                  <resourcesAsCSV>src/main</resourcesAsCSV>
+              </baseResource>
             <contextPath>/${project.artifactId}</contextPath>
           </webAppConfig>
         </configuration>