<?xml version="1.0"?>
<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.jruby</groupId>
    <artifactId>shared</artifactId>
    <version>1.6.8</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>jruby-common</artifactId>
  <packaging>pom</packaging>
  <name>JRuby Common</name>

  <properties>
    <jar.scope>provided</jar.scope>
    <asm.version>3.3.1</asm.version>
  </properties>

  <dependencies>
    <!-- ASM comes with our source, and is included in the jar, but is rewritten to
         a jruby-specific package to avoid conflicts. -->
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm</artifactId>
      <version>${asm.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm-commons</artifactId>
      <version>${asm.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm-util</artifactId>
      <version>${asm.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm-analysis</artifactId>
      <version>${asm.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm-tree</artifactId>
      <version>${asm.version}</version>
      <scope>provided</scope>
    </dependency>
    </dependencies>
    <dependencyManagement>
      <dependencies>
    <!-- JRuby dependencies included in the jar and *not* rewritten. -->
    <dependency>
      <groupId>org.jruby.joni</groupId>
      <artifactId>joni</artifactId>
      <version>1.1.7</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.extras</groupId>
      <artifactId>jnr-netdb</artifactId>
      <version>1.0.7</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.ext.posix</groupId>
      <artifactId>jnr-posix</artifactId>
      <version>1.1.9</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.extras</groupId>
      <artifactId>bytelist</artifactId>
      <version>1.0.10</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.extras</groupId>
      <artifactId>constantine</artifactId>
      <version>0.6</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.jcodings</groupId>
      <artifactId>jcodings</artifactId>
      <version>1.0.7</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.extras</groupId>
      <artifactId>jffi</artifactId>
      <version>1.0.8</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.jruby.extras</groupId>
      <artifactId>jffi</artifactId>
      <version>1.0.7</version>
      <scope>runtime</scope>
      <classifier>native</classifier>
    </dependency>
    <dependency>
      <groupId>org.jruby.extras</groupId>
      <artifactId>jaffl</artifactId>
      <version>0.5.11</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>org.yaml</groupId>
      <artifactId>snakeyaml</artifactId>
      <version>1.9</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>jline</groupId>
      <artifactId>jline</artifactId>
      <version>1.0</version>
      <scope>${jar.scope}</scope>
    </dependency>
    <dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>1.6</version>
      <scope>${jar.scope}</scope>
    </dependency>
  </dependencies>
  </dependencyManagement>

  <modules>  
    <module>jruby</module>
    <module>jruby-core</module>
    <module>jruby-complete</module>
    <module>jruby-stdlib</module>
    <module>jruby-dist</module>
    <module>jruby-rake-plugin</module>
  </modules>

</project>
