<?xml version="1.0" encoding="UTF-8"?>
<!--
  The parent maven for the microcontainer project

  This pom aggregates the subproject pom
  
  To build this project maven 2 should be installed and in the system path.  From the command line
  run "mvn" from the build directory and "install" will be used as the default goal.  In order to use 
  the "deploy" goal, the mvn.cvs.root should be specified in settings.xml.
-->
<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.jboss</groupId>
    <artifactId>jboss-parent</artifactId>
    <version>3</version>
  </parent>
  <groupId>org.jboss.microcontainer</groupId>
  <artifactId>jboss-microcontainer-aggregator</artifactId>
  <version>2.0.0.Beta9</version>
  <packaging>pom</packaging>
  <name>JBoss Microcontainer Aggregator</name>
  <url>http://www.jboss.com/products/jbossmc</url>
  <description>
    The JBoss Microcontainer provides a lightweight container for managing POJOs, their deployment 
    and configuration.
  </description>
  <scm>
    <connection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/microcontainer/tags/2.0.0.Beta9</connection>
  </scm>

  <modules>
    <module>build</module>
    <module>container</module>
    <module>dependency</module>
    <module>kernel</module>
    <module>aop-mc-int</module>
    <module>metatype</module>
    <module>managed</module>
    <module>deployers-core-spi</module>
    <module>deployers-core</module>
    <module>deployers-client-spi</module>
    <module>deployers-client</module>
    <module>deployers-structure-spi</module>
    <module>deployers-spi</module>
    <module>deployers-impl</module>
    <module>deployers-vfs-spi</module>
    <module>deployers-vfs</module>
    <module>spring-int</module>
    <module>guice-int</module>
    <module>osgi-int</module>
    <module>classloader</module>
    <module>varia</module>
    <module>reliance-identity</module>
    <module>reliance-rules</module>
    <module>reliance-jbpm</module>
  </modules>

  <profiles>
    <profile>
      <id>eclipse</id>
      <build>
        <defaultGoal>process-test-resources</defaultGoal>
      </build>
    </profile>
    <profile>
      <id>docs</id>
      <modules>
        <module>docs</module>
      </modules>
    </profile>
    <profile>
      <id>assembly</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <inherited>false</inherited>
            <executions>
              <execution>
                <id>make-assembly</id>
                <phase>install</phase>
                <goals>
                  <goal>assembly</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <finalName>jboss-microcontainer-${project.version}</finalName>
              <descriptors>
                <descriptor>build/assembly/dist.xml</descriptor>
                <descriptor>build/assembly/src.xml</descriptor>
              </descriptors>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>docs</module>
      </modules>
    </profile>
  </profiles>

</project>
