<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - EasyBeans
  - Copyright (C) 2008 Bull S.A.S.
  - Contact: easybeans@ow2.org
  -
  - This library 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 library 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 library; if not, write to the Free Software
  - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id: pom.xml 5666 2010-11-04 18:03:57Z benoitf $
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->

<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>org.ow2.easybeans</groupId>
    <artifactId>easybeans-uberjar</artifactId>
    <version>1.2.0-M3</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.ow2.easybeans</groupId>
  <artifactId>easybeans-uberjar-eclipselink</artifactId>
  <packaging>pom</packaging>
  <name>EasyBeans: Assembly :: EE :: UberJar :: EclipseLink</name>


  <!-- Add the EclipseLink dependency for this RAR -->
  <dependencies>
  
  
        <dependency>
        <groupId>org.ow2.spec.ee</groupId>
        <artifactId>ow2-jpa-2.0-spec</artifactId>
      </dependency>
      
    <dependency>
      <groupId>org.ow2.easybeans</groupId>
      <artifactId>easybeans-jpa-eclipselink-dependency</artifactId>
      <version>${project.version}</version>
      <type>pom</type>
    </dependency>

    <!-- Set EclipseLink as default persistence provider -->
    <dependency>
      <groupId>org.ow2.easybeans</groupId>
      <artifactId>easybeans-jpa-default-eclipselink</artifactId>
      <version>${project.version}</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <descriptors>
            <descriptor>../src/main/assembly/assembly.xml</descriptor>
          </descriptors>
          <archive>
          <manifestEntries>
              <Implementation-Version>${project.version}</Implementation-Version>
              <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
              <Main-Class>org.ow2.easybeans.server.EasyBeans</Main-Class>
          </manifestEntries>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
