How does Tycho bind its goals to the Maven lifecycle -
i didn't understand how tycho bound maven lifecyle did not see pom.xml configuration binds tycho goals.
my questions are:
how tycho hook maven's building reactor stage, i.e. when prints below messages before reactor computed?
[exec] [warning] no explicit target runtime environment configuration. build platform dependent.
how tycho bind goals maven's build lifecycle? see there goals executed during build not configured in pom.xml:
[exec] [info] --- target-platform-configuration:0.21.0:target-platform (default-target-platform) @ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --- [exec] [info] [exec] [info] --- tycho-packaging-plugin:0.21.0:package-feature (default-package-feature) @ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ---
tycho using maven lifecycle hooks dependency resolution before actual reactor build starts. these lifecycle hooks available maven build extension , iirc tycho 1 of reasons introduced in maven 3.0.
tycho's implementation of lifecycle hook in class tychomavenlifecycleparticipant.
the goals being executed during normal reactor build selected via packaging type. when e.g. set packaging eclipse-feature
in project, set of goals, defined tycho, executed.
you can see exact mapping of goals maven lifecycle phases defined in this component.xml file in tycho sources.
Comments
Post a Comment