<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, a division of Red Hat
  ~ Copyright 2011, Red Hat Middleware, LLC, and individual
  ~ contributors as indicated by the @authors tag. See the
  ~ copyright.txt in the distribution for a full listing of
  ~ individual contributors.
  ~
  ~ This is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ Lesser General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public
  ~ License along with this software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->

<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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
      <artifactId>gatein-wsrp-integration-parent</artifactId>
      <groupId>org.gatein.integration</groupId>
      <version>3.2.7-PLF</version>
   </parent>

   <artifactId>extension-ear</artifactId>
   <packaging>ear</packaging>

   <name>GateIn WSRP Integration extension EAR</name>

   <dependencies>
      <dependency>
         <groupId>org.gatein.integration</groupId>
         <artifactId>extension-config</artifactId>
         <version>${project.version}</version>
      </dependency>
      <dependency>
         <groupId>org.gatein.integration</groupId>
         <artifactId>extension-war</artifactId>
         <version>${project.version}</version>
         <type>war</type>
      </dependency>
      <dependency>
         <groupId>org.gatein.integration</groupId>
         <artifactId>extension-component</artifactId>
         <version>${project.version}</version>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-admin-gui</artifactId>
         <version>${org.gatein.wsrp.version}</version>
         <type>war</type>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-producer</artifactId>
         <version>${org.gatein.wsrp.version}</version>
         <type>war</type>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-producer-lib</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-consumer</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-jcr-impl</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-common</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-wsrp1-ws</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-wsrp2-ws</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-integration-api</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-wss-jboss5</artifactId>
      </dependency>
      <dependency>
         <groupId>org.gatein.wsrp</groupId>
         <artifactId>wsrp-wss</artifactId>
      </dependency>
   </dependencies>

   <build>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.6</source>
               <target>1.6</target>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-ear-plugin</artifactId>
            <configuration>
               <displayName>gatein-wsrp-integration</displayName>
               <defaultLibBundleDir>lib</defaultLibBundleDir>
               <modules>
                  <webModule>
                     <groupId>org.gatein.integration</groupId>
                     <artifactId>extension-war</artifactId>
                     <contextRoot>gatein-wsrp-integration</contextRoot>
                  </webModule>
                  <webModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-producer</artifactId>
                     <contextRoot>wsrp-producer</contextRoot>
                  </webModule>
                  <webModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-admin-gui</artifactId>
                     <contextRoot>wsrp-admin-gui</contextRoot>
                  </webModule>
                  <jarModule>
                     <groupId>org.gatein.integration</groupId>
                     <artifactId>extension-config</artifactId>
                     <includeInApplicationXml>true</includeInApplicationXml>
                     <bundleDir>/</bundleDir>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.integration</groupId>
                     <artifactId>extension-component</artifactId>
                     <includeInApplicationXml>true</includeInApplicationXml>
                     <bundleDir>/</bundleDir>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-producer-lib</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-consumer</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-jcr-impl</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-common</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-wsrp1-ws</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-wsrp2-ws</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-integration-api</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-wss-jboss5</artifactId>
                  </jarModule>
                  <jarModule>
                     <groupId>org.gatein.wsrp</groupId>
                     <artifactId>wsrp-wss</artifactId>
                  </jarModule>
               </modules>
            </configuration>
         </plugin>
      </plugins>
      <!--<finalName>gatein-wsrp-integration</finalName>-->
   </build>

</project>
