Author: dennisl
Date: Sat Aug  2 04:55:36 2008
New Revision: 681959

URL: http://svn.apache.org/viewvc?rev=681959&view=rev
Log:
o Fix errors reported by Checkstyle.

Modified:
    
maven/plugins/trunk/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java

Modified: 
maven/plugins/trunk/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java?rev=681959&r1=681958&r2=681959&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java
 Sat Aug  2 04:55:36 2008
@@ -379,7 +379,8 @@
     {
         if ( skipInvocation )
         {
-            getLog().info( "Skipping invocation per configuration. If this is 
incorrect, ensure the skipInvocation parameter is not set to true." );
+            getLog().info( "Skipping invocation per configuration."
+                + " If this is incorrect, ensure the skipInvocation parameter 
is not set to true." );
             return;
         }
 
@@ -392,8 +393,8 @@
             }
             catch ( IOException e )
             {
-                throw new MojoExecutionException( "Failed to discover 
projectsDirectory from pom File parameter. Reason: "
-                    + e.getMessage(), e );
+                throw new MojoExecutionException( "Failed to discover 
projectsDirectory from pom File parameter."
+                    + " Reason: " + e.getMessage(), e );
             }
 
             includedPoms = new String[]{ pom.getName() };
@@ -555,7 +556,8 @@
                 }
                 else
                 {
-                    copyDirectoryStructure( new File( projectsDirectory, 
subpath ), new File( cloneProjectsTo, subpath ) );
+                    copyDirectoryStructure( new File( projectsDirectory, 
subpath ), new File( cloneProjectsTo,
+                                                                               
               subpath ) );
                 }
 
                 clonedSubpaths.add( subpath );
@@ -1224,8 +1226,8 @@
         try
         {
             // interpolation with token @...@
-            reader = new BufferedReader( new InterpolationFilterReader( 
ReaderFactory.newXmlReader( originalFile ), composite, "@",
-                                                                        "@" ) 
);
+            reader = new BufferedReader( new InterpolationFilterReader( 
ReaderFactory.newXmlReader( originalFile ),
+                                                                        
composite, "@", "@" ) );
             writer = WriterFactory.newXmlWriter( interpolatedFile );
             String line = null;
             while ( ( line = reader.readLine() ) != null )
@@ -1285,7 +1287,8 @@
         }
         catch ( IOException e )
         {
-            throw new MojoExecutionException( "error reading profile in file " 
+ projectProfilesFile + " not found ", e );
+            throw new MojoExecutionException( "error reading profile in file " 
+ projectProfilesFile + " not found ",
+                                              e );
         }
         finally
         {


Reply via email to