Hi Jason,
Thanks, I checked out the source code from trunk, and tried to build using maven, I got compilation error as following, could you please have a look and see if you can help?
C:\work\workspace\docx4j>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building docx4j
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: C:\work\workspace\docx4j\src\diffx added.
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] Copying 2 resources
[WARNING] POM for 'com.sun.jdmk:jmxtools:pom:1.2.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'com.sun.jmx:jmxri:pom:1.2.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1445 source files to C:\work\workspace\docx4j\bin
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\work\workspace\docx4j\src\main\java\org\docx4j\openpackaging\contenttype\ContentTypeMan
ager.java:[70,40] cannot find symbol
symbol : class PresentationMLPackage
location: package org.docx4j.openpackaging.packages
C:\work\workspace\docx4j\src\main\java\org\docx4j\openpackaging\contenttype\ContentTypeMan
ager.java:[80,52] package org.docx4j.openpackaging.parts.PresentationML does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\Conversion.java
:[69,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\jaxb\NamespacePrefixMapperSunInternal.ja
va:[30,90] package com.sun.xml.internal.bind.marshaller does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[14,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[15,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[16,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[17,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[18,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[19,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[20,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[21,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[22,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[23,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[24,29] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[32,38] package org.plutext.jaxb.xslfo does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[44,16] cannot find symbol
symbol : class LayoutMasterSet
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[124,16] cannot find symbol
symbol : class PageSequenceMaster
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[179,16] cannot find symbol
symbol : class SimplePageMaster
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\jaxb\NamespacePrefixMapperRelationshipsP
artSunInternal.java:[23,107] package com.sun.xml.internal.bind.marshaller does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\in\FlatOpcXmlImporter.java:[53,4
0] cannot find symbol
symbol : class PresentationMLPackage
location: package org.docx4j.openpackaging.packages
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\in\FlatOpcXmlImporter.java:[58,5
2] package org.docx4j.openpackaging.parts.PresentationML does not exist
C:\work\workspace\docx4j\src\main\java\org\docx4j\openpackaging\contenttype\ContentTypeMan
ager.java:[352,10] cannot find symbol
symbol : variable JaxbPmlPart
location: class org.docx4j.openpackaging.contenttype.ContentTypeManager
C:\work\workspace\docx4j\src\main\java\org\docx4j\openpackaging\contenttype\ContentTypeMan
ager.java:[720,11] cannot find symbol
symbol : class PresentationMLPackage
location: class org.docx4j.openpackaging.contenttype.ContentTypeManager
C:\work\workspace\docx4j\src\main\java\org\docx4j\jaxb\NamespacePrefixMapperUtils.java:[30
,16] incompatible types
found : org.docx4j.jaxb.NamespacePrefixMapperSunInternal
required: java.lang.Object
C:\work\workspace\docx4j\src\main\java\org\docx4j\jaxb\NamespacePrefixMapperUtils.java:[51
,16] incompatible types
found : org.docx4j.jaxb.NamespacePrefixMapperRelationshipsPartSunInternal
required: java.lang.Object
C:\work\workspace\docx4j\src\main\java\org\docx4j\jaxb\NamespacePrefixMapperUtils.java:[10
3,7] inconvertible types
found : java.lang.Object
required: org.docx4j.jaxb.NamespacePrefixMapperSunInternal
C:\work\workspace\docx4j\src\main\java\org\docx4j\jaxb\NamespacePrefixMapperUtils.java:[10
5,45] inconvertible types
found : java.lang.Object
required: org.docx4j.jaxb.NamespacePrefixMapperSunInternal
C:\work\workspace\docx4j\src\main\java\org\merlin\io\DOMSerializerEngine.java:[111,69] com
.sun.org.apache.xerces.internal.util.EncodingMap is Sun proprietary API and may be removed
in a future release
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[36,2] cannot find symbol
symbol : class LayoutMasterSet
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[46,16] cannot find symbol
symbol : class ObjectFactory
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[47,2] cannot find symbol
symbol : class LayoutMasterSet
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[126,2] cannot find symbol
symbol : class PageSequenceMaster
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[129,2] cannot find symbol
symbol : class RepeatablePageMasterAlternatives
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[135,3] cannot find symbol
symbol : class ConditionalPageMasterReference
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[137,25] cannot find symbol
symbol : variable PagePositionType
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[145,3] cannot find symbol
symbol : class ConditionalPageMasterReference
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[153,3] cannot find symbol
symbol : class ConditionalPageMasterReference
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[156,22] cannot find symbol
symbol : variable OddOrEvenType
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[159,3] cannot find symbol
symbol : class ConditionalPageMasterReference
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[162,22] cannot find symbol
symbol : variable OddOrEvenType
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[167,3] cannot find symbol
symbol : class ConditionalPageMasterReference
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[182,2] cannot find symbol
symbol : class SimplePageMaster
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[214,2] cannot find symbol
symbol : class RegionBody
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[223,3] cannot find symbol
symbol : class RegionBefore
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\out\pdf\viaXSLFO\LayoutMasterSet
Builder.java:[247,3] cannot find symbol
symbol : class RegionAfter
location: class org.docx4j.convert.out.pdf.viaXSLFO.LayoutMasterSetBuilder
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\in\FlatOpcXmlImporter.java:[147,
24] cannot find symbol
symbol : class PresentationMLPackage
location: class org.docx4j.convert.in.FlatOpcXmlImporter
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\in\FlatOpcXmlImporter.java:[438,
31] cannot find symbol
symbol : class JaxbPmlPart
location: class org.docx4j.convert.in.FlatOpcXmlImporter
C:\work\workspace\docx4j\src\main\java\org\docx4j\convert\in\FlatOpcXmlImporter.java:[442,
86] package org.pptx4j.jaxb does not exist
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Aug 25 09:18:38 NZST 2010
[INFO] Final Memory: 21M/148M
[INFO] ------------------------------------------------------------------------
C:\work\workspace\docx4j>