Author: jukka
Date: Mon Oct 8 16:23:00 2007
New Revision: 582999
URL: http://svn.apache.org/viewvc?rev=582999&view=rev
Log:
TIKA-41 - Resource files occur twice in jar file
- Use declarative constructs to put the resources in the correct place
Modified:
incubator/tika/trunk/pom.xml
Modified: incubator/tika/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tika/trunk/pom.xml?rev=582999&r1=582998&r2=582999&view=diff
==============================================================================
--- incubator/tika/trunk/pom.xml (original)
+++ incubator/tika/trunk/pom.xml Mon Oct 8 16:23:00 2007
@@ -204,6 +204,12 @@
</dependencies>
<build>
+ <resources>
+ <resource>
+ <targetPath>org/apache/tika</targetPath>
+ <directory>${basedir}/src/main/resources</directory>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -240,13 +246,6 @@
<include name="LICENSE.txt"/>
</fileset>
</copy>
- <copy
todir="${project.build.outputDirectory}/org/apache/tika/mime">
- <fileset dir="${basedir}/src/main/resources/mime">
- <include name="*"/>
- </fileset>
- </copy>
- <copy todir="${project.build.outputDirectory}/org/apache/tika"
- file="${basedir}/src/main/resources/tika-config.xml"/>
</tasks>
</configuration>
<goals>