-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I posted a while ago, got a response, tried it out and it didn't work
for me. So, couple of questions:

1) what reading do some of you more successful users of Maven suggest I
go off and read to get a handle on using Maven. I know that this is a
good tool and I'm probably not using it right.

2) Given all that and what I do know about Maven I've created a project
and I'm trying to get Maven to "do the right thing" for me. Here is what
I have so far: Most of this I get right from the samples directory for
xdoclet. (thank you David Rault for your suggestions)

- --------- project.xml ---------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>

  <pomVersion>3</pomVersion>
  <id>agilitystewards</id>
  <currentVersion>1.0</currentVersion>

        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>maven-xdoclet-plugin</artifactId>
            <version>1.2.1</version>
            <type>plugin</type>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-xdoclet-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-ejb-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-web-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-jmx-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xjavadoc</artifactId>
            <version>1.0.3</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-jboss-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-bea-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>xdoclet</groupId>
            <artifactId>xdoclet-ibm-module</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jbossall-client</artifactId>
            <version>3.2.3</version>
        </dependency>
        <dependency>
            <groupId>jboss</groupId>
            <artifactId>jboss</artifactId>
            <version>3.2.3</version>
        </dependency>
  <build>
    <sourceDirectory>src/java</sourceDirectory>
    <sourceModifications>
      <sourceModification>
        <className>do.not.want.ejb.because.it.is.not.configured</className>
        <excludes>
          <exclude>**/dao/**/*.java</exclude>
          <exclude>**/ejb/**/*.java</exclude>
        </excludes>
      </sourceModification>
      <sourceModification>
        <className>turn.off.wsee.because.it.is.not.configured</className>
        <excludes>
          <exclude>**/wsee/**/*.java</exclude>
        </excludes>
      </sourceModification>
    </sourceModifications>
  </build>

</project>

- ----------- project.properties -----------------------
maven.repo.remote=http://www.ibiblio.org/maven/,http://xdoclet.sourceforge.net/repository/

maven.xdoclet.webdoclet.fileset.0.include=**/*.java
maven.xdoclet.hibernatedoclet.fileset.0=true
maven.xdoclet.hibernatedoclet.fileset.0.include=**/*.java

maven.xdoclet.jmxdoclet.fileset.0=true
maven.xdoclet.jmxdoclet.fileset.0.include=test/jmx/*.java
maven.xdoclet.jmxdoclet.destDir=${maven.build.dir}/xdoclet/jmxdoclet
maven.xdoclet.jmxdoclet.mbeaninterface.0=true

maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
maven.xdoclet.ejbdoclet.fileset.0=false
maven.xdoclet.ejbdoclet.fileset.0.exclude=**/*.java


- -------- maven.xml ---------------------------------------------------
<?xml version="1.0"?>

<project default="war">

    <preGoal name="java:compile">
        <attainGoal name="xdoclet:ejbdoclet"/>
        <attainGoal name="xdoclet:jmxdoclet"/>
        <attainGoal name="xdoclet:webdoclet"/>
        <attainGoal name="xdoclet:hibernatedoclet"/>
    </preGoal>

</project>


=============================

More pertinate information, I'm using jdk1.5_0_03, Maven 1.0.2 and
XDoclet version 1.2.2 and getting nowhere might fast. (Linux)



- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                     [EMAIL PROTECTED]
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDTCL/UM9/01RIhaARAjBNAJ4/2v2uetjl5DNG/TPL0nLjAXP/1QCcCsZ6
Jmg82EcrzZte7NjPwb6rAi0=
=bK60
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to