This repository was archived by the owner on Dec 18, 2022. It is now read-only.
forked from bdemers/maven-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 5
Maven Usage
Yves Zoundi edited this page Aug 15, 2013
·
4 revisions
In your pom.xml
(build/plugins section), add a reference to the plugin and also add the plugin repository location.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <build> <!-- other build elements --> <plugins> <!-- other plugins --> <!-- ADD A REFERENCE TO THE MAVEN WRAPPER PLUGIN --> <plugin> <groupId>com.rimerosolutions.maven.plugins</groupId> <artifactId>wrapper-maven-plugin</artifactId> <version>0.0.1</version> <configuration> <!-- optional base distribution url --> <baseDistributionUrl>http://mirrors.ibiblio.org/maven2/org/apache/maven/apache-maven</baseDistributionUrl> <!-- optional folder for generated scripts --> <wrapperScriptDirectory>${basedir}</wrapperScriptDirectory> <!-- optional wrapper support folder - subfolder of wrapperScriptDirectory --> <wrapperDirectory>${basedir}/wrapper</wrapperDirectory> <!-- optional specific maven version - autodetected --> <mavenVersion>3.0.2</mavenVersion> </configuration> </plugin> </plugins> </build> </project>