码迷,mamicode.com
首页 > 其他好文 > 详细

Maven ear pom

时间:2016-04-27 18:40:28      阅读:138      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!