<?xml version="1.0"?>
<!-- $Id: build-thirdparty.xml 75951 2008-07-17 09:09:36Z alessio.soldano@jboss.com $ -->
<project name="main.build" default="synchronize" basedir=".">

  <!-- Property File definitions -->
  <property file="local.properties"/>
  <property file="synchronize.properties"/>
  <property environment="env"/>

  <!-- Allow jbossbuild.repository to be set from (in order or priority)
   | Command line -Djbossbuild.repository=...
   | synchronize.properties jbossbuild.repository setting
   | JBOSS_REPOSITORY environment variable
   | (e.g. JBOSS_REPOSITORY=file:///d:/projects/repository.jboss.com/)
  -->
  <condition property="jbossbuild.repository" value="${env.JBOSS_REPOSITORY}">
    <isset property="env.JBOSS_REPOSITORY"/>
  </condition>
  
  <!-- Fall back to default -->
  <property name="jbossbuild.repository" value="http://repository.jboss.com"/>

  <!-- Property Definitions -->
  <property name="generatedLibrariesFiles" value="../thirdparty/libraries.ent"/>

  <!-- File Imports -->
  <import file="../tools/etc/jbossbuild/tasks.xml"/>

  <!-- Main Definition of dependencies -->
  <build
    id="jbossas-thirdparty"
    impltitle="JBossAS"
    implversion="4.2.0"
    implvendor="JBoss Inc."
    implurl="http://www.jboss.org"
    description="JBoss Application Server"
    cvsroot="${cvs.prefix}@cvs.forge.jboss.com:/cvsroot/jboss"
    thirdpartypath="../thirdparty/"
    location="${jbossbuild.repository}"
    targetdefs="targets">

    <!--
    The repository is in CVS under the module repository.jboss.com whose contents
    are pushed to the http://repository.jboss.com site.
    -->

    <componentref name="antlr" version="2.7.6-brew"/>
    <componentref name="apache-avalon" version="4.1.5-brew"/>
    <componentref name="apache-avalon-logkit" version="1.2-brew"/>
    <componentref name="apache-bcel" version="5.1-brew"/>
    <componentref name="apache-beanutils" version="1.7.0-brew"/>
    <componentref name="apache-bsf" version="2.3.0-brew"/>
    <componentref name="apache-codec" version="1.3.0-brew"/>
    <componentref name="apache-collections" version="3.1-brew"/>
    <componentref name="apache-digester" version="1.7-brew"/>
    <componentref name="apache-discovery" version="0.4-brew"/>
    <componentref name="apache-fileupload" version="1.1.1-brew"/>
    <componentref name="apache-httpclient" version="3.0.1-brew"/>
    <componentref name="apache-jaxme" version="0.2-cvs"/>
    <componentref name="apache-log4j" version="1.2.14-brew"/>
    <componentref name="apache-logging" version="1.1.0.jboss"/>
    <componentref name="apache-scout" version="0.7rc2"/>
    <componentref name="apache-slide" version="2.1-brew"/>
    <componentref name="apache-velocity" version="1.4jboss-brew"/>
    <componentref name="apache-xalan" version="2.7.0.patch01-brew"/>
    <componentref name="apache-xerces" version="2.7.1-brew"/>
    <componentref name="apache-xmlsec" version="1.3.0-brew"/>
    <componentref name="beanshell" version="1.3.0-brew"/>
    <componentref name="cglib" version="2.1.3-brew"/>
    <componentref name="dom4j" version="1.6.1-brew"/>
    <componentref name="gnu-getopt" version="1.0.12-brew"/>
    <componentref name="hibernate" version="3.2.4.SP1_CP01-brew"/>
    <componentref name="hibernate-annotations" version="3.2.1.GA"/>
    <componentref name="hibernate-entitymanager" version="3.2.1.GA"/>
    <componentref name="hsqldb" version="1.8.0.8-brew"/>
    <componentref name="jacorb" version="2.3.0jboss.patch5-brew"/>
    <componentref name="javassist" version="3.8.0.GA"/>
    <componentref name="jaxen" version="1.1-brew"/>
    <componentref name="jboss/aop" version="1.5.6.GA"/>
    <componentref name="jboss/cache" version="1.4.1.SP9-brew"/>
    <componentref name="jboss/common" version="1.2.1.GA"/>
    <componentref name="jboss/dom4j-jarjar" version="1.6.1"/>
    <componentref name="jboss/jaxr" version="1.2.0.SP1"/>
    <componentref name="jboss/jbossts14" version="4.2.3.SP7"/>
    <componentref name="jboss/jboss-vfs" version="1.0.0.GA"/>    
    <componentref name="jboss/jbossws" version="3.0.1-native-2.0.4.GA"/>
    <componentref name="jboss/jbossxb" version="1.0.0.SP3"/>
    <componentref name="jboss/microcontainer" version="1.0.2"/>
    <componentref name="jboss/profiler/jvmti" version="1.0.0.CR5-brew"/>
    <componentref name="jboss/remoting" version="2.2.2.SP8"/>
    <componentref name="jboss/serialization" version="1.0.3.GA"/>
    <componentref name="jboss/web" version="2.0.1.GA"/>
    <componentref name="jfreechart" version="1.0.2"/>
    <componentref name="jgroups" version="2.4.1.SP4"/>
    <componentref name="joesnmp" version="0.3.4-brew"/>
    <componentref name="juddi" version="0.9RC4-brew"/>
    <componentref name="junit" version="3.8.2-brew"/>
    <componentref name="objectweb-joramtests" version="1.1"/>
    <componentref name="odmg" version="3.0-brew"/>
    <componentref name="oswego-concurrent" version="1.3.4-jboss-update1"/>
    <componentref name="qdox" version="1.6.1-brew"/>
    <componentref name="quartz" version="1.5.2-brew"/>
    <componentref name="stax-api" version="1.0"/>
    <componentref name="sun-jaf" version="1.1"/>
    <componentref name="sun-javacc" version="3.2"/>
    <componentref name="sun-javamail" version="1.4"/>
    <componentref name="sun-jsf" version="1.2_09-b01"/>
    <componentref name="sun-jstl" version="1.2"/>
    <componentref name="sun-servlet" version="2.5-brew"/>
    <componentref name="trove" version="1.0.2-brew"/>
    <componentref name="woodstox" version="3.1.1-brew"/>
    <componentref name="codehaus-jettison" version="1.0-RC2"/>
    <componentref name="xdoclet" version="1.2.3-brew"/>
    
  </build>

  <synchronizeinfo/>

  <!-- Generate the targets -->
  <generate generate="jbossas-thirdparty"/>

  <target
    name="generate-lib-file" 
    description="generate libraries.ent and thirdparty license info"
    depends="synchronize">
    <gen-lib-file filename="${generatedLibrariesFiles}"/>
    <visit-componentref-graph componentVisitor="org.jboss.ant.util.graph.ComponentRefGraphLicenseVisitor"/>
  </target>

</project>
