[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ModuleTest
[INFO] Module_db1
[INFO] Module_db2
[INFO] Module_war
[INFO] MonEAR
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ModuleTest 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ModuleTest ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Module_db1 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Module_db1 ---
[INFO] Deleting C:\work\workspaceTest\Module_db1\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Module_db1 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Module_db1 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\work\workspaceTest\Module_db1\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Module_db1 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\work\workspaceTest\Module_db1\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Module_db1 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ Module_db1 ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ Module_db1 ---
[INFO] Building jar: C:\work\workspaceTest\Module_db1\target\Module_db1-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Module_db2 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Module_db2 ---
[INFO] Deleting C:\work\workspaceTest\Module_db2\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Module_db2 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Module_db2 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\work\workspaceTest\Module_db2\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Module_db2 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\work\workspaceTest\Module_db2\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Module_db2 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ Module_db2 ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ Module_db2 ---
[INFO] Building jar: C:\work\workspaceTest\Module_db2\target\Module_db2-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Module_war 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Module_war ---
[INFO] Deleting C:\work\workspaceTest\Module_war\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Module_war ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Module_war ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\work\workspaceTest\Module_war\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[6,21] package com.test.mod1 does not exist
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[13,17] cannot find symbol
symbol: class ClMod1
location: class com.test.war.ClWar
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[6,21] package com.test.mod1 does not exist
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[13,17] cannot find symbol
symbol: class ClMod1
location: class com.test.war.ClWar
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[13,34] cannot find symbol
symbol: class ClMod1
location: class com.test.war.ClWar
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ModuleTest ........................................ SUCCESS [ 0.172 s]
[INFO] Module_db1 ........................................ SUCCESS [ 1.515 s]
[INFO] Module_db2 ........................................ SUCCESS [ 0.235 s]
[INFO] Module_war ........................................ FAILURE [ 1.187 s]
[INFO] MonEAR ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.312 s
[INFO] Finished at: 2014-04-28T15:44:03+01:00
[INFO] Final Memory: 22M/53M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Module_war: Compilation failure: Compilation failure:
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[6,21] package com.test.mod1 does not exist
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[13,17] cannot find symbol
[ERROR] symbol: class ClMod1
[ERROR] location: class com.test.war.ClWar
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[6,21] package com.test.mod1 does not exist
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[13,17] cannot find symbol
[ERROR] symbol: class ClMod1
[ERROR] location: class com.test.war.ClWar
[ERROR] /C:/work/workspaceTest/Module_war/src/main/com/test/war/ClWar.java:[13,34] cannot find symbol
[ERROR] symbol: class ClMod1
[ERROR] location: class com.test.war.ClWar
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/d...ilureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :Module_war