Browse files

TIKA-281: Use repository.apache.org to deploy snapshots and releases

Add a source assembly and rename the reactor project to produce a nicer assembly name.

git-svn-id: https://svn.apache.org/repos/asf/lucene/tika/trunk@819500 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 5a8b268 commit 8566c0af1803c8752074ae5671cbeef4e7de0c43 @jukka jukka committed Sep 28, 2009
Showing with 59 additions and 1 deletion.
  1. +32 −0 assembly.xml
  2. +27 −1 pom.xml
View
32 assembly.xml
@@ -0,0 +1,32 @@
+<!--
+ 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>src</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}</directory>
+ <outputDirectory></outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>**/.*/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>
View
28 pom.xml
@@ -32,7 +32,7 @@
<relativePath>tika-parent/pom.xml</relativePath>
</parent>
- <artifactId>tika-reactor</artifactId>
+ <artifactId>tika</artifactId>
<packaging>pom</packaging>
<name>Apache Tika</name>
<url>http://lucene.apache.org/tika/</url>
@@ -72,4 +72,30 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>

0 comments on commit 8566c0a

Please sign in to comment.