Author: dantran
Date: Sat Dec 27 23:45:59 2014
New Revision: 1648130

URL: http://svn.apache.org/r1648130
Log:
[MGPG-31] fix typos from previous commit

Modified:
    maven/plugins/trunk/maven-gpg-plugin/src/it/settings.xml
    
maven/plugins/trunk/maven-gpg-plugin/src/main/java/org/apache/maven/plugin/gpg/AbstractGpgMojo.java

Modified: maven/plugins/trunk/maven-gpg-plugin/src/it/settings.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-gpg-plugin/src/it/settings.xml?rev=1648130&r1=1648129&r2=1648130&view=diff
==============================================================================
--- maven/plugins/trunk/maven-gpg-plugin/src/it/settings.xml (original)
+++ maven/plugins/trunk/maven-gpg-plugin/src/it/settings.xml Sat Dec 27 
23:45:59 2014
@@ -58,7 +58,7 @@ under the License.
 
   <servers>
     <server>
-      <id>gpg.passphase</id>
+      <id>gpg.passphrase</id>
       <passphrase>TEST</passphrase>
     </server>
   </servers>

Modified: 
maven/plugins/trunk/maven-gpg-plugin/src/main/java/org/apache/maven/plugin/gpg/AbstractGpgMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-gpg-plugin/src/main/java/org/apache/maven/plugin/gpg/AbstractGpgMojo.java?rev=1648130&r1=1648129&r2=1648130&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-gpg-plugin/src/main/java/org/apache/maven/plugin/gpg/AbstractGpgMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-gpg-plugin/src/main/java/org/apache/maven/plugin/gpg/AbstractGpgMojo.java
 Sat Dec 27 23:45:59 2014
@@ -62,8 +62,8 @@ public abstract class AbstractGpgMojo
      * Server id to lookup the passphase under Maven settings.
      * @since 1.6
      */
-    @Parameter( property = "gpg.passphaseServerKey", defaultValue = 
"gpg.passphase" )
-    private String passphaseServerKey;
+    @Parameter( property = "gpg.passphraseServerKey", defaultValue = 
"gpg.passphrase" )
+    private String passphraseServerKey;
 
     /**
      * The "name" of the key to sign with. Passed to gpg as 
<code>--local-user</code>.
@@ -213,7 +213,7 @@ public abstract class AbstractGpgMojo
     {
         if ( StringUtils.isEmpty( this.passphrase ) )
         {
-            Server server = this.settings.getServer( passphaseServerKey );
+            Server server = this.settings.getServer( passphraseServerKey );
 
             if ( server != null )
             {


Reply via email to