posts - 11,  comments - 18,  trackbacks - 0
使用continuum 构建项目,构建成功.
[INFO] BUILD SUCCESSFUL

但是我到E:\apache-continuum-1.1\continuum-1.1\apps\continuum\webapp\WEB-INF\working-directory\30\target
下面查看continuum构建完之后的war包

.war\WEB-INF\classes文件夹里没有class文件,只有properties和xml配置文件
posted on 2008-08-26 09:14 dd.zhang 阅读(1115) 评论(2)  编辑  收藏

FeedBack:
# re: apache continuum build maven2 项目 无法编译class
2008-08-26 13:32 | ∪∩BUG
问个弱弱的问题,你配置JDK了吗?如果配置了还不行,你重新配置JDK看看..  回复  更多评论
  
# re: apache continuum build maven2 项目 无法编译class
2008-08-27 09:06 | dd.zhang
我知道问题原因了.

是maven webapp引用默认src目录是/src/main/resources

而且continuum在进行编译的时候不能识别pom.xml里的resources directory
使用的是maven默认的/src/main/java
所以我把directory改成/src/main/java就好了
<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
</resource>
</resources>

  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航:
 
<2008年8月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

常用链接

留言簿(1)

随笔档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜