Merge pull request #531 from nguyennamthai/cxf-spring
Downgrades cargo and changes jetty to tomcat for cxf-spring
This commit is contained in:
commit
0c1aeb4639
|
@ -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>
|
||||
|
|
|
@ -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/*");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue