Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - EasyBeans
  - Copyright (C) 2007 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 5612 2010-10-04 14:13:02Z 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.osgi</groupId>
    <artifactId>easybeans-core-for-jonas</artifactId>
    <version>1.1.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>easybeans-core-for-jonas-eclipselink</artifactId>
  <packaging>bundle</packaging>
  <name>EasyBeans/OSGi :: Core For JOnAS :: EclipseLink</name>
  <description>Easybeans OSGi Core bundle</description>
  <repositories>
    <repository>
      <id>eclipse</id>
      <name>EclipseLink repository</name>
      <url><![CDATA[http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo]]></url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
  </repositories>

 <build>
    <plugins>
     <plugin>
         <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.5</source>
               <target>1.5</target>
            </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Bundle-SymbolicName>org.ow2.easybeans.core.for.jonas.eclipselink</Bundle-SymbolicName>
            <Private-Package><![CDATA[
              org.ow2.easybeans.osgi.*,
              org.ow2.easybeans.asm.*,
              org.eclipse.persistence.internal.jpa.deployment;-split-package:=first
              ]]>
            </Private-Package>
            <Embed-StripGroup>true</Embed-StripGroup>
            <Embed-Directory>dependencies</Embed-Directory>
            <Embed-Dependency>*;scope=compile|runtime;inline=true;artifactId=!eclipselink</Embed-Dependency>
            <Import-Package><![CDATA[
                     javax.naming,
                     javax.ejb,
                     javax.jms,
                     javax.activation,
                     javax.mail.*,
                     org.w3c.dom,
                     javax.xml.parsers,
                     javax.xml.transform,
                     org.xml.sax,
                     javax.management.remote,
                     javax.management,
                     javax.transaction,
                     javax.security.jacc,
                     org.apache.commons.collections.*,
                     org.apache.commons.modeler.*,
                     org.slf4j.*,
                     org.ow2.easybeans.*,
                     org.ow2.easybeans.resolver.api,
                     org.ow2.easybeans.rpc.api,
                     org.ow2.util.ee.metadata.*,
                     org.ow2.util.archive.*,
                     org.ow2.util.event.*,
                     org.ow2.util.jmx.*,
                     org.ow2.util.scan.*,
                     org.ow2.util.pool.*,
                     org.ow2.util.marshalling.*,
                     org.ow2.util.xml,
                     org.ow2.util.xmlconfig.*
             ]]>
            </Import-Package>
            <DynamicImport-Package>*</DynamicImport-Package>
            <Export-Package><![CDATA[
                org.eclipse.persistence.*;-split-package:=merge-first,
                xsd.*,
                commonj.sdo.*
                ]]></Export-Package>
            <_exportcontents><![CDATA[
                     org.ow2.easybeans.client.*,
                     org.ow2.easybeans.component.*,
                     org.ow2.easybeans.container.*,
                     org.ow2.easybeans.deployable.*,
                     org.ow2.easybeans.deployer.*,
                     org.ow2.easybeans.enhancer.*,
                     org.ow2.easybeans.event.naming,
                     org.ow2.easybeans.injection.*,
                     org.ow2.easybeans.jca.*,
                     org.ow2.easybeans.jmx.*,
                     org.ow2.easybeans.jsr77.*,
                     org.ow2.easybeans.loader.*,
                     org.ow2.easybeans.management.*,
                     org.ow2.easybeans.naming.*,
                     org.ow2.easybeans.osgi.annotation,
                     org.ow2.easybeans.osgi.core,
                     org.ow2.easybeans.osgi.ejbjar,
                     org.ow2.easybeans.osgi.component,
                     org.ow2.easybeans.osgi.configuration,
                     org.ow2.easybeans.osgi.extension,
                     org.ow2.easybeans.osgi.archive,
                     org.ow2.easybeans.osgi.util,
                     org.ow2.easybeans.osgi.handler,
                     org.ow2.easybeans.persistence.*,
                     org.ow2.easybeans.proxy.*,
                     org.ow2.easybeans.resolver,
                     org.ow2.easybeans.rpc,
                     org.ow2.easybeans.rpc.rmi.*,
                     org.ow2.easybeans.rpc.util.*,
                     org.ow2.easybeans.server.*,
                     org.ow2.easybeans.security.*,
                     org.ow2.easybeans.statistic.*,
                     org.ow2.easybeans.transaction.*,
                     org.ow2.easybeans.util.*,
                     org.ow2.easybeans.deployment.*,
                     antlr.*,
                     org.dom4j.*,
                     org.eclipse.persistence.*,
                     commonj.sdo.*,
                     xsd.*]]>
            </_exportcontents>
            <Implementation-Version>${project.version}</Implementation-Version>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>

    <!-- Eclipselink non OSGi -->
    <dependency>
      <groupId>org.eclipse.persistence</groupId>
      <artifactId>eclipselink</artifactId>
      <version>1.0.1</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.easybeans</groupId>
      <artifactId>easybeans-jpa-eclipselink-glue</artifactId>
      <version>${easybeans.version}</version>
    </dependency>

    <!-- Default persistence provider to use if no one is provided by the user -->
    <dependency>
      <groupId>org.ow2.easybeans</groupId>
      <artifactId>easybeans-jpa-default-eclipselink</artifactId>
      <version>${easybeans.version}</version>
    </dependency>


  </dependencies>
</project>
New to GrepCode? Check out our FAQ X