开发者

Build Process failed with maven package

I am working on a maven project to build a simpl开发者_运维技巧e utility api. The same source code when build on my office win XP machine, was successful. Now i am at home and working with same source code on CentOS machine. Here the build process failed strangely. The error it reports is ideally in my points should we warning message. As shown below.

[ERROR] com.vsd.Provider:[12,240] The import java.util.Set is never used

Can you please give me some idea, where can I look into?


It's hard to say without seeing your POM but the error reported looks like a violation of the Checkstyle rule UnusedImports (or something equivalent). Maybe this verification is triggered because of a setting defined in a profile that is not activated on your CentOS machine (as I said, hard to say). Anyway, to fix it, remove the unused import.


The problem was with the plug in being used to compile, It was a bug a shown below.

http://jira.codehaus.org/browse/MCOMPILER-118

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜