maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Rapicault <pas...@rapicault.net>
Subject list of phases defined by the lifecycle of a packaging type
Date Sun, 10 Jun 2012 19:48:54 GMT
Hi,

Given a packaging type, is there a way to programmatically know all the phases that are associated
with the various lifecycle?

For example during the execution with -X I see the following output. This is pretty much what
I want.

[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify,
install, deploy]

Thx in advance,

Pascal
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message