Hi,
Have you tried downloading the source directly and installing it locally?

The code can be found here:

http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-impl/

You could download the code and install the artifact by running:

mvn install  (on the checked out source for cocoon-fop-ng-impl)

 Once this is done, I think it is as simple as adding the dependeny to your project's POM file (the version should be 1.0.0-SNAPSHOT).

Now, I haven't done any of this, so I am only guessing here.  I suspect you may have some problems as I don't see FOP in the dependency

Cheers.
I would like to use FOP 0.9x with Cocoon 2.2: This should be possible.

http://www.nabble.com/Cocoon-2.2-FOP-td18959290.html

  
by Jasha Joachimsthal-2 Aug 15, 2008
...
cocoon-fop-ng-impl uses FOP 0.9x. cocoon-fop-impl uses FOP 0.20.x
The number of the Cocoon FOP block does not follow the FOP versioning. 
    

... but, when I try to reference that artifact in my pom, maven can't resolve the dependency:

  
Missing:
----------
1) org.apache.cocoon:cocoon-fop-ng-impl:jar:1.0.0
    

I've done a little searching, but I can't find an artifact by this name (cocoon-fop-ng-impl) in any repository. Reading through the lists, it seems like at some point there was some trouble in satisfying a FOP 0.9x dependency, and that was preventing the Cocoon artifact from being released (for instance: http://markmail.org/thread/jzm2zcurt744ka3i), but the message referencing "cocoon-fop-ng-impl" above is latter, so that suggests the problems were resolved somehow?

Any advice on a way forward? Right now, in Cocoon 2.2, with the pom referencing "cocoon-fop-impl", my XSL-FO is triggering a known bug in FOP 0.2x ("No meaningful layout in block after many attempts.  Infinite loop is assumed."). If I download the FOP 0.9x jar, and just use it directly, the PDF renders without problems. Is there a Cocoon 2.2 block using FOP 0.9x available, or do I just need to make one myself? Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


  


-- 
Kamal Bhatt
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to