在linux服务器装了个maven,打jar包(不是在eclipse上)
错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project DbMonitor: Compilation failure: Compilation failure:
[ERROR] /opt/app/cs/DbMonitor/src/main/java/com/travelsky/dbmonitor/service/impl/FlightPriceForCCTVSVC.java:[13,16] package org.junit does not exist
这是怎么回事,我用的指令mvn -e install -Dmaven.test.skip=true,按里说已经跳过了test,但还是package org.junit does not exist,所以我认为是Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2的问题,但不知怎办,从新下载库也不行,还有就是如果打war包的工程,就没有问题,打jar包就不行,这打war与jar,在maven层面上有什么不用(除了工程自己的配置文件),急求!!!