diff options
author | Glenn Adams <gadams@apache.org> | 2016-03-08 09:07:50 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2016-03-08 09:07:50 +0000 |
commit | 86462d7b873af1b6a3432d9b142bfd25daf2cbd8 (patch) | |
tree | d197277c7a9ba66f69ff80c05b4807b3ad619f62 /fop/pom.xml | |
parent | abcad6d46c02540ebc1292e0ee7e13de2f3a7bd0 (diff) | |
download | xmlgraphics-fop-86462d7b873af1b6a3432d9b142bfd25daf2cbd8.tar.gz xmlgraphics-fop-86462d7b873af1b6a3432d9b142bfd25daf2cbd8.zip |
Fixups for ant junit and mvn test.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1734038 13f79535-47bb-0310-9956-ffa450edef68
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> |