You're right, that's better.

On 12/09/2016 17:56, Sergiu Dumitriu wrote:
Why not put this in the parent pom, so it also affects, the other modules?

On Sep 12, 2016 7:50 AM, <cbris...@apache.org> wrote:

Author: cbrisson
Date: Mon Sep 12 11:49:56 2016
New Revision: 1760339

URL: http://svn.apache.org/viewvc?rev=1760339&view=rev
Log:
have explicit debug/optimize/loglevel flags in maven pom

Modified:
     velocity/engine/trunk/velocity-engine-core/pom.xml

Modified: velocity/engine/trunk/velocity-engine-core/pom.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/
velocity-engine-core/pom.xml?rev=1760339&r1=1760338&r2=1760339&view=diff
============================================================
==================
--- velocity/engine/trunk/velocity-engine-core/pom.xml (original)
+++ velocity/engine/trunk/velocity-engine-core/pom.xml Mon Sep 12
11:49:56 2016
@@ -41,6 +41,18 @@
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <debug>false</debug>
+          <optimize>true</optimize>
+          <showDeprecation>true</showDeprecation>
+          <showWarning>true</showWarning>
+          <source>1.7</source>
+          <target>1.7</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.4.3</version>
          <configuration>
@@ -104,6 +116,10 @@
                <name>test.result.dir</name>
                <value>${project.build.directory}/results</value>
              </property>
+            <property>
+              <name>org.slf4j.simpleLogger.defaultLogLevel</name>
+              <value>warn</value>
+            </property>
            </systemProperties>
          </configuration>
          <executions>





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to