Author: dennisl Date: Sun Mar 15 16:45:52 2009 New Revision: 754690 URL: http://svn.apache.org/viewvc?rev=754690&view=rev Log: o Improve documentation. Use "goal" instead of "mojo".
Modified: maven/plugins/trunk/maven-install-plugin/src/site/apt/examples/installing-checksums.apt maven/plugins/trunk/maven-install-plugin/src/site/apt/usage.apt Modified: maven/plugins/trunk/maven-install-plugin/src/site/apt/examples/installing-checksums.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-install-plugin/src/site/apt/examples/installing-checksums.apt?rev=754690&r1=754689&r2=754690&view=diff ============================================================================== --- maven/plugins/trunk/maven-install-plugin/src/site/apt/examples/installing-checksums.apt (original) +++ maven/plugins/trunk/maven-install-plugin/src/site/apt/examples/installing-checksums.apt Sun Mar 15 16:45:52 2009 @@ -33,7 +33,7 @@ functions and are used to check the integrity of the associated file. This can be activated by setting the <<<createChecksum>>> parameter to <<<true>>>. - In the <<<install:install>>> mojo. + In the <<<install:install>>> goal. +---+ mvn install -DcreateChecksum=true Modified: maven/plugins/trunk/maven-install-plugin/src/site/apt/usage.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-install-plugin/src/site/apt/usage.apt?rev=754690&r1=754689&r2=754690&view=diff ============================================================================== --- maven/plugins/trunk/maven-install-plugin/src/site/apt/usage.apt (original) +++ maven/plugins/trunk/maven-install-plugin/src/site/apt/usage.apt Sun Mar 15 16:45:52 2009 @@ -28,7 +28,7 @@ Usage -* The <<<install:install>>> Mojo +* The <<<install:install>>> goal In most cases, <<<install:install>>> goal doesn't need any configuration, it needs the project's POM and the artifact file to be installed during the @@ -38,12 +38,12 @@ mvn install +---+ -* The <<<install:install-file>>> Mojo +* The <<<install:install-file>>> goal - The <<<install:install-file>>> mojo is used primarily for installing artifacts to + The <<<install:install-file>>> goal is used primarily for installing artifacts to the local repository which were not built by Maven. The project's development team - may or may not provide a POM for the artifact. Here's a complete example of the - install-file mojo: + may or may not provide a POM for the artifact. Here's a list of some of the available parameters for the + <<<install-file>>> goal: +---+ mvn install:install-file -Dfile=your-artifact-1.0.jar \ @@ -65,7 +65,7 @@ groupId can be considered if the groupId is not specified further for the current project or on the command line. - * the <<<classifier>>> parameter can be used to install secondary artifacts for a project, + * the optional <<<classifier>>> parameter can be used to install secondary artifacts for a project, like a <<<javadoc>>> or <<<sources>>> JAR. If a classifier is not given, Maven assumes the file is the main artifact for the project.