docx4j release process
----------------------

[Do this process for a release candidate first]

Check everything is committed

Update Getting Started as necessary (inc HTML and PDF versions)

Check jar versions in pom.xml, build.xml

Update README.txt with release info.

    svn log -r 1073:HEAD > tmp_log_2_4_0.txt
    
(refer to README.txt to see what rnumber to start at)    

Update pom.xml with target version number

svn ci

co as new project; check it

to run tests:
   ant test 
or mvn install

ANT_OPTS="-Xmx512m -XX:MaxPermSize=256m" ant dist

    (Remove the jaxb jars from dist dir)

    Create docx4j-x.x.x.tar.gz (ant dist, rename the jar as well)
    

Check Mvn build works
- it creates an 18MB -javadoc, but don't upload that


Check all jars match target (eg Java 1.5)    

Tag the version in svn

Create javadoc 

    edit doctitle in build.xml

    ant javadoc

Maven upload

   mvn deploy:deploy-file -f wagon-svn-pom.xml -Dfile=dist/docx4j.jar -DpomFile=pom.xml  -Dpackaging=jar -DrepositoryId=docx4j -Durl=svn:http://dev.plutext.org/svn/docx4j/trunk/docx4j/m2

Announce release in docx4j forum
