Standard Maven operation

The first stage that we will implement is the unit testing stage. In the beginning, we will add a simple unit test in the same way that we did in Chapter 5, Testing Your Services with Arquillian. We have to extend pom.xml:

(...)        <dependencies>        (...)        <dependency>            <groupId>org.postgresql</groupId>            <artifactId>postgresql</artifactId>            <version>${version.postgresql}</version>        </dependency>        //1        <dependency>            <groupId>junit</groupId>            <artifactId>junit</artifactId>            <version>${version.junit}</version>            <scope>test</scope>        </dependency>        //2        <dependency>            <groupId>org.jboss.arquillian.junit</groupId>            <artifactId>arquillian-junit-container</artifactId>            <scope>test</scope>        </dependency>        //3        <dependency> <groupId>org.wildfly.swarm</groupId> ...

Get Hands-On Cloud Development with WildFly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.