[NPANDAY-614] allow extra arguments to be specified

git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1584533 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java b/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
index ff90d9b..cbec840 100644
--- a/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
+++ b/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
@@ -50,6 +50,11 @@
     private String settingsPath;
 
     /**
+     * @parameter
+     */
+    private List<String> extraArgs;
+
+    /**
      * @component
      */
     private RepositoryRegistry repositoryRegistry;
@@ -187,7 +192,12 @@
         else
         {
         	commands.add( resourceDirectory + File.separator + getFileNameMinusExtension(sourceFile) + ".resources"   );                               
-        }       
+        }
+
+        if (extraArgs != null) {
+            commands.addAll( extraArgs );
+        }
+
         return commands;
     }