构建工具研究:该死的Maven的j2me构建

毫无疑问的...先从http://maven.apache.org/下载了Maven,当然是下zip版本的

然后,打开环境变量,把PATH里的内容中COPY出来,加个分号,再加上D:\Maven\Bin,再配置JAVA_HOME变量为JDK所在,文档上写的是1.5的,我用的1.4的,管它的,出了问题再说吧.

听说http://maven-antenna.berlios.de/处有一个j2me工具,是Maven的插件,研究看看先.结果发现,应该最终还是要用antenna这玩意,看了一眼大小,心中巨寒,还是不看源码了,直接下jar用.这玩意是ant用的,不知道在maven下怎么用.

http://osgirepo.berlios.de/repository/maven/plugins/中看到有osgi与antenna的区别,另外还有SNAPSHOT与bundle,不知道都是干嘛用的,晕死,先下http://osgirepo.berlios.de/repository/maven/plugins/maven-antenna-plugin-1.0.2.jar,俺就是喜欢高版本的,下载高版本的应该没错.

下了后,看了下文档,要把这个jar弄到maven下的plugin目录中,尤其旁边还有一句:
"Copy the jar file into the maven plugins directory (e.g. maven-1.0/plugins, not the .maven/plugins). "
此时产生一个巨汗的问题,plugin目录在哪里?自己建一个?

狂晕,换思路,找了一下,在http://repository.atlassian.com/atlassian-idea-plugin/distributions/找到了Intellij的插件,先研究这个.

原文地址:https://www.cnblogs.com/William_Fire/p/397691.html