首页 > 其他 > 详细

Maven ear pom

时间:2016-04-27 18:38:59      阅读:105      评论:0      收藏:0      [点我收藏+]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <parent>  
        <groupId>com.test.bbsfe</groupId>
        <artifactId>bbsfe-buildaggregate-ide</artifactId>
        <version>1.0.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>HHHH_bbs_EAR</artifactId>
    <version>${project.version}</version>
    <name>HHHH_bbs_EAR</name>
    <packaging>ear</packaging>

    <dependencies>

        <dependency>
            <groupId>com.test.bbsfe</groupId>
            <artifactId>HHHH_SVR</artifactId>
            <version>${project.version}</version>
            <type>war</type>
        </dependency>

        <dependency>
            <groupId>com.test.bbsfe</groupId>
            <artifactId>bbs_Common_Web</artifactId>
            <version>${project.version}</version>
            <type>war</type>
        </dependency>
        
        <dependency>
            <groupId>com.test.bbsfe</groupId>
            <artifactId>PreCap_Common_Web</artifactId>
            <version>${project.version}</version>
            <type>war</type>
        </dependency>
        
        <dependency>
            <groupId>com.test.bbsfe</groupId>
            <artifactId>SVR_CBT</artifactId>
            <version>${project.version}</version>
            <type>war</type>
        </dependency>

    </dependencies>
    
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-ear-plugin</artifactId>
                <configuration>
                    <packagingIncludes>META-INF/**</packagingIncludes>
                    
                    <modules>
                        <webModule>
                            <groupId>com.test.bbsfe</groupId>
                            <artifactId>HHHH_SVR</artifactId>
                            <bundleFileName>HHHH_SVR.war</bundleFileName>
                            <contextRoot>SVR/SVR_EJ</contextRoot>
                        </webModule>
                        <webModule>
                            <groupId>com.test.bbsfe</groupId>
                            <artifactId>bbs_Common_Web</artifactId>
                            <bundleFileName>bbs_Common_Web.war</bundleFileName>
                            <contextRoot>SVR/SVR_bbs</contextRoot>
                        </webModule>
                        <webModule>
                            <groupId>com.test.bbsfe</groupId>
                            <artifactId>PreCap_Common_Web</artifactId>
                            <bundleFileName>PreCap_Common_Web.war</bundleFileName>
                            <contextRoot>SVR/bbs_PRECAP</contextRoot>
                        </webModule>
                        <webModule>
                            <groupId>com.test.bbsfe</groupId>
                            <artifactId>SVR_CBT</artifactId>
                            <bundleFileName>SVR_CBT.war</bundleFileName>
                            <contextRoot>SVR/SVR_CBT</contextRoot>
                        </webModule>
                    </modules>
                    
                    <security>
                        <security-role id="SecurityRole_1460361348454">
                            <description>Authenticated_user</description>
                            <role-name>Authenticated</role-name>
                        </security-role>
                    </security>
                    <earSourceDirectory>${basedir}</earSourceDirectory>
                    <earSourceIncludes>**/META-INF/ibm-application-bnd.xmi</earSourceIncludes>
                </configuration>
                

            </plugin>
        </plugins>
    </build>



</project>

 

Maven ear pom

原文:http://www.cnblogs.com/wayhow/p/5439618.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!