You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ju...@apache.org on 2008/06/06 19:13:09 UTC
svn commit: r664039 - in /incubator/tika/trunk: pom.xml
src/main/assembly/bin.xml src/main/assembly/src.xml
src/main/assembly/standalone.xml
Author: jukka
Date: Fri Jun 6 10:13:09 2008
New Revision: 664039
URL: http://svn.apache.org/viewvc?rev=664039&view=rev
Log:
TIKA-115: Tika package with all the dependencies
- Create a runnable standalone jar instead of a bin package
Added:
incubator/tika/trunk/src/main/assembly/standalone.xml
Removed:
incubator/tika/trunk/src/main/assembly/bin.xml
incubator/tika/trunk/src/main/assembly/src.xml
Modified:
incubator/tika/trunk/pom.xml
Modified: incubator/tika/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tika/trunk/pom.xml?rev=664039&r1=664038&r2=664039&view=diff
==============================================================================
--- incubator/tika/trunk/pom.xml (original)
+++ incubator/tika/trunk/pom.xml Fri Jun 6 10:13:09 2008
@@ -214,7 +214,6 @@
<version>3.8.1</version>
<type>jar</type>
<scope>test</scope>
- <optional/>
</dependency>
</dependencies>
@@ -234,15 +233,6 @@
</includes>
</resource>
</resources>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-1</version>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -276,13 +266,18 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
<configuration>
<descriptors>
- <descriptor>src/main/assembly/bin.xml</descriptor>
- <descriptor>src/main/assembly/src.xml</descriptor>
+ <descriptor>src/main/assembly/standalone.xml</descriptor>
</descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
+ <archive>
+ <manifest>
+ <mainClass>org.apache.tika.cli.TikaCLI</mainClass>
+ </manifest>
+ </archive>
</configuration>
<executions>
<execution>
Added: incubator/tika/trunk/src/main/assembly/standalone.xml
URL: http://svn.apache.org/viewvc/incubator/tika/trunk/src/main/assembly/standalone.xml?rev=664039&view=auto
==============================================================================
--- incubator/tika/trunk/src/main/assembly/standalone.xml (added)
+++ incubator/tika/trunk/src/main/assembly/standalone.xml Fri Jun 6 10:13:09 2008
@@ -0,0 +1,50 @@
+<!--
+ 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.
+-->
+<assembly>
+ <id>standalone</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <outputDirectory>META-INF</outputDirectory>
+ <includes>
+ <include>README.txt</include>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory></outputDirectory>
+ <unpack>true</unpack>
+ <unpackOptions>
+ <excludes>
+ <exclude>META-INF/MANIFEST.MF</exclude>
+ <exclude>META-INF/README*</exclude>
+ <exclude>META-INF/NOTICE*</exclude>
+ <exclude>META-INF/LICENSE*</exclude>
+ <exclude>README*</exclude>
+ <exclude>NOTICE*</exclude>
+ <exclude>LICENSE*</exclude>
+ </excludes>
+ </unpackOptions>
+ </dependencySet>
+ </dependencySets>
+</assembly>