Skip to content

Instantly share code, notes, and snippets.

@gnodet
Created February 14, 2024 08:31
Show Gist options
  • Save gnodet/8723527ee75f72c884a7b892dee3acc6 to your computer and use it in GitHub Desktop.
Save gnodet/8723527ee75f72c884a7b892dee3acc6 to your computer and use it in GitHub Desktop.
return asList(
phase("initialize",
phase("validate")),
phase("build",
after("initialize"),
phase("sources",
phase("generate-sources"),
phase("process-sources", after("generate-sources"))),
phase("resources",
phase("generate-resources"),
phase("process-resources", after("generate-resources"))),
phase("compile",
after("sources"),
dependencies("compile", "ready"),
phase("compile-classes"),
phase("process-classes", after("compile-classes"))),
phase("ready",
after("compile"),
after("resources")),
phase("package",
after("ready"),
phase("prepare-package"),
phase("run-package", after("prepare-package"))),
phase("verify",
after("initialize"),
phase("test", after("initialize"),
phase("test-sources",
phase("generate-test-sources"),
phase("process-test-sources", after("generate-test-sources"))),
phase("test-resources",
phase("generate-test-resources"),
phase("process-test-resources", after("generate-test-resources"))),
phase("test-compile",
after("test-sources"),
after("ready"),
dependencies("test-only", "ready"),
phase("compile-test-classes"),
phase("process-test-classes", after("compile-test-classes"))),
phase("test-run",
after("test-compile"),
after("test-resources"),
dependencies("test", "ready"))),
phase("integration-test",
after("package"),
dependencies(null, "package"),
phase("pre-integration-test"),
phase("run-integration-test", after("pre-integration-test")),
phase("post-integration-test", after("run-integration-test")))),
phase("install", after("package")),
phase("deploy", after("package"))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment