Updating pom for RC3 build, and site's download link
[commons-text.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <project
19 xmlns="http://maven.apache.org/POM/4.0.0"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22 <parent>
23 <groupId>org.apache.commons</groupId>
24 <artifactId>commons-parent</artifactId>
25 <version>42</version>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <artifactId>commons-text</artifactId>
29 <version>1.0-beta-1</version>
30 <name>Apache Commons Text</name>
31
32 <inceptionYear>2014</inceptionYear>
33 <description>
34 Apache Commons Text is a library focused on algorithms working on strings.
35 </description>
36
37 <url>http://commons.apache.org/proper/commons-text/</url>
38
39 <issueManagement>
40 <system>jira</system>
41 <url>http://issues.apache.org/jira/browse/TEXT</url>
42 </issueManagement>
43
44 <scm>
45 <connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-text.git</connection>
46 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-text.git</developerConnection>
47 <url>https://git-wip-us.apache.org/repos/asf?p=commons-text.git</url>
48 <tag>1.0-beta-1</tag>
49 </scm>
50
51 <developers>
52 <developer>
53 <name>Bruno P. Kinoshita</name>
54 <id>kinow</id>
55 <email>kinow@apache.org</email>
56 </developer>
57 <developer>
58 <name>Benedikt Ritter</name>
59 <id>britter</id>
60 <email>britter@apache.org</email>
61 </developer>
62 <developer>
63 <name>Rob Tompkins</name>
64 <id>chtompki</id>
65 <email>chtompki@apache.org</email>
66 </developer>
67 <developer>
68 <name>Gary Gregory</name>
69 <id>ggregory</id>
70 <email>ggregory@apache.org</email>
71 </developer>
72 </developers>
73
74 <contributors>
75 <contributor>
76 <name>Don Jeba</name>
77 <email>donjeba@yahoo.com</email>
78 </contributor>
79 <contributor>
80 <name>Sampanna Kahu</name>
81 </contributor>
82 <contributor>
83 <name>Jarek Strzeleck</name>
84 </contributor>
85 <contributor>
86 <name>Lee Adcock</name>
87 </contributor>
88 </contributors>
89
90 <dependencies>
91 <dependency>
92 <groupId>org.apache.commons</groupId>
93 <artifactId>commons-lang3</artifactId>
94 <!-- if upgrading, be sure to check shaded jar relocations! -->
95 <version>3.5</version>
96 </dependency>
97 <!-- testing -->
98 <dependency>
99 <groupId>junit</groupId>
100 <artifactId>junit</artifactId>
101 <version>4.12</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>org.hamcrest</groupId>
106 <artifactId>hamcrest-all</artifactId>
107 <version>1.3</version>
108 <scope>test</scope>
109 </dependency>
110 </dependencies>
111
112 <distributionManagement>
113 <site>
114 <id>apache.website</id>
115 <name>Apache Commons Site</name>
116 <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text/</url>
117 </site>
118 </distributionManagement>
119
120 <properties>
121 <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
122 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
123 <maven.compiler.source>1.7</maven.compiler.source>
124 <maven.compiler.target>1.7</maven.compiler.target>
125
126 <commons.componentid>text</commons.componentid>
127
128 <commons.release.version>1.0-beta-1</commons.release.version>
129 <commons.rc.version>RC3</commons.rc.version>
130 <commons.release.desc>(Java 7+)</commons.release.desc>
131
132 <commons.jira.id>TEXT</commons.jira.id>
133 <commons.jira.pid>12318221</commons.jira.pid>
134
135 <commons.site.path>text</commons.site.path>
136 <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text</commons.scmPubUrl>
137 <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
138
139 <!-- Override default buildNumber timestamp format, needed for coveralls plugin -->
140 <maven.buildNumber.timestampFormat>{0,date,yyyy-MM-dd HH:mm:ssZ}</maven.buildNumber.timestampFormat>
141
142 <!-- Override 01-23-2017 for java 9-ea compatibility -->
143 <commons.jacoco.version>0.7.8</commons.jacoco.version>
144 </properties>
145
146
147 <build>
148 <pluginManagement>
149 <plugins>
150 <plugin>
151 <groupId>org.apache.rat</groupId>
152 <artifactId>apache-rat-plugin</artifactId>
153 <configuration>
154 <excludes>
155 <exclude>site-content/**</exclude>
156 <exclude>src/site/resources/download_lang.cgi</exclude>
157 <exclude>src/test/resources/stringEscapeUtilsTestData.txt</exclude>
158 </excludes>
159 </configuration>
160 </plugin>
161 </plugins>
162 </pluginManagement>
163 <plugins>
164 <plugin>
165 <artifactId>maven-assembly-plugin</artifactId>
166 <configuration>
167 <descriptors>
168 <descriptor>src/assembly/bin.xml</descriptor>
169 <descriptor>src/assembly/src.xml</descriptor>
170 </descriptors>
171 <tarLongFileMode>gnu</tarLongFileMode>
172 </configuration>
173 </plugin>
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-jar-plugin</artifactId>
177 <executions>
178 <execution>
179 <goals>
180 <goal>test-jar</goal>
181 </goals>
182 </execution>
183 </executions>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-scm-publish-plugin</artifactId>
188 <configuration>
189 <ignorePathsToDelete>
190 <ignorePathToDelete>javadocs</ignorePathToDelete>
191 </ignorePathsToDelete>
192 </configuration>
193 </plugin>
194 </plugins>
195
196 </build>
197
198 <reporting>
199 <plugins>
200 <plugin>
201 <artifactId>maven-checkstyle-plugin</artifactId>
202 <version>2.13</version>
203 <configuration>
204 <enableRulesSummary>false</enableRulesSummary>
205 <configLocation>${basedir}/checkstyle.xml</configLocation>
206 <headerLocation>${basedir}/license-header.txt</headerLocation>
207 <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
208 <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression>
209 </configuration>
210 <reportSets>
211 <reportSet>
212 <reports>
213 <report>checkstyle</report>
214 </reports>
215 </reportSet>
216 </reportSets>
217 </plugin>
218 <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m" ' -->
219 <plugin>
220 <groupId>org.codehaus.mojo</groupId>
221 <artifactId>findbugs-maven-plugin</artifactId>
222 <version>3.0.0</version>
223 <configuration>
224 <threshold>Normal</threshold>
225 <effort>Default</effort>
226 <excludeFilterFile>${basedir}/fb-excludes.xml</excludeFilterFile>
227 </configuration>
228 </plugin>
229 <plugin>
230 <groupId>org.codehaus.mojo</groupId>
231 <artifactId>clirr-maven-plugin</artifactId>
232 <version>2.6.1</version>
233 <configuration>
234 <minSeverity>info</minSeverity>
235 </configuration>
236 </plugin>
237 <plugin>
238 <artifactId>maven-pmd-plugin</artifactId>
239 <version>3.2</version>
240 <configuration>
241 <targetJdk>${maven.compiler.target}</targetJdk>
242 </configuration>
243 <reportSets>
244 <reportSet>
245 <reports>
246 <report>pmd</report>
247 <report>cpd</report>
248 </reports>
249 </reportSet>
250 </reportSets>
251 </plugin>
252 <plugin>
253 <groupId>org.codehaus.mojo</groupId>
254 <artifactId>taglist-maven-plugin</artifactId>
255 <version>2.4</version>
256 <configuration>
257 <tagListOptions>
258 <tagClasses>
259 <tagClass>
260 <displayName>Needs Work</displayName>
261 <tags>
262 <tag>
263 <matchString>TODO</matchString>
264 <matchType>exact</matchType>
265 </tag>
266 <tag>
267 <matchString>FIXME</matchString>
268 <matchType>exact</matchType>
269 </tag>
270 <tag>
271 <matchString>XXX</matchString>
272 <matchType>exact</matchType>
273 </tag>
274 </tags>
275 </tagClass>
276 <tagClass>
277 <displayName>Noteable Markers</displayName>
278 <tags>
279 <tag>
280 <matchString>NOTE</matchString>
281 <matchType>exact</matchType>
282 </tag>
283 <tag>
284 <matchString>NOPMD</matchString>
285 <matchType>exact</matchType>
286 </tag>
287 <tag>
288 <matchString>NOSONAR</matchString>
289 <matchType>exact</matchType>
290 </tag>
291 </tags>
292 </tagClass>
293 </tagClasses>
294 </tagListOptions>
295 </configuration>
296 </plugin>
297 <plugin>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>javancss-maven-plugin</artifactId>
300 </plugin>
301 </plugins>
302 </reporting>
303
304 <profiles>
305 <profile>
306 <id>setup-checkout</id>
307 <activation>
308 <file>
309 <missing>site-content</missing>
310 </file>
311 </activation>
312 <build>
313 <plugins>
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-antrun-plugin</artifactId>
317 <executions>
318 <execution>
319 <id>prepare-checkout</id>
320 <phase>pre-site</phase>
321 <goals>
322 <goal>run</goal>
323 </goals>
324 <configuration>
325 <tasks>
326 <exec executable="svn">
327 <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/>
328 </exec>
329
330 <exec executable="svn">
331 <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs"/>
332 </exec>
333
334 <pathconvert pathsep=" " property="dirs">
335 <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*"/>
336 </pathconvert>
337 <exec executable="svn">
338 <arg line="update --set-depth infinity ${dirs}"/>
339 </exec>
340 </tasks>
341 </configuration>
342 </execution>
343 </executions>
344 </plugin>
345 </plugins>
346 </build>
347 </profile>
348 <profile>
349 <id>travis</id>
350 <activation>
351 <property>
352 <name>env.TRAVIS</name>
353 <value>true</value>
354 </property>
355 </activation>
356 <build>
357 <plugins>
358 <plugin>
359 <groupId>org.jacoco</groupId>
360 <artifactId>jacoco-maven-plugin</artifactId>
361 <version>${commons.jacoco.version}</version>
362 <executions>
363 <execution>
364 <id>default-prepare-agent</id>
365 <goals>
366 <goal>prepare-agent</goal>
367 </goals>
368 </execution>
369 <execution>
370 <id>default-prepare-agent-integration</id>
371 <goals>
372 <goal>prepare-agent-integration</goal>
373 </goals>
374 </execution>
375 <execution>
376 <id>default-report</id>
377 <goals>
378 <goal>report</goal>
379 </goals>
380 </execution>
381 <execution>
382 <id>default-report-integration</id>
383 <goals>
384 <goal>report-integration</goal>
385 </goals>
386 </execution>
387 <execution>
388 <id>default-check</id>
389 <goals>
390 <goal>check</goal>
391 </goals>
392 <configuration>
393 <rules>
394 <!-- implementation is needed only for Maven 2 -->
395 <rule implementation="org.jacoco.maven.RuleConfiguration">
396 <element>BUNDLE</element>
397 <limits>
398 <!-- implementation is needed only for Maven 2 -->
399 <limit implementation="org.jacoco.report.check.Limit">
400 <counter>COMPLEXITY</counter>
401 <value>COVEREDRATIO</value>
402 <minimum>0.60</minimum>
403 </limit>
404 </limits>
405 </rule>
406 </rules>
407 </configuration>
408 </execution>
409 </executions>
410 </plugin>
411 <plugin>
412 <groupId>org.eluder.coveralls</groupId>
413 <artifactId>coveralls-maven-plugin</artifactId>
414 <version>3.1.0</version>
415 </plugin>
416 </plugins>
417 </build>
418 </profile>
419 </profiles>
420 </project>