Skip to content

Instantly share code, notes, and snippets.

@lance
Created November 2, 2015 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lance/2b145ab0e235356fcfd0 to your computer and use it in GitHub Desktop.
Save lance/2b145ab0e235356fcfd0 to your computer and use it in GitHub Desktop.
diff --git a/pom.xml b/pom.xml
index 7f6695c..e76f79e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,18 @@
<version>7.0</version>
<scope>provided</scope>
</dependency>
+<!-- include the JAX-RS with CDI+JAXB Fractions -->
+<dependency>
+ <groupId>org.wildfly.swarm</groupId>
+ <artifactId>wildfly-swarm-jaxrs-weld</artifactId>
+ <version>1.0.0.Alpha6-SNAPSHOT</version>
+</dependency>
+
+<dependency>
+ <groupId>org.wildfly.swarm</groupId>
+ <artifactId>wildfly-swarm-jaxrs-jaxb</artifactId>
+ <version>1.0.0.Alpha6-SNAPSHOT</version>
+</dependency>
</dependencies>
<scm>
<connection>scm:git:https://github.com/javaee-samples/javaee7-simple-sample.git</connection>
@@ -53,6 +65,19 @@
<target>1.7</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.wildfly.swarm</groupId>
+ <artifactId>wildfly-swarm-plugin</artifactId>
+ <version>1.0.0.Alpha6-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>package</goal>
+ </goals>
+ </execution>
+ </executions>
+</plugin>
+
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment