Adding all Maven dependencies to Arquillian
问题 How do you add all dependencies in the POM to arquillian? Maven.resolver().loadPomFromFile("pom.xml").importRuntimeDependencies() .as(File.class); I found that line, but I Maven is red in intellij because it doesn't find the class. I don't know which dependencies I need. Or are there better ways? 回答1: Adding Arquillian dependencies Add Arquillian dependencies to your pom.xml : <dependencyManagement> <dependencies> <dependency> <groupId>org.jboss.arquillian</groupId> <artifactId>arquillian-bom