Skip to content

Commit b6ced30

Browse files
committed
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
1 parent 18d0767 commit b6ced30

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

assembly.xml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<assembly>
18+
<id>src</id>
19+
<formats>
20+
<format>zip</format>
21+
</formats>
22+
<fileSets>
23+
<fileSet>
24+
<directory>${project.basedir}</directory>
25+
<outputDirectory></outputDirectory>
26+
<excludes>
27+
<exclude>**/target/**</exclude>
28+
<exclude>**/.*/**</exclude>
29+
</excludes>
30+
</fileSet>
31+
</fileSets>
32+
</assembly>

pom.xml

+27-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<relativePath>tika-parent/pom.xml</relativePath>
3333
</parent>
3434

35-
<artifactId>tika-reactor</artifactId>
35+
<artifactId>tika</artifactId>
3636
<packaging>pom</packaging>
3737
<name>Apache Tika</name>
3838
<url>http://lucene.apache.org/tika/</url>
@@ -72,4 +72,30 @@
7272
</plugins>
7373
</build>
7474

75+
<profiles>
76+
<profile>
77+
<id>apache-release</id>
78+
<build>
79+
<plugins>
80+
<plugin>
81+
<artifactId>maven-assembly-plugin</artifactId>
82+
<executions>
83+
<execution>
84+
<goals>
85+
<goal>single</goal>
86+
</goals>
87+
<phase>package</phase>
88+
<configuration>
89+
<descriptors>
90+
<descriptor>assembly.xml</descriptor>
91+
</descriptors>
92+
</configuration>
93+
</execution>
94+
</executions>
95+
</plugin>
96+
</plugins>
97+
</build>
98+
</profile>
99+
</profiles>
100+
75101
</project>

0 commit comments

Comments
 (0)