<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - EasyBeans
  - Copyright (C) 2007-2009 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>
    <artifactId>easybeans</artifactId>
    <groupId>org.ow2.easybeans</groupId>
    <version>1.1.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.ow2.easybeans.osgi</groupId>
  <artifactId>easybeans-osgi</artifactId>
  <packaging>pom</packaging>
  <name>EasyBeans/OSGi</name>
  <version>1.1.1</version>

  <properties>
    <ow2-bundle.version>1.0.18</ow2-bundle.version>
    <felix.dm.version>2.0.1</felix.dm.version>
    <!-- Maven-bundle-plugin is not working properly with maven-buildnumber-plugin -->
    <buildNumber>0</buildNumber>
  </properties>

  <scm>
    <connection>scm:svn:svn:://svn.forge.objectweb.org/svnroot/easybeans/tags/EASYBEANS_OSGI_1_1_1</connection>
    <developerConnection>scm:svn:svn+ssh://benoitf@svn.forge.objectweb.org/svnroot/easybeans/tags/EASYBEANS_OSGI_1_1_1</developerConnection>
    <url>http://fisheye.easybeans.org/browse/EasyBeans/tags/easybeans-osgi/EASYBEANS_OSGI_1_1_1</url>
  </scm>
  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
      </resource>
    </resources>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>1.4.0</version>
        </plugin>
        <plugin>
          <groupId>org.ow2.util.maven</groupId>
          <artifactId>
            maven-osgi-plugin-launcher-core
          </artifactId>
          <version>${ow2-util.version}</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <projectNameTemplate>[artifactId]-osgi</projectNameTemplate>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <modules>
    <module>annotations</module>
    <module>api</module>
    <module>agent</module>
    <module>client</module>
    <module>core</module>
    <module>core.bundle</module>
    <module>core.for.jonas</module>
    <module>components</module>
    <module>examples</module>
    <module>assembly</module>
    <module>itests</module>
  </modules>
  <repositories>
    <repository>
      <releases />
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>objectweb</id>
      <name>Objectweb repository</name>
      <url>http://maven.objectweb.org/maven2</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases>
        <enabled>false</enabled>
      </releases>
      <id>apache.snapshots</id>
      <name>Apache Snapshot Repository</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
    </pluginRepository>
  </pluginRepositories>

  <dependencies>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.core</artifactId>
      <version>1.2.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <version>1.2.0</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <dependencyManagement>
    <dependencies>
       <!-- Use the previous version of JDBC pool component as the last one has problems with Proxies and XAResource API -->
       <dependency>
         <groupId>org.ow2.easybeans</groupId>
         <artifactId>easybeans-component-jdbcpool</artifactId>
        <version>1.0.0.RC2</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.framework</artifactId>
        <version>1.4.1</version>
      </dependency>
      <dependency>
        <groupId>org.eclipse</groupId>
        <artifactId>osgi</artifactId>
        <version>3.3.0-v20070530</version>
      </dependency>
      <dependency>
        <groupId>org.knopflerfish</groupId>
        <artifactId>knopflerfish-framework</artifactId>
        <version>2.2.0</version>
      </dependency>
      <dependency>
        <groupId>org.ow2.util</groupId>
        <artifactId>util-execution</artifactId>
        <version>${ow2-util.version}</version>
      </dependency>
      <dependency>
        <groupId>org.ow2.util</groupId>
        <artifactId>util-xml</artifactId>
        <version>${ow2-util.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.log</artifactId>
        <version>1.0.0</version>
      </dependency>
      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-plugin-api</artifactId>
        <version>2.0.7</version>
      </dependency>
      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-project</artifactId>
        <version>2.0.7</version>
      </dependency>
      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-artifact</artifactId>
        <version>2.0.7</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
</project>
