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?
for any project/module, maven checks before to build if its own version is greater than the one in the prerequisite
** 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
- How do I get rid of the warning "Encoding not set, build is platform dependent"? ** With Maven 2.0.9, use the project.build.encoding property for plugins that understand it. Not all plugins have been updated and released yet. *** See: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding ** For the compiler plugin, set the -encoding argument for javac ** See examples in the Maven Super POM http://svn.apache.org/repos/asf/maven/pom/trunk/maven/pom.xml