mavenized dependencies

The following snippet lists the dependencies in <hibernate-dist>/lib/README.txt in maven project file format

  • check for comments below as this has yet to be put through serious testing
  • maven understands and acquires all dependencies, but hibernate may complain about some omissions (JBOSS CACHE) or versions changes I made (seemingly out of necessity).
project.xml (maven) XML snippet: dependencies


	    <dependencies>
        <dependency>
            <groupId>ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.5.3-1</version>
            <!--  - Ant core - buildtime  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>c3p0</groupId>
            <artifactId>c3p0</artifactId>
            <version>0.8.4.5</version>
            <!--  - C3P0 JDBC connection pool - runtime, optional  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-full</artifactId>
            <version>2.0.2</version>
            <!--  - CGLIB bytecode generator - runtime, required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>2.1.1</version>
            <!--  - runtime, required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <version>1.2.1</version>
            <!--  - runtime, optional  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>1.0.1</version>
            <!--  - runtime, optional (required by JCS)  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.0.4</version>
            <!--  - runtime, required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>commons-pool</groupId>
            <artifactId>commons-pool</artifactId>
            <version>1.2</version>
            <!--  - runtime, optional (required for DBCP)  -->
            <type>jar</type>
        </dependency>
        <!-- NOTE: took all the JBOSS CACHE ref's out -->
        <!-- <dependency>
            <groupId>ibm?</groupId>
            <artifactId>connector</artifactId>
              - Standard JCA API - runtime, optional  
(Can't find this in any maven repo's)
            <type>jar</type>
        </dependency> -->
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.4</version>
            <!--  - XML configuration & mapping parser - runtime, required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>ehcache</groupId>
            <artifactId>ehcache</artifactId>
            <version>1.1</version>
            <!--  - EHCache cache - runtime, required (default cache provider)
            NOTE: I changed this to 1.1 from 0.8 - Jon -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>2.1.8</version>
            <!--  - Hibernate core - runtime, required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>jaas</groupId>
            <artifactId>jaas</artifactId>
            <version>1.0</version>
            <!--  - Standard JAAS API - runtime, optional (required by JCA)  -->            
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>jdbc</groupId>
            <artifactId>jdbc2_0-stdext</artifactId>
            <!--  - Standard JDBC APIs - runtime, 
required for standalone operation (outside application server)  -->
            <type>jar</type>
            <jar>jdbc2_0-stdext.jar</jar>
        </dependency>
        <dependency>
            <groupId>jgroups</groupId>
            <artifactId>jgroups</artifactId>
            <version>2.2.5</version>
            <!--  - JGroups multicast library - runtime, optional 
(required by replicated caches)
            NOTE: I changed this from the documented 2.2.3 version -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>jta</groupId>
            <artifactId>jta</artifactId>
            <version>1.0.1b</version>
            <!--  - Standard JTA API - runtime, required for standalone operation 
(outside application server)  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <!--  - JUnit test framework - buildtime  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>odmg</groupId>
            <artifactId>odmg</artifactId>
            <version>3.0</version>
            <!--  - ODMG API 3.0 - runtime, required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>ant</groupId>
            <artifactId>ant-optional</artifactId>
            <version>1.5.3-1</version>
            <!--  - Ant optional tasks - buildtime  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>opensymphony</groupId>
            <artifactId>oscache</artifactId>
            <version>2.1</version>
            <!--  - OpenSymphony OSCache - runtime, optional
            NOTE: I changed this from the documented 2.0 version -->
            <type>jar</type>
        </dependency>
        <!--  <dependency>
            <groupId>sakai</groupId>
            <artifactId>proxool</artifactId>
            <version>0.8.3</version>
             - Proxool JDBC connection pool - runtime, optional
            <type>jar</type>
        </dependency>-->
        <!--<dependency>
            <groupId>sakai</groupId>
            <artifactId>swarmcache</artifactId>
            <version>1.0rc2</version>
              - SwarmCache replicated cache - runtime, optional
            <type>jar</type>
        </dependency>-->
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
            <version>2.4.0</version>
            <!--  - XSLT processor - runtime, optional (required for XML Databinder)  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xerces</artifactId>
            <version>2.4.0</version>
            <!--  - SAX parser - runtime, some SAX parser is required  -->
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <version>2.0.2</version>
            <!--  - Standard JAXP API - runtime, some SAX parser is required
            NOTE: The version is somthing I added but was not in the docs -->
            <type>jar</type>
        </dependency>
    </dependencies>