You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/05/18 23:21:45 UTC

svn commit: r1595693 - /logging/log4j/log4j2/trunk/pom.xml

Author: mattsicker
Date: Sun May 18 21:21:45 2014
New Revision: 1595693

URL: http://svn.apache.org/r1595693
Log:
Copy surefire configs to failsafe as well.

  - Also specify UTF-8 encoding for a few plugins that always complain about the lack of a specific setting.

Modified:
    logging/log4j/log4j2/trunk/pom.xml

Modified: logging/log4j/log4j2/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/pom.xml?rev=1595693&r1=1595692&r2=1595693&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/pom.xml (original)
+++ logging/log4j/log4j2/trunk/pom.xml Sun May 18 21:21:45 2014
@@ -661,6 +661,7 @@
             <target>${maven.compile.target}</target>
             <showDeprecation>true</showDeprecation>
             <showWarnings>true</showWarnings>
+            <encoding>UTF-8</encoding>
           </configuration>
         </plugin>
       </plugins>
@@ -683,6 +684,7 @@
             <Xmaxwarns>10000</Xmaxwarns>
             <Xlint />
           </compilerArguments>
+          <encoding>UTF-8</encoding>
         </configuration>
       </plugin>
       <plugin>
@@ -765,6 +767,15 @@
             </goals>
           </execution>
         </executions>
+        <configuration>
+          <systemPropertyVariables>
+            <java.awt.headless>true</java.awt.headless>
+          </systemPropertyVariables>
+          <argLine>-Xms256m -Xmx1024m</argLine>
+          <forkCount>1</forkCount>
+          <reuseForks>false</reuseForks>
+          <encoding>UTF-8</encoding>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -972,6 +983,12 @@
                         <argLine>-server</argLine>
                     </configuration>
                 </plugin>
+              <plugin>
+                <artifactId>maven-failsafe-plugin</artifactId>
+                <configuration>
+                  <argLine>-server</argLine>
+                </configuration>
+              </plugin>
             </plugins>
         </build>
     </profile>
@@ -1125,6 +1142,12 @@
               <argLine>-agentpath:"${yourkit.home}/bin/mac/libyjpagent.jnilib"</argLine>
             </configuration>
           </plugin>
+          <plugin>
+            <artifactId>maven-failsafe-plugin</artifactId>
+            <configuration>
+              <argLine>-agentpath:"${yourkit.home}/bin/mac/libyjpagent.jnilib"</argLine>
+            </configuration>
+          </plugin>
         </plugins>
       </build>
     </profile>
@@ -1141,6 +1164,12 @@
               <argLine>-XX:MaxPermSize=512m</argLine>
             </configuration>
           </plugin>
+          <plugin>
+            <artifactId>maven-failsafe-plugin</artifactId>
+            <configuration>
+              <argLine>-XX:MaxPermSize=512m</argLine>
+            </configuration>
+          </plugin>
         </plugins>
       </build>
     </profile>