db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1631354 - /db/torque/torque4/trunk/torque-maven-plugin/src/main/java/org/apache/torque/generator/maven/TorqueGeneratorMojo.java
Date Mon, 13 Oct 2014 11:44:12 GMT
Author: tfischer
Date: Mon Oct 13 11:44:11 2014
New Revision: 1631354

URL: http://svn.apache.org/r1631354
Log:
fix annotations for defaultOutputDirUsage parameter

Modified:
    db/torque/torque4/trunk/torque-maven-plugin/src/main/java/org/apache/torque/generator/maven/TorqueGeneratorMojo.java

Modified: db/torque/torque4/trunk/torque-maven-plugin/src/main/java/org/apache/torque/generator/maven/TorqueGeneratorMojo.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-maven-plugin/src/main/java/org/apache/torque/generator/maven/TorqueGeneratorMojo.java?rev=1631354&r1=1631353&r2=1631354&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-maven-plugin/src/main/java/org/apache/torque/generator/maven/TorqueGeneratorMojo.java
(original)
+++ db/torque/torque4/trunk/torque-maven-plugin/src/main/java/org/apache/torque/generator/maven/TorqueGeneratorMojo.java
Mon Oct 13 11:44:11 2014
@@ -268,13 +268,13 @@ public class TorqueGeneratorMojo extends
      * Possible values are:
      * <ul>
      *   <li>
-     *     compile: The generated files are treated as compileable sources.
+     *     compile: The default value.
+     *     The generated files are treated as compileable sources.
      *     In maven-speak, this means the newFileTargetDir will be added as
      *     compileSourceRoot of the maven project.
      *   </li>
      *   <li>
-     *     test-compile: The generated files are treated as compileable
-     *     test sources.
+     *     test-compile: The generated files are treated as compileable test sources.
      *     In maven-speak, this means the newFileTargetDir will be added as
      *     testCompileSourceRoot of the maven project.
      *   </li>
@@ -292,10 +292,9 @@ public class TorqueGeneratorMojo extends
      *     none: The generated files are not used in the maven build.
      *   </li>
      *
-     * @parameter expression="compile"
-     * @required
+     * @parameter
      */
-    private String defaultOutputDirUsage;
+    private String defaultOutputDirUsage = "compile";
 
     /**
      * What to do with the generated files for the output directories
@@ -330,8 +329,7 @@ public class TorqueGeneratorMojo extends
      *
      * @parameter
      */
-    private Map<String, String> outputDirUsageMap
-            = new HashMap<String, String>();
+    private Map<String, String> outputDirUsageMap = new HashMap<String, String>();
 
     /**
      * The config directory of the project overriding the settings.



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message