Hi folks,

I'm having major frustration here trying to get a project built using
maven.

Here's where I want to get to:

My project is going to be a web application running struts/tiles and
using Hibernate as the data persistance layer. I want to define my POJOs
for my data objects and use xdoclet to generate my hibernate
configuration files. 

Following the quick start guides and a few other guides I found I have
put together a pom.xml that looks like this: 

<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>
  <groupId>com.mycompany.app</groupId>
  <artifactId>my-webapp</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>my-webapp Maven Webapp</name>
  <url>http://maven.apache.org</url>

<dependencies>
                <dependency>
                        <groupId>net.sf.ehcache</groupId>
                        <artifactId>ehcache</artifactId>
                        <version>1.2.3</version>
                </dependency>
                <dependency>
                        <groupId>swarmcache</groupId>
                        <artifactId>swarmcache</artifactId>
                        <version>1.0RC2</version>
                        <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>jboss</groupId>
                        <artifactId>jboss-cache</artifactId>
                        <version>1.2.2</version>
                        <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>jgroups</groupId>
                        <artifactId>jgroups-all</artifactId>
                        <version>2.2.8</version>
                        <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>javax.transaction</groupId>
                        <artifactId>jta</artifactId>
                        <version>1.0.1B</version>
                </dependency>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.0.4</version>
                </dependency>
                <dependency>
                        <groupId>c3p0</groupId>
                        <artifactId>c3p0</artifactId>
                        <version>0.9.0</version>
                        <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>asm</groupId>
                        <artifactId>asm-attrs</artifactId>
                        <version>1.5.3</version>
                </dependency>
                <dependency>
                        <groupId>javax.security</groupId>
                        <artifactId>jacc</artifactId>
                        <version>1.0</version>
                        <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>dom4j</groupId>
                        <artifactId>dom4j</artifactId>
                        <version>1.6.1</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>xml-apis</groupId>

<artifactId>xml-apis</artifactId>
                                </exclusion>
                        </exclusions>
                </dependency>
                <dependency>
                        <groupId>antlr</groupId>
                        <artifactId>antlr</artifactId>
                        <version>2.7.6</version>
                </dependency>
                <dependency>
                        <groupId>cglib</groupId>
                        <artifactId>cglib</artifactId>
                        <version>2.1_3</version>
                </dependency>
                <dependency>
                        <groupId>opensymphony</groupId>
                        <artifactId>oscache</artifactId>
                        <version>2.1</version>
                        <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>asm</groupId>
                        <artifactId>asm</artifactId>
                        <version>1.5.3</version>
                </dependency>
                <dependency>
                        <groupId>commons-collections</groupId>
                        <artifactId>commons-collections</artifactId>
                        <version>2.1.1</version>
                </dependency>
                <dependency>
                        <groupId>ant</groupId>
                        <artifactId>ant</artifactId>
                        <version>1.6.5</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>proxool</groupId>
                        <artifactId>proxool</artifactId>
                        <version>0.8.3</version>
                        <optional>true</optional>
                </dependency>
<dependency>
        <groupId>xdoclet</groupId>
        <artifactId>maven-xdoclet-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
        <groupId>xdoclet-plugins</groupId>
        <artifactId>xdoclet-plugin-hibernate</artifactId>
        <version>1.0-SNAPSHOT</version>
</dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <finalName>my-webapp</finalName>
  </build>
</project>

Groovy.  Now I'm trying to get to the next step which should include
invoking xdoclet to generate my Hibernate configuration files. I've
found lots of examples, plugged them in and none of what I've found
works or put another way my understanding of how they plug in is
flawed. 

Can someone on this list point me in the right direction? 

-- 
Peter L. Berghold                               Unix Professional
[EMAIL PROTECTED]   AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to