Author: jukka
Date: Mon Sep 28 11:42:43 2009
New Revision: 819500

URL: http://svn.apache.org/viewvc?rev=819500&view=rev
Log:
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.

Added:
    lucene/tika/trunk/assembly.xml   (with props)
Modified:
    lucene/tika/trunk/pom.xml

Added: lucene/tika/trunk/assembly.xml
URL: 
http://svn.apache.org/viewvc/lucene/tika/trunk/assembly.xml?rev=819500&view=auto
==============================================================================
--- lucene/tika/trunk/assembly.xml (added)
+++ lucene/tika/trunk/assembly.xml Mon Sep 28 11:42:43 2009
@@ -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>

Propchange: lucene/tika/trunk/assembly.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: lucene/tika/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/lucene/tika/trunk/pom.xml?rev=819500&r1=819499&r2=819500&view=diff
==============================================================================
--- lucene/tika/trunk/pom.xml (original)
+++ lucene/tika/trunk/pom.xml Mon Sep 28 11:42:43 2009
@@ -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>


Reply via email to