Page 1 of 1

maven build (again, somehow)

PostPosted: Mon Nov 07, 2011 12:42 pm
by tinne
Howdy,

it took me a while to pick up all the new sources, install the new SCM tools and stuff. There we go, the attached maven fixes should help build docx4j (2.7.1, trunk), xhtmlrenderer aka. flyingsaucer and OpenDoPE-simple to build under maven. Also, there is no simple "create patch in eclipse git", so time to learn a bit of the foolish command line tool (yeah, waitin' for the flame war...)

Things I think should be adapted:
  • gpg support should be optional. I moved it to the profile sign-artifacts, so "mvn -Psign-artifacts" in order to have your jars signed. "mvn" to live without the official signature.
  • OpenDoPE-WAR now depends on 2.8.0-SNAPSHOT (2.7.1 might have been as good) and the current snapshots of the maven-tomcat(6)-plugin, which has been moved and re-coordinated by ASF
  • added a few maven version plugins and remove obsolete legacy archive in order to quite the build tool (optional).
Karsten

Re: maven build (again, somehow)

PostPosted: Fri Dec 23, 2011 2:56 am
by Psykopsilocybin
Timne,

I'm new to this maven world, so I don't understand what your files are and how they can help me solve this problem.

I'm currently trying to build docx4j 2.7.1 from trunk, but I'm stumbling on the xhtmlrenderer dependency.

Can you (or anyone else) help me out?

Re: maven build (again, somehow)

PostPosted: Fri Dec 23, 2011 5:12 am
by tinne
docx4java depends upon code to be found at https://github.com/plutext/flyingsaucer, "Modifications to flyingsaucer XML/XHTML and CSS 2.1 renderer, to support docx (and eventually pptx) output — Read more at http://www.docx4java.org/trac/docx4j"

The patch flyingsauer-diffs.patch references this code.

You do not need any of the patches unless you plan to build the code from source, in which case it modified the maven build in the sense explained above.

So flyingsauer-diffs.patch is for https://github.com/plutext/flyingsaucer.git, docx4j-trunk.patch for http://www.docx4java.org/svn/docx4j/tru ... .7.1.patch for http://www.docx4java.org/svn/docx4j/tags/VERSION_2_7_1/ and OpenDoPE-WAR.patch for https://github.com/plutext/OpenDoPE-WAR.git

Re: maven build (again, somehow)

PostPosted: Mon Apr 16, 2012 2:13 pm
by jason
Hi Tinne, thanks very much for these; applied (belatedly!) in preparation for 2.8.0 release.