Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: jalopy
-
Labels:None
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
I wish jalopy-maven-plugin could know how many source files were formatted, just like the jalopy ant task.Now jalopy-maven-plugn could just show which source file was formatted, but couldn't know which source file is skip by its history check. Because both of way would return Jalopy.State.OK. But when Jalopy skip a source file for history checking, the jalopy.format() method will return false, so we could know how many source file is actually formatted. The log message looks like this:
[INFO] [jalopy:format
{execution: format-java-sources}]
[INFO] Format 30 source files
[INFO] D:\dbdeploy\maven\src\main\java\net\sf\dbdeploy\ConsolidatedChangeScriptWriter.java formatted correctly.
[INFO] 1 source file formatted
[INFO] Format 8 source files
[INFO] 0 source files formatted