Hello,
Anybody tried TJDO with Maven ???
I want to use Maven(xdoclet) to generate the JDO metadata. It only can
generate the standard JDO metadat but without any TJDO spec.
Maven 1.0rc1
Maven-Xdoclet-1.2 plugin
Please check my files.
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<!-- the version of maven's project object model -->
<pomVersion>3</pomVersion>
<!-- a unique name for this project -->
<id>jdotest</id>
<!-- a short but descriptive name for the project -->
<name>jdotest</name>
<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-SNAPSHOT -->
<currentVersion>1.0</currentVersion>
<!-- details about the organization that 'owns' the project -->
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
<logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
</organization>
<!-- the year the project started -->
<inceptionYear>2002</inceptionYear>
<package>test</package>
<logo>http://maven.apache.org/images/maven.jpg</logo>
<description>
A collection of example projects showing how to use maven in different
situations
</description>
<!-- a short description of what the project does -->
<shortDescription>
How to use maven in different situations
</shortDescription>
<!-- the project home page -->
<url>http://maven.apache.org/reference/plugins/examples/</url>
<issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
<siteAddress>jakarta.apache.org</siteAddress>
<siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory>
<distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory>
<!-- the version control repository and http url for online access
the connection element has the form:
scm:<system>:<system specific connection string> -->
<repository>
<connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven/src/plugins-build/examples</connection>
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/examples/</url>
</repository>
<!-- any mailing lists for the project -->
<mailingLists/>
<!-- who the developers are for the project -->
<developers/>
<!-- jar files the project is dependent on -->
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>3.0.10-stable-bin</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>tjdo</groupId>
<artifactId>tjdo</artifactId>
<version>2.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jdo</groupId>
<artifactId>jdo</artifactId>
<version>1.0.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jdo</groupId>
<artifactId>jdori</artifactId>
<version>1.0.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jdo</groupId>
<artifactId>jdori-enhancer</artifactId>
<version>1.0.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jdo</groupId>
<artifactId>btree</artifactId>
<version>1.0.1</version>
<type>jar</type>
</dependency>
<!-- XDoclet -->
<dependency>
<groupId>xjavadoc</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.0.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-xdoclet-module</artifactId>
<version>1.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jdo-module</artifactId>
<version>1.2</version>
<type>jar</type>
</dependency>
</dependencies>
<!-- build information for the project -->
<build>
<nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
<sourceDirectory>src/java</sourceDirectory>
<!--
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/NaughtyTest.java</exclude>
</excludes>
</unitTest>
-->
<resources>
<resource>
<directory>src/conf</directory>
<includes>
<include>*.properties</include>
</includes>
</resource>
</resources>
</build>
</project>
<?xml version="1.0"?>
<project default="jar:jar" xmlns:j="jelly:core" xmlns:maven="jelly:maven" xmlns:ant="jelly:ant">
<preGoal name="java:compile">
<attainGoal name="xdoclet:jdodoclet"/>
</preGoal>
<postGoal name="java:compile">
<attainGoal name="tjdo"/>
<attainGoal name="runapp"/>
</postGoal>
<goal name="runapp">
<path id="run.classpath">
<path refid="maven.dependency.classpath"/>
<pathelement path="${maven.build.dest}"/>
</path>
<java classname="test.PersonPersister" fork="true">
<jvmarg value="-Dcom.triactive.jdo.autoCreateTables=true"/>
<classpath refid="run.classpath" />
</java>
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]