Experimental switch to GMaven version 1.3 for support of GroovyTestCase as base class of DDTTestCase.
Maven 2 (tested with Maven-2.2.1 under OSX Snow Leopard) is now the standard build system.
It is used to generate and deploy the project including documentation and statistics via
mvn site-deploy.
To run all plugins more or less correctly I have to setup the environment variables
export LC_ALL=en_US export LANG=en
DISCONTINUED The latest extension is the support of Java 1.4 runtime through
Retrotranslator on Sourceforge.
To create a Java 1.4 compatible DDTUnit archive you have to use the Maven profile
jdk14.
Before starting you have to set the environment to use Java 1.4
Here is an example for OS/X Leopard:
$JAVA14_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home $> cd ddtunit $> mvn clean install -Pjdk14 -Djava14.jar=$JAVA14_HOME/../Classes/classes.jar
The most useful calls to Maven are:
For providing SNAPSHOT and the the latest production version of DDTUnit I have introduced
my own MVN repository. it can be found under
http://ddtunit.sourceforge.net/m2-repo
To include DDTUnit archive into your Maven2 enabled project add this repo to your search path and put the following dependencies detail into your pom.xml:
<dependency> <groupId>junitx.ddtunit</groupId> <artifactId>ddtunit</artifactId> <version>0.8.9</version> </dependency>
<profiles> <profile> <id>Snapshots</id> <repositories> ... <repository> <id>DDTUnit Repo</id> <url>http://ddtunit.sourceforge.net/m2-repo</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository> ...
As a reminder for the dfevelopers here are the hints to generate the site and deploy it
to Sourceforge.
ssh -t jg_hamburg,ddtunit@shell.sf.net create
mvn site:deploy