Author: jukka Date: Fri Dec 11 12:29:51 2009 New Revision: 889591 URL: http://svn.apache.org/viewvc?rev=889591&view=rev Log: PDFBOX-573: Maven build does not download files not inclued in the distribution
Patch by Yonas Jongkind. Modified: pdfbox/trunk/build.xml pdfbox/trunk/pom.xml Modified: pdfbox/trunk/build.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/build.xml?rev=889591&r1=889590&r2=889591&view=diff ============================================================================== --- pdfbox/trunk/build.xml (original) +++ pdfbox/trunk/build.xml Fri Dec 11 12:29:51 2009 @@ -168,7 +168,7 @@ <target name="test" depends="testextract,test-junit,testimage" description="Run all the junit tests"/> <target name="find.adobefiles"> - <available property="adobefiles.found" file="${dest.dir}/Resources"/> + <available property="adobefiles.found" file="${dest.dir}/Resources/cmap"/> </target> <target name="get.adobefiles" Modified: pdfbox/trunk/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=889591&r1=889590&r2=889591&view=diff ============================================================================== --- pdfbox/trunk/pom.xml (original) +++ pdfbox/trunk/pom.xml Fri Dec 11 12:29:51 2009 @@ -125,5 +125,33 @@ </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>generate-resources</phase> + <configuration> + <tasks> + <ant antfile="build.xml" target="get.adobefiles"/> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-nodeps</artifactId> + <version>1.7.1</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + </project>