| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <name>JAX-RS SSE/CDI Demo (Jetty 9)</name> |
| <description>JAX-RS SSE/CDI Demo (Jetty 9)</description> |
| <artifactId>jax_rs_sse_cdi</artifactId> |
| |
| <parent> |
| <groupId>org.apache.cxf.samples</groupId> |
| <artifactId>cxf-samples</artifactId> |
| <version>3.3.5-SNAPSHOT</version> |
| <relativePath>../..</relativePath> |
| </parent> |
| |
| <dependencies> |
| <dependency> |
| <groupId>javax.enterprise</groupId> |
| <artifactId>cdi-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-integration-cdi</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-sse</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.weld.servlet</groupId> |
| <artifactId>weld-servlet</artifactId> |
| <version>2.4.8.Final</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.weld</groupId> |
| <artifactId>weld-core</artifactId> |
| <version>2.4.8.Final</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-plus</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>apache-jsp</artifactId> |
| <version>${cxf.jetty9.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-webapp</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty.websocket</groupId> |
| <artifactId>websocket-server</artifactId> |
| <version>${cxf.jetty9.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.reactivex.rxjava2</groupId> |
| <artifactId>rxjava</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>server</id> |
| <build> |
| <defaultGoal>test</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>test</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| <configuration> |
| <mainClass>demo.jaxrs.sse.StatsServer</mainClass> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |