Fixed JNDI lookup of ConnectionFactory and Destination.
Moved general wildfly-maven-plugin configuration to application parent POM.
Fixed injection of EJB in JAX-RS resource.