You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2009/02/22 02:36:18 UTC
svn commit: r746612 -
/maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt
Author: brianf
Date: Sun Feb 22 01:36:18 2009
New Revision: 746612
URL: http://svn.apache.org/viewvc?rev=746612&view=rev
Log:
MENFORCER-58 - typos
Modified:
maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt
Modified: maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt?rev=746612&r1=746611&r2=746612&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt (original)
+++ maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt Sun Feb 22 01:36:18 2009
@@ -95,7 +95,7 @@
There are several methods that must be implemented related to caching.
- Here's a sample class that shows how to access the helper methods and retreive components by class name from the helper:
+ Here's a sample class that shows how to access the helper methods and retrieve components by class name from the helper:
+---+
package org.apache.maven.enforcer.rule;
@@ -135,7 +135,7 @@
String target = (String) helper.evaluate( "${project.build.directory}" );
String artifactId = (String) helper.evaluate( "${project.artifactId}" );
- // retreive any component out of the session directly
+ // retrieveany component out of the session directly
ArtifactResolver resolver = (ArtifactResolver) helper.getComponent( ArtifactResolver.class );
RuntimeInformation rti = (RuntimeInformation) helper.getComponent( RuntimeInformation.class );