diff options
Diffstat (limited to 'fop/pom.xml')
-rw-r--r-- | fop/pom.xml | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/fop/pom.xml b/fop/pom.xml index 3844d1303..a793a2144 100644 --- a/fop/pom.xml +++ b/fop/pom.xml @@ -13,6 +13,10 @@ <version>2.2.0-SNAPSHOT</version> </parent> + <properties> + <fop.hyph.version>2.0</fop.hyph.version> + </properties> + <dependencies> <!-- compile deps --> <dependency> @@ -94,6 +98,12 @@ </dependency> <!-- test deps --> <dependency> + <groupId>net.sf.offo</groupId> + <artifactId>fop-hyph</artifactId> + <version>${fop.hyph.version}</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> @@ -241,6 +251,28 @@ </target> </configuration> </execution> + <execution> + <id>codegen-test-events</id> + <phase>process-test-classes</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <taskdef name="collectEvents" classname="org.apache.fop.tools.EventProducerCollectorTask"> + <classpath> + <path refid="maven.compile.classpath"/> + <path refid="maven.test.classpath"/> + </classpath> + </taskdef> + <collectEvents destdir="${project.build.testOutputDirectory}"> + <fileset dir="${project.basedir}/src/test/java"> + <include name="**/events/TestEventProducer.java"/> + </fileset> + </collectEvents> + </target> + </configuration> + </execution> </executions> </plugin> <!-- junit testing --> @@ -251,13 +283,6 @@ <includes> <include>**/*TestCase.java</include> </includes> - <excludes> - <exclude>**/BasicEventTestCase.java</exclude> - <exclude>**/HyphenationLayoutTestCase.java</exclude> - <exclude>**/IFTestCase.java</exclude> - <exclude>**/PDFVTTestCase.java</exclude> - <exclude>**/PDFEncodingTestCase.java</exclude> - </excludes> <redirectTestOutputToFile>true</redirectTestOutputToFile> </configuration> </plugin> |