D:\example-projects\equal-method-client>mvn compile
Listening for transport dt_socket at address: 8000
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building equal-method-client 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ equal-method-client ---
[debug] execute contextualize
[INFO] skip non existing resourceDirectory D:\example-projects\equal-method-client\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ equal-method-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to D:\example-projects\equal-method-client\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 'equals' method must be overridden for the class implementing com.logicbig.example.Data.
Error class: com.logicbig.example.DataB
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.150s
[INFO] Finished at: Tue Dec 29 21:33:45 CST 2015
[INFO] Final Memory: 12M/245M
[INFO] ------------------------------------------------------------------------