12. @aalmiray | andresalmiray.com
Invoke plugins on the go
• Any plugin may be applied using the long notation
G:A:V:goal, in other words
plugin:1.2.0:echo -Decho.message="Hello World!"
15. @aalmiray | andresalmiray.com
• Dependencies deﬁned in a <dependencies> block are
known as direct dependencies.
• Dependencies brought by direct dependencies are known
as transitive dependencies.
• Maven resolves dependencies by locality
- direct in the current POM. Last found wins (closest).
- direct in the parent hierarchy.
- transitive in the hierarchy based on number of hops to
reach it. First found wins.
35. @aalmiray | andresalmiray.com
• The Reactor knows how to build all requirements.
• The install goal should only be used when artifacts must
be published to the local repository.
• Invoking clean diminishes the reuse of intermediate
results -> defeats incremental builds.
38. @aalmiray | andresalmiray.com
• Maven runs multi-project builds inside a Reactor.
• The Reactor executes goals for all projects.
• mvn -pl <paths> executes the given goals for all projects
• mvn -am -pl <paths> also executes for all prerequisites in
41. @aalmiray | andresalmiray.com
• All invoked plugin goals must exist in every project!
• Deﬁne common plugins in parent POMs using a
combination of <pluginManagement> and <plugins>.
• You’d be forced to deﬁne dummy values for plugins in
44. @aalmiray | andresalmiray.com
• These POM ﬁles deﬁne a <modules> section.
• They are typically also parent POMs but they DO NOT
have to be!
• Also, values in <module> are paths, not project names.
53. @aalmiray | andresalmiray.com
The preceding is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver
any material, code, or functionality, and should not be relied upon in making purchasing
decisions. The development, release, timing, and pricing of any features or functionality
described for Oracle’s products may change and remains at the sole discretion of Oracle
Statements in this presentation relating to Oracle’s future plans, expectations, beliefs,
intentions and prospects are “forward-looking statements” and are subject to material risks and
uncertainties. A detailed discussion of these factors and other risks that affect our business is
contained in Oracle’s Securities and Exchange Commission (SEC) filings, including our most
recent reports on Form 10-K and Form 10-Q under the heading “Risk Factors.” These filings
are available on the SEC’s website or on Oracle’s website at http://www.oracle.com/investor. All
information in this presentation is current as of September 2019 and Oracle undertakes no duty
to update any statement in light of new information or future events.
Safe Harbor Statement