Dependencies won't work here, as wildfly-jsf-injection needs to link against the relevant JSF jar.