Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.apache.xmlgraphics</groupId>
  5. <artifactId>fop-core</artifactId>
  6. <name>Apache FOP Core</name>
  7. <description>XML Graphics Format Object Processor</description>
  8. <parent>
  9. <groupId>org.apache.xmlgraphics</groupId>
  10. <artifactId>fop-parent</artifactId>
  11. <version>2.4.0-SNAPSHOT</version>
  12. </parent>
  13. <properties>
  14. <fop.hyph.version>2.0</fop.hyph.version>
  15. </properties>
  16. <dependencies>
  17. <!-- batik deps -->
  18. <dependency>
  19. <groupId>${project.groupId}</groupId>
  20. <artifactId>batik-anim</artifactId>
  21. <version>${batik.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>${project.groupId}</groupId>
  25. <artifactId>batik-awt-util</artifactId>
  26. <version>${batik.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>${project.groupId}</groupId>
  30. <artifactId>batik-bridge</artifactId>
  31. <version>${batik.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>${project.groupId}</groupId>
  35. <artifactId>batik-extension</artifactId>
  36. <version>${batik.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>${project.groupId}</groupId>
  40. <artifactId>batik-gvt</artifactId>
  41. <version>${batik.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>${project.groupId}</groupId>
  45. <artifactId>batik-transcoder</artifactId>
  46. <version>${batik.version}</version>
  47. </dependency>
  48. <!-- fop deps -->
  49. <dependency>
  50. <groupId>${project.groupId}</groupId>
  51. <artifactId>fop-events</artifactId>
  52. <version>${project.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>${project.groupId}</groupId>
  56. <artifactId>fop-util</artifactId>
  57. <version>${project.version}</version>
  58. </dependency>
  59. <!-- xgc deps -->
  60. <dependency>
  61. <groupId>${project.groupId}</groupId>
  62. <artifactId>xmlgraphics-commons</artifactId>
  63. <version>${xmlgraphics.commons.version}</version>
  64. </dependency>
  65. <!-- xmlgraphics external deps -->
  66. <dependency>
  67. <groupId>commons-io</groupId>
  68. <artifactId>commons-io</artifactId>
  69. <version>${commons.io.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-logging</groupId>
  73. <artifactId>commons-logging</artifactId>
  74. <version>${commons.logging.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>javax.servlet</groupId>
  78. <artifactId>servlet-api</artifactId>
  79. <version>2.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.ant</groupId>
  83. <artifactId>ant</artifactId>
  84. <version>1.8.2</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.pdfbox</groupId>
  88. <artifactId>fontbox</artifactId>
  89. <version>2.0.13</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>javax.media</groupId>
  93. <artifactId>jai-core</artifactId>
  94. <version>1.1.3</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.sun.media</groupId>
  98. <artifactId>jai-codec</artifactId>
  99. <version>1.1.3</version>
  100. </dependency>
  101. <!-- test deps -->
  102. <dependency>
  103. <groupId>net.sf.offo</groupId>
  104. <artifactId>fop-hyph</artifactId>
  105. <version>${fop.hyph.version}</version>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>junit</groupId>
  110. <artifactId>junit</artifactId>
  111. <version>${junit.version}</version>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.mockito</groupId>
  116. <artifactId>mockito-core</artifactId>
  117. <version>1.8.5</version>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>xmlunit</groupId>
  122. <artifactId>xmlunit</artifactId>
  123. <version>${xmlunit.version}</version>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.pdfbox</groupId>
  128. <artifactId>pdfbox</artifactId>
  129. <version>2.0.13</version>
  130. <scope>test</scope>
  131. </dependency>
  132. </dependencies>
  133. <build>
  134. <plugins>
  135. <!-- generate base14 font class sources -->
  136. <plugin>
  137. <groupId>org.codehaus.mojo</groupId>
  138. <artifactId>xml-maven-plugin</artifactId>
  139. <version>${xml.plugin.version}</version>
  140. <executions>
  141. <execution>
  142. <id>generate-base14-fonts</id>
  143. <phase>generate-sources</phase>
  144. <goals>
  145. <goal>transform</goal>
  146. </goals>
  147. <configuration>
  148. <transformationSets>
  149. <transformationSet>
  150. <dir>${project.basedir}/src/main/codegen/fonts</dir>
  151. <fileMappers>
  152. <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
  153. <targetExtension>.java</targetExtension>
  154. </fileMapper>
  155. </fileMappers>
  156. <includes>
  157. <include>Courier*.xml</include>
  158. <include>Helvetica*.xml</include>
  159. <include>Times*.xml</include>
  160. </includes>
  161. <parameters>
  162. <parameter>
  163. <name>encoding</name>
  164. <value>WinAnsiEncoding</value>
  165. </parameter>
  166. </parameters>
  167. <outputDir>${project.build.directory}/generated-sources/main/java/org/apache/fop/fonts/base14</outputDir>
  168. <stylesheet>${project.basedir}/src/main/codegen/fonts/font-file.xsl</stylesheet>
  169. </transformationSet>
  170. <transformationSet>
  171. <dir>${project.basedir}/src/main/codegen/fonts</dir>
  172. <fileMappers>
  173. <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
  174. <targetExtension>.java</targetExtension>
  175. </fileMapper>
  176. </fileMappers>
  177. <includes>
  178. <include>Symbol.xml</include>
  179. <include>ZapfDingbats.xml</include>
  180. </includes>
  181. <outputDir>${project.build.directory}/generated-sources/main/java/org/apache/fop/fonts/base14</outputDir>
  182. <stylesheet>${project.basedir}/src/main/codegen/fonts/font-file.xsl</stylesheet>
  183. </transformationSet>
  184. </transformationSets>
  185. </configuration>
  186. </execution>
  187. <execution>
  188. <id>codegen-fonts-encodings</id>
  189. <phase>generate-sources</phase>
  190. <goals>
  191. <goal>transform</goal>
  192. </goals>
  193. <configuration>
  194. <transformationSets>
  195. <transformationSet>
  196. <dir>${project.basedir}/src/main/codegen/fonts</dir>
  197. <fileMappers>
  198. <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
  199. <targetName>CodePointMapping.java</targetName>
  200. </fileMapper>
  201. </fileMappers>
  202. <includes>
  203. <include>encodings.xml</include>
  204. </includes>
  205. <outputDir>${project.build.directory}/generated-sources/main/java/org/apache/fop/fonts</outputDir>
  206. <stylesheet>${project.basedir}/src/main/codegen/fonts/code-point-mapping.xsl</stylesheet>
  207. </transformationSet>
  208. </transformationSets>
  209. </configuration>
  210. </execution>
  211. </executions>
  212. <dependencies>
  213. <dependency>
  214. <groupId>net.sf.saxon</groupId>
  215. <artifactId>saxon</artifactId>
  216. <version>8.7</version>
  217. </dependency>
  218. </dependencies>
  219. </plugin>
  220. <!-- add generate base14 font class sources to source set -->
  221. <plugin>
  222. <groupId>org.codehaus.mojo</groupId>
  223. <artifactId>build-helper-maven-plugin</artifactId>
  224. <version>${build.helper.plugin.version}</version>
  225. <executions>
  226. <execution>
  227. <id>add-generated-sources</id>
  228. <phase>generate-sources</phase>
  229. <goals>
  230. <goal>add-source</goal>
  231. </goals>
  232. <configuration>
  233. <sources>
  234. <source>${project.build.directory}/generated-sources/main/java</source>
  235. </sources>
  236. </configuration>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <!-- generate event collector models -->
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-antrun-plugin</artifactId>
  244. <version>${antrun.plugin.version}</version>
  245. <executions>
  246. <execution>
  247. <id>codegen-events</id>
  248. <phase>process-classes</phase>
  249. <goals>
  250. <goal>run</goal>
  251. </goals>
  252. <configuration>
  253. <target>
  254. <taskdef name="collectEvents" classname="org.apache.fop.tools.EventProducerCollectorTask" classpathref="maven.compile.classpath"/>
  255. <collectEvents destdir="${project.build.outputDirectory}">
  256. <fileset dir="${project.basedir}/src/main/java">
  257. <include name="**/accessibility/AccessibilityEventProducer.java"/>
  258. <include name="**/afp/AFPEventProducer.java"/>
  259. <include name="**/area/AreaEventProducer.java"/>
  260. <include name="**/fo/flow/table/TableEventProducer.java"/>
  261. <include name="**/fo/FOValidationEventProducer.java"/>
  262. <include name="**/fonts/FontEventProducer.java"/>
  263. <include name="**/layoutmgr/BlockLevelEventProducer.java"/>
  264. <include name="**/layoutmgr/inline/InlineLevelEventProducer.java"/>
  265. <include name="**/render/bitmap/BitmapRendererEventProducer.java"/>
  266. <include name="**/render/pcl/PCLEventProducer.java"/>
  267. <include name="**/render/pdf/extensions/PDFExtensionEventProducer.java"/>
  268. <include name="**/render/pdf/PDFEventProducer.java"/>
  269. <include name="**/render/ps/PSEventProducer.java"/>
  270. <include name="**/render/RendererEventProducer.java"/>
  271. <include name="**/render/rtf/RTFEventProducer.java"/>
  272. <include name="**/ResourceEventProducer.java"/>
  273. <include name="**/svg/SVGEventProducer.java"/>
  274. </fileset>
  275. </collectEvents>
  276. </target>
  277. </configuration>
  278. </execution>
  279. </executions>
  280. </plugin>
  281. <!-- junit testing -->
  282. <plugin>
  283. <artifactId>maven-surefire-plugin</artifactId>
  284. <version>${surefire.plugin.version}</version><!--$NO-MVN-MAN-VER$-->
  285. <configuration>
  286. <includes>
  287. <include>**/*TestCase.java</include>
  288. </includes>
  289. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  290. <workingDirectory>../fop</workingDirectory>
  291. </configuration>
  292. </plugin>
  293. <!-- code analysis - checkstyle -->
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-checkstyle-plugin</artifactId>
  297. <configuration>
  298. <configLocation>${project.baseUri}src/tools/resources/checkstyle/checkstyle.xml</configLocation>
  299. <headerLocation>${project.baseUri}src/tools/resources/checkstyle/LICENSE.txt</headerLocation>
  300. <includeResources>false</includeResources>
  301. <includeTestResources>false</includeTestResources>
  302. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  303. <linkXRef>false</linkXRef>
  304. <logViolationsToConsole>true</logViolationsToConsole>
  305. <suppressionsLocation>${project.baseUri}src/tools/resources/checkstyle/suppressions.xml</suppressionsLocation>
  306. <violationSeverity>warning</violationSeverity>
  307. </configuration>
  308. </plugin>
  309. <!-- code analysis - checkstyle -->
  310. <plugin>
  311. <groupId>org.codehaus.mojo</groupId>
  312. <artifactId>findbugs-maven-plugin</artifactId>
  313. <version>${findbugs.plugin.version}</version>
  314. <configuration>
  315. <excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
  316. <effort>Max</effort>
  317. <threshold>Low</threshold>
  318. </configuration>
  319. </plugin>
  320. </plugins>
  321. <resources>
  322. <resource>
  323. <directory>src/main/resources</directory>
  324. </resource>
  325. <resource>
  326. <directory>${basedir}/..</directory>
  327. <includes>
  328. <include>LICENSE</include>
  329. <include>NOTICE</include>
  330. </includes>
  331. <targetPath>META-INF</targetPath>
  332. </resource>
  333. </resources>
  334. <testResources>
  335. <testResource>
  336. <directory>src/test/resources</directory>
  337. <includes>
  338. <include>**/*</include>
  339. </includes>
  340. </testResource>
  341. </testResources>
  342. </build>
  343. <profiles>
  344. <profile>
  345. <id>runFindbugs</id>
  346. <build>
  347. <plugins>
  348. <plugin>
  349. <groupId>org.codehaus.mojo</groupId>
  350. <artifactId>findbugs-maven-plugin</artifactId>
  351. <version>${findbugs.plugin.version}</version>
  352. <configuration>
  353. <excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
  354. <effort>Max</effort>
  355. <threshold>Low</threshold>
  356. </configuration>
  357. <executions>
  358. <execution>
  359. <id>verify</id>
  360. <phase>verify</phase>
  361. <goals>
  362. <goal>check</goal>
  363. </goals>
  364. </execution>
  365. </executions>
  366. </plugin>
  367. </plugins>
  368. </build>
  369. </profile>
  370. </profiles>
  371. </project>