| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.tika</groupId> |
| <artifactId>tika-parent</artifactId> |
| <version>1.11-SNAPSHOT</version> |
| <relativePath>../tika-parent/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>tika-dotnet</artifactId> |
| <name>Apache Tika for .NET</name> |
| <url>http://tika.apache.org/</url> |
| |
| <properties> |
| <ikvm>C:\ikvm-7.0.4335.0</ikvm> |
| <mscorlib.jar>${ikvm}\mscorlib.jar</mscorlib.jar> |
| <System.jar>${ikvm}\System.jar</System.jar> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tika</groupId> |
| <artifactId>tika-app</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ikvm</groupId> |
| <artifactId>mscorlib</artifactId> |
| <version>2.0</version> |
| <scope>system</scope> |
| <systemPath>${mscorlib.jar}</systemPath> |
| </dependency> |
| <dependency> |
| <groupId>ikvm</groupId> |
| <artifactId>System</artifactId> |
| <version>2.0</version> |
| <scope>system</scope> |
| <systemPath>${System.jar}</systemPath> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <id>copy-dependencies</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <stripVersion>true</stripVersion> |
| <excludeTransitive>true</excludeTransitive> |
| <excludeScope>system</excludeScope> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <exec executable="${ikvm}/bin/ikvmc.exe"> |
| <arg value="-nowarn:0100"/> |
| <arg value="-nowarn:0105"/> |
| <arg value="-nowarn:0109"/> |
| <arg value="-nowarn:0111"/> |
| <arg value="-nowarn:0112"/> |
| <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Charsets.dll"/> |
| <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Core.dll"/> |
| <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Text.dll"/> |
| <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.Util.dll"/> |
| <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.XML.API.dll"/> |
| <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.XML.Transform.dll"/> |
| <arg value="-target:library"/> |
| <arg value="-compressresources"/> |
| <arg value="-out:${project.build.directory}/${project.build.finalName}.dll"/> |
| <arg value="-recurse:${project.build.directory}\*.class"/> |
| <arg value="${project.build.directory}/dependency/tika-app.jar"/> |
| </exec> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifacts> |
| <file>${project.build.directory}/${project.build.finalName}.dll</file> |
| <type>dll</type> |
| </artifacts> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <!-- This plugin's configuration is used to store Eclipse m2e settings |
| only. It has no influence on the Maven build itself. --> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <versionRange>[2.4,)</versionRange> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <description>A .NET port of Tika functionality.</description> |
| <organization> |
| <name>The Apache Software Foundation</name> |
| <url>http://www.apache.org</url> |
| </organization> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/TIKA</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://builds.apache.org/job/Tika-trunk/</url> |
| </ciManagement> |
| </project> |