You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:26:39 UTC

[maven-acr-plugin] 26/45: Reformatted to code style

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-acr-plugin-1.1
in repository https://gitbox.apache.org/repos/asf/maven-acr-plugin.git

commit 0e4c1dbfa7def0f1385fb9403e02044aa3792048
Author: Kristian Rosenvold <kr...@apache.org>
AuthorDate: Tue Aug 27 14:16:42 2013 +0000

    Reformatted to code style
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-acr-plugin@1517827 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/maven/plugin/acr/AcrMojo.java  | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
index 3893a99..c845653 100644
--- a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
+++ b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
@@ -53,8 +53,8 @@ import java.util.List;
  * @author <a href="snicoll@apache.org">Stephane Nicoll</a>
  * @version $Id:
  */
-@Mojo (name = "acr", requiresDependencyResolution = ResolutionScope.RUNTIME, threadSafe = true,
-       defaultPhase = LifecyclePhase.PACKAGE)
+@Mojo( name = "acr", requiresDependencyResolution = ResolutionScope.RUNTIME, threadSafe = true,
+       defaultPhase = LifecyclePhase.PACKAGE )
 public class AcrMojo
     extends AbstractMojo
 {
@@ -71,19 +71,19 @@ public class AcrMojo
     /**
      * The directory for the generated jar.
      */
-    @Parameter (defaultValue = "${project.build.directory}", required = true, readonly = true)
+    @Parameter( defaultValue = "${project.build.directory}", required = true, readonly = true )
     private File basedir;
 
     /**
      * Directory that resources are copied to during the build.
      */
-    @Parameter (property = "outputDirectory", defaultValue = "${project.build.outputDirectory}")
+    @Parameter( property = "outputDirectory", defaultValue = "${project.build.outputDirectory}" )
     private File outputDirectory;
 
     /**
      * The name of the Application client JAR file to generate.
      */
-    @Parameter (property = "jarName", defaultValue = "${project.build.finalName}")
+    @Parameter( property = "jarName", defaultValue = "${project.build.finalName}" )
     private String jarName;
 
     /**
@@ -108,7 +108,7 @@ public class AcrMojo
     /**
      * The Jar archiver.
      */
-    @Component (role = Archiver.class, hint = "jar")
+    @Component( role = Archiver.class, hint = "jar" )
     private JarArchiver jarArchiver;
 
     /**
@@ -122,20 +122,20 @@ public class AcrMojo
      * To escape interpolated value with windows path.
      * c:\foo\bar will be replaced with c:\\foo\\bar.
      */
-    @Parameter (property = "acr.escapeBackslashesInFilePath", defaultValue = "false")
+    @Parameter( property = "acr.escapeBackslashesInFilePath", defaultValue = "false" )
     private boolean escapeBackslashesInFilePath;
 
     /**
      * An expression preceded with this String won't be interpolated.
      * \${foo} will be replaced with ${foo}.
      */
-    @Parameter (property = "acr.escapeString")
+    @Parameter( property = "acr.escapeString" )
     protected String escapeString;
 
     /**
      * To filter the deployment descriptor.
      */
-    @Parameter (property = "acr.filterDeploymentDescriptor", defaultValue = "false")
+    @Parameter( property = "acr.filterDeploymentDescriptor", defaultValue = "false" )
     private boolean filterDeploymentDescriptor;
 
     /**
@@ -146,7 +146,7 @@ public class AcrMojo
 
     /**
      */
-    @Component (role = MavenFileFilter.class, hint = "default")
+    @Component( role = MavenFileFilter.class, hint = "default" )
     private MavenFileFilter mavenFileFilter;
 
     /**
@@ -183,7 +183,7 @@ public class AcrMojo
             if ( excludes != null && !excludes.isEmpty() )
             {
                 excludes.add( APP_CLIENT_XML );
-                mainJarExcludes = excludes.toArray(new String[excludes.size()]);
+                mainJarExcludes = excludes.toArray( new String[excludes.size()] );
             }
 
             if ( !outputDirectory.exists() )

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.