Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:Maven2 multi-modules project的问题 [Re:caike]
LoriSUN





发贴: 1
积分: 0
于 2007-10-19 09:17 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
模块之间可以继承, 由上向下依次setup.当然首先要 安装好maven环境,指定好repository. 然后在最顶层的pom.xml 所在目录执行cmd> mvn clean install 进行编译 打包,其中需要使用mvn plugin,详细配置去官方网站看一下就可以了。

e.g
parent pom.xml---------------------------------->
<project>
  <modelVersion>4.0.0</modelVersion>
<!--parent information -->
  <parent>
    <groupId>groupId</groupId>
    <artifactId>artifactId</artifactId>
    <version>2.0_B0</version>
  </parent>
  <groupId>groupId.common</groupId>
  <artifactId>common</artifactId>  
  <packaging>pom</packaging>
  <name> Common</name>
  <modules>
    <module>../citi-gpb-common-comm</module>
  </modules>
  </project>
child pom.xml--------------------------------------------->
<project>
  <parent>
   <artifactId>common</artifactId>
    <groupId>groupId.common</groupId>
    <version>2.0_B0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>common-comm</artifactId>
  <name>Common - Communication Wrapper API</name>
  <description>Infrastructure for using JMS</description>
  <!--packaging mode: jar war pom -->
<packaging>jar</packaging>
  <dependencies>

</dependencies>
</project>
-------------------------------------------------





话题树型展开
人气 标题 作者 字数 发贴时间
9352 Maven2 multi-modules project的问题 caike 252 2007-08-24 22:27
7522 Re:Maven2 multi-modules project的问题 LoriSUN 1213 2007-10-19 09:17

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923