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>
|
<plugin>
|
||||||
<groupId>org.codehaus.cargo</groupId>
|
<groupId>org.codehaus.cargo</groupId>
|
||||||
<artifactId>cargo-maven2-plugin</artifactId>
|
<artifactId>cargo-maven2-plugin</artifactId>
|
||||||
<version>1.5.0</version>
|
<version>1.4.19</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<container>
|
<container>
|
||||||
<containerId>jetty9x</containerId>
|
<containerId>tomcat8x</containerId>
|
||||||
<type>embedded</type>
|
<type>embedded</type>
|
||||||
</container>
|
</container>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
|
@ -16,6 +16,6 @@ public class AppInitializer implements WebApplicationInitializer {
|
||||||
container.addListener(new ContextLoaderListener(context));
|
container.addListener(new ContextLoaderListener(context));
|
||||||
|
|
||||||
ServletRegistration.Dynamic dispatcher = container.addServlet("dispatcher", new CXFServlet());
|
ServletRegistration.Dynamic dispatcher = container.addServlet("dispatcher", new CXFServlet());
|
||||||
dispatcher.addMapping("/services");
|
dispatcher.addMapping("/services/*");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue