maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject maven-surefire git commit: [SUREFIRE-757] Project encoding properties is not checked
Date Thu, 27 Nov 2014 21:46:15 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master eb4cd692d -> c0373af58


[SUREFIRE-757] Project encoding properties is not checked


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/c0373af5
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/c0373af5
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/c0373af5

Branch: refs/heads/master
Commit: c0373af589b2387a6521c3603d6943a9400459c4
Parents: eb4cd69
Author: tibordigana <tibor17@lycos.com>
Authored: Sat Nov 22 21:50:22 2014 +0100
Committer: tibordigana <tibor17@lycos.com>
Committed: Thu Nov 27 22:45:29 2014 +0100

----------------------------------------------------------------------
 .../org/apache/maven/plugin/failsafe/IntegrationTestMojo.java     | 3 ++-
 .../main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c0373af5/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
----------------------------------------------------------------------
diff --git a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
index 2d20f93..8d64bcb 100644
--- a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
+++ b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
@@ -307,7 +307,8 @@ public class IntegrationTestMojo
         if ( StringUtils.isEmpty( encoding ) )
         {
             getLog().warn( "File encoding has not been set, using platform encoding " + ReaderFactory.FILE_ENCODING
-                           + ", i.e. build is platform dependent!" );
+                           + ", i.e. build is platform dependent! The character encoding
for reports output files "
+                               + "should be referenced by POM property ${project.reporting.outputEncoding}."
);
             return ReaderFactory.FILE_ENCODING;
         }
         else

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c0373af5/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
----------------------------------------------------------------------
diff --git a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
index f9abed0..50d289d 100644
--- a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
+++ b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
@@ -162,7 +162,8 @@ public class VerifyMojo
                 {
                     getLog().warn(
                         "File encoding has not been set, using platform encoding " + ReaderFactory.FILE_ENCODING
-                            + ", i.e. build is platform dependent!" );
+                            + ", i.e. build is platform dependent! The character encoding
for reports output files "
+                            + "should be referenced by POM property ${project.reporting.outputEncoding}."
);
                     encoding = ReaderFactory.FILE_ENCODING;
                 }
                 else


Mime
View raw message