<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [
  <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities;
]>
<!--
Copyright 2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

  $Id: project.xml,v 1.36 2005/03/31 14:07:17 ate Exp $
-->
<project>
  <extend>${basedir}/../../project.xml</extend>
  <pomVersion>3</pomVersion>
  <id>jetspeed-registry</id>
  <groupId>jetspeed2</groupId>
  <name>Jetspeed-2 Registry Components</name>
  
  <package>org.apache.jetspeed</package>
  <description>
	  Registry Components
  </description>

  <repository>
    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-jetspeed-2/components/registry</connection>
    <url>http://cvs.apache.org/viewcvs/jakarta-jetspeed-2/components/registry/</url>
  </repository>

  <shortDescription>Registry Components</shortDescription>
  <dependencies>
  
  	&spring-deps;
  	
  	&db-ojb-deps;
  	
  	&jmock-deps;
  	
  	&commons-config-dep;
  	
  	<dependency>
      <id>jetspeed-cm</id>
      <groupId>jetspeed2</groupId>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
     <dependency>
      <id>jetspeed2:jetspeed-api</id>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>    
    <dependency>
      <id>jetspeed-persistence</id>
      <groupId>jetspeed2</groupId>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>jetspeed-prefs</id>
      <groupId>jetspeed2</groupId>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>jetspeed2:jetspeed-portlet-factory</id>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>        
    <!-- Testing only -->
    <dependency>
      <id>jetspeed-rdbms</id>
      <groupId>jetspeed2</groupId>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
  	 <dependency>
      <id>commons-lang</id>
      <version>2.0</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-logging</id>
      <version>1.0.3</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-beanutils</id>
      <version>1.6.1</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>junit</id>
      <version>3.8.1</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
    <dependency>

      <id>log4j</id>
      <version>1.2.8</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

    <dependency>
      <id>commons-configuration</id>
      <version>1.0-dev</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-collections</id>
      <version>3.0</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-io</id>
      <version>0.1</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    
     <dependency>
      <id>commons-pool</id>
      <version>1.2</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>commons-dbcp</id>
      <version>1.2.1</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>jdbc-se</id>
      <jar>jdbc-se2.0.jar</jar>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
        <dependency>
      <id>xerces</id>
      <version>2.3.0</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>xml-apis</id>
      <version>2.0.2</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
     <dependency>
      <id>jdom</id>
      <version>1.0</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

    <!-- This is only a test dependency -->
    <dependency>
      <id>hsqldb</id>
      <version>1.7.1</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>    
    <dependency>
      <id>jetspeed-commons</id>
      <groupId>jetspeed2</groupId>
      <version>&jetspeed-version;</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
       
      &pluto-deps;
      
     <dependency>
      <!-- portlet-api.jar must be in %MAVEN_HOME%respository/portlet-api/jars -->
      <id>portlet-api</id>
      <version>1.0</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>servletapi</id>
      <version>2.3</version>
      <properties>
        <war.bundle>false</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>jta</id>
      <jar>jta1.0.1.jar</jar>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>tyrex</id>
      <version>1.0.1</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
  </dependencies>
  <build>
    <sourceDirectory>src/java</sourceDirectory>


    <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
    <unitTest>
       <excludes>
        <exclude>**/Abstract*</exclude>

      </excludes>
      <resources>
        <resource>
          <directory>${basedir}/src/test</directory>
          <excludes>
           <exclude>**/*.java</exclude>
           <exclude>repository_database.xml</exclude>
          </excludes>
        </resource>
        <resource>
          <directory>${basedir}/src/java</directory>
          <excludes>
           <exclude>**/*.java</exclude>
          </excludes>
        </resource>
        
        &db-ojb-resources;
        
        &log4j-resources;
        
      </resources>
    </unitTest>

    <resources>
      <resource>
        <directory>${basedir}/src/java</directory>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </resource>
    </resources>

  </build>
  <reports>
  
  	&j2-reports;
  
  </reports>  
</project>
