Skip to content

Commit

Permalink
TIKA-281: Use repository.apache.org to deploy snapshots and releases
Browse files Browse the repository at this point in the history
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
jukka committed Sep 28, 2009
1 parent 5a8b268 commit 8566c0a
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
32 changes: 32 additions & 0 deletions assembly.xml
Original file line number Diff line number Diff line change
@@ -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>
28 changes: 27 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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.