[ http://jira.codehaus.org/browse/MPPDF-8?page=comments#action_44453 ]
Arnaud Heritier commented on MPPDF-8: ------------------------------------- It's too difficult to search on the repository. I don't think that it is a problem to ask to the user to add a dependency on its project to use jimi even if this jar must be installed manually on its repository. But I don't like to ask to the user to add dependencies because it's not its project that use it but a plugin. I prefered finally the Fabio's proposal adding some properties. I'll apply it and we'll change if we find something better. > add support for external imaging libraries like jimi and jai > ------------------------------------------------------------ > > Key: MPPDF-8 > URL: http://jira.codehaus.org/browse/MPPDF-8 > Project: maven-pdf-plugin > Type: Improvement > Environment: maven-1.0rc2, maven-pdf-plugin 2.1 > Reporter: Fábio Franco Uechi > Assignee: Arnaud Heritier > Priority: Minor > > > Problems with the insertion of PNG image files. > JIMI/JAI libraries needed for handling them. > How I've solved it: > I created 3 new properties in my project.properties. Each of > them just pointing to its respective library location. > maven.pdf.jimi.jar=${maven.repo.local}/jimi/jars/jimi-1.0.jar > maven.pdf.jaicore.jar=${maven.repo.local}/jai/jars/jai_core-1.1.2.jar > maven.pdf.jaicodec.jar=${maven.repo.local}/jai/jars/jai_codec-1.1.2.jar > After that I've inserted the following lines to the plugin.jelly > script file: > <pathelement > location="${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.jimi.jar')}"/> > <pathelement > location="${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.jaicore.jar')}"/> > <pathelement > location="${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.jaicodec.jar')}"/> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
