Switch a few core plugins to the new api
diff --git a/pom.xml b/pom.xml
index 6c4dbf2..74c7b6e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
     <dependency>
       <groupId>org.apache.maven.release</groupId>
       <artifactId>maven-release-manager</artifactId>
-      <version>2.5.3</version>
+      <version>3.0.0-M6-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
diff --git a/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java b/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java
index 9ee3f70..3af513d 100644
--- a/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java
+++ b/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java
@@ -62,6 +62,8 @@
 import org.apache.maven.settings.crypto.SettingsDecryptionRequest;
 import org.apache.maven.settings.crypto.SettingsDecryptionResult;
 import org.apache.maven.shared.release.config.ReleaseDescriptor;
+import org.apache.maven.shared.release.config.ReleaseDescriptorBuilder;
+import org.apache.maven.shared.release.config.ReleaseUtils;
 import org.apache.maven.shared.release.scm.ScmRepositoryConfigurator;
 import org.apache.maven.shared.utils.logging.MessageUtils;
 
@@ -321,7 +323,7 @@
             logInfo( "Performing a LOCAL checkout from " + scmUrl );
         }
 
-        ReleaseDescriptor releaseDescriptor = new ReleaseDescriptor();
+        ReleaseDescriptorBuilder releaseDescriptor = new ReleaseDescriptorBuilder();
         releaseDescriptor.setInteractive( settings.isInteractiveMode() );
 
         if ( username == null || password == null )
@@ -371,11 +373,13 @@
             }
         }
 
-        scmRepository = scmRepositoryConfigurator.getConfiguredRepository( releaseDescriptor, settings );
+        ReleaseDescriptor descriptor = ReleaseUtils.buildReleaseDescriptor( releaseDescriptor );
+
+        scmRepository = scmRepositoryConfigurator.getConfiguredRepository( descriptor, settings );
 
         scmProvider = scmRepositoryConfigurator.getRepositoryProvider( scmRepository );
 
-        return releaseDescriptor;
+        return descriptor;
     }
 
     protected void checkoutExisting()