Merge pull request #531 from nguyennamthai/cxf-spring

Downgrades cargo and changes jetty to tomcat for cxf-spring
This commit is contained in:
Eugen 2016-07-25 15:05:52 +02:00 committed by GitHub
commit 0c1aeb4639
2 changed files with 3 additions and 3 deletions

View File

@ -66,10 +66,10 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.5.0</version>
<version>1.4.19</version>
<configuration>
<container>
<containerId>jetty9x</containerId>
<containerId>tomcat8x</containerId>
<type>embedded</type>
</container>
<configuration>

View File

@ -16,6 +16,6 @@ public class AppInitializer implements WebApplicationInitializer {
container.addListener(new ContextLoaderListener(context));
ServletRegistration.Dynamic dispatcher = container.addServlet("dispatcher", new CXFServlet());
dispatcher.addMapping("/services");
dispatcher.addMapping("/services/*");
}
}