Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Complete Arquillian deployment
@Deployment
public static WebArchive createDeployment() {
WebArchive webArchive = (WebArchive) EmbeddedMaven.forProject(new File("pom.xml")) //
.useMaven3Version("3.3.9") //
.setGoals("package") //
.setQuiet() //
.skipTests(true) //
.setDebugLoggerLevel() //
.build() //
.getDefaultBuiltArchive();
return webArchive;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.