Author: hboutemy
Date: Sat Aug  7 16:59:59 2010
New Revision: 983259

URL: http://svn.apache.org/viewvc?rev=983259&view=rev
Log:
minor doc improvements

Modified:
    maven/scm/trunk/src/site/apt/guide/index.apt
    maven/scm/trunk/src/site/apt/guide/new_provider.apt
    maven/scm/trunk/src/site/apt/guide/usage.apt

Modified: maven/scm/trunk/src/site/apt/guide/index.apt
URL: 
http://svn.apache.org/viewvc/maven/scm/trunk/src/site/apt/guide/index.apt?rev=983259&r1=983258&r2=983259&view=diff
==============================================================================
--- maven/scm/trunk/src/site/apt/guide/index.apt (original)
+++ maven/scm/trunk/src/site/apt/guide/index.apt Sat Aug  7 16:59:59 2010
@@ -34,4 +34,4 @@ Guides
 
 * {{{new_provider.html}How to write a new SCM provider?}}
 
-  This {{{new_provider.html}document}} describe step by step the 
implementation of a new SCM proviser.
+  This {{{new_provider.html}document}} describe step by step the 
implementation of a new SCM provider.

Modified: maven/scm/trunk/src/site/apt/guide/new_provider.apt
URL: 
http://svn.apache.org/viewvc/maven/scm/trunk/src/site/apt/guide/new_provider.apt?rev=983259&r1=983258&r2=983259&view=diff
==============================================================================
--- maven/scm/trunk/src/site/apt/guide/new_provider.apt (original)
+++ maven/scm/trunk/src/site/apt/guide/new_provider.apt Sat Aug  7 16:59:59 2010
@@ -66,16 +66,20 @@ How to write a new SCM provider?
   Your project need to use some jars from the Maven-SCM framework. Add them to 
your POM.
 
 +------------------------------------------+
-<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/maven-v4_0_0.xsd";>
+<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";>
+  <modelVersion>4.0.0</modelVersion>
+
   <parent>
     <artifactId>maven-scm-providers</artifactId>
     <groupId>org.apache.maven.scm</groupId>
     <version>LATEST VERSION OF MAVEN-SCM PROVIDERS MASTER POM</version>
   </parent>
-  <modelVersion>4.0.0</modelVersion>
+
   <artifactId>maven-scm-provider-YOUR_PROVIDER_NAME</artifactId>
-  <name>My Maven-SCM Provider</name>
   <version>1.0-SNAPSHOT</version>
+
+  <name>My Maven-SCM Provider</name>
+
   <build>
     <plugins>
       <plugin>

Modified: maven/scm/trunk/src/site/apt/guide/usage.apt
URL: 
http://svn.apache.org/viewvc/maven/scm/trunk/src/site/apt/guide/usage.apt?rev=983259&r1=983258&r2=983259&view=diff
==============================================================================
--- maven/scm/trunk/src/site/apt/guide/usage.apt (original)
+++ maven/scm/trunk/src/site/apt/guide/usage.apt Sat Aug  7 16:59:59 2010
@@ -104,11 +104,11 @@ public class MyApp
         }
         catch ( NoSuchScmProviderException ex )
         {
-            throw new Exception( "Could not find a provider." );
+            throw new Exception( "Could not find a provider.", ex );
         }
         catch ( ScmRepositoryException ex )
         {
-            throw new Exception( "Error while connecting to the repository" );
+            throw new Exception( "Error while connecting to the repository", 
ex );
         }
     }
 +------------------------------------------+


Reply via email to