MavenFAQ - wendysmoak/wiki GitHub Wiki

== Maven FAQ ==

  • Can I depoy timestamped snapshots to an alternate repository? ** Maven/AltDeploymentRepository

  • Can I use a version range in a element? ** Maven/VersionRange

  • How do I add dependencies to the classpath from my custom plugin's code? ** You can't. The pom is intended to be a full description of the project and its dependencies.

  • What is the element used for and how does it work?

it's not inherited, you have to define it in all modules

for any project/module, maven checks before to build if its own version is greater than the one in the prerequisite

for plugins, this value is also used in the update mechanism to check the compatibility.

** http://www.nabble.com/Does-the-maven-version-prerequisite-only-apply-to-plugins%2C-or-not--td18387495.html ** http://www.nabble.com/Control-of-maven-using-prerequisites-td8978482.html

⚠️ **GitHub.com Fallback** ⚠️