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

sgoeschl pushed a commit to branch FREEMARKER-188
in repository https://gitbox.apache.org/repos/asf/freemarker-generator.git


The following commit(s) were added to refs/heads/FREEMARKER-188 by this push:
     new 8513ce4  FREEMARKER-188 Cleanup code
8513ce4 is described below

commit 8513ce4e741308018088ab7c3afb8a8d5963abb9
Author: Siegfried Goeschl <[email protected]>
AuthorDate: Wed Sep 8 23:24:09 2021 +0200

    FREEMARKER-188 Cleanup code
---
 freemarker-generator-cli/pom.xml | 6 +++++-
 pom.xml                          | 8 ++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/freemarker-generator-cli/pom.xml b/freemarker-generator-cli/pom.xml
index 4984b36..8ad0df4 100644
--- a/freemarker-generator-cli/pom.xml
+++ b/freemarker-generator-cli/pom.xml
@@ -46,7 +46,11 @@
                 <configuration>
                     <repositoryLayout>flat</repositoryLayout>
                     <repositoryName>lib</repositoryName>
-                    <extraJvmArguments>-Xms64m -Xmx512m</extraJvmArguments>
+                    <!--
+                        See 
https://ryanharrison.co.uk/2018/04/29/faster-java-startup-time.html
+                        "-Xverify:none -XX:TieredStopAtLevel=1" improves 
startup time by 40%
+                     -->
+                    <extraJvmArguments>-Xms64m -Xmx512m -Xverify:none 
-XX:TieredStopAtLevel=1</extraJvmArguments>
                     <endorsedDir>endorsed</endorsedDir>
                     <useWildcardClassPath>true</useWildcardClassPath>
                     <configurationDirectory>config</configurationDirectory>
diff --git a/pom.xml b/pom.xml
index 6971df0..6d71dfb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -162,6 +162,10 @@
                     <version>3.12.0</version>
                 </plugin>
                 <plugin>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>3.0.0-M5</version>
+                </plugin>
+                <plugin>
                     <!-- Required by custom Maven skin -->
                     <artifactId>maven-site-plugin</artifactId>
                     <version>3.8.2</version>
@@ -218,6 +222,10 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-pmd-plugin</artifactId>
                 <configuration>
                     <linkXRef>false</linkXRef>

Reply via email to