[maven-release-plugin] rollback the release of 1.0.0-M5
[directory-mavibot.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
24 <groupId>org.apache.directory.project</groupId>
25 <artifactId>project</artifactId>
26 <version>32</version>
27 <relativePath/>
28 </parent>
29
30 <organization>
31 <name>Apache Mavibot Project Parent</name>
32 <url>http://directory.apache.org/mavibot/</url>
33 </organization>
34
35 <groupId>org.apache.directory.mavibot</groupId>
36 <version>1.0.0-M5-SNAPSHOT</version>
37 <artifactId>mavibot-parent</artifactId>
38 <name>ApacheDS Mavibot Parent</name>
39 <packaging>pom</packaging>
40
41 <prerequisites>
42 <maven>3.0.0</maven>
43 </prerequisites>
44
45 <url>http://directory.apache.org/mavibot</url>
46 <inceptionYear>2012</inceptionYear>
47
48 <issueManagement>
49 <system>jira</system>
50 <url>http://issues.apache.org/jira/browse/MAVIBOT</url>
51 </issueManagement>
52
53 <scm>
54 <connection>scm:svn:http://svn.apache.org/repos/asf/directory/mavibot/tags/1.0.0-M5</connection>
55 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/mavibot/tags/1.0.0-M5</developerConnection>
56 <url>http://svn.apache.org/viewvc/directory/mavibot/tags/1.0.0-M5</url>
57 </scm>
58
59 <ciManagement>
60 <notifiers>
61 <notifier>
62 <type>mail</type>
63 <address>dev@directory.apache.org</address>
64 </notifier>
65 </notifiers>
66 </ciManagement>
67
68 <description>A MVCC BTree Implementation</description>
69
70 <licenses>
71 <license>
72 <name>Apache 2.0 License</name>
73 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
74 <distribution>repo</distribution>
75 </license>
76 </licenses>
77
78 <properties>
79 <!-- Dependencies versions ========================================== -->
80 <junit.version>4.11</junit.version>
81 <slf4j.version>1.7.7</slf4j.version>
82 <commons.collections.version>3.2.1</commons.collections.version>
83 <commons.io.version>2.4</commons.io.version>
84 <log4j.version>1.2.17</log4j.version>
85 <slf4j.api.version>1.7.7</slf4j.api.version>
86 <slf4j.log4j12.version>1.7.7</slf4j.log4j12.version>
87 </properties>
88
89 <modules>
90 <module>mavibot</module>
91 <module>distribution</module>
92 </modules>
93
94 <dependencyManagement>
95 <dependencies>
96 <!-- Testing -->
97 <dependency>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
100 <version>${junit.version}</version>
101 <scope>test</scope>
102 </dependency>
103
104 <!-- Logging -->
105 <dependency>
106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-api</artifactId>
108 <version>${slf4j.version}</version>
109 </dependency>
110 </dependencies>
111 </dependencyManagement>
112
113 <!-- ==================================== -->
114 <!-- Common dependencies for all projects -->
115 <!-- ==================================== -->
116 <dependencies>
117 <!-- common logging interface -->
118 <dependency>
119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-api</artifactId>
121 </dependency>
122
123 <!-- logging implementation used for unit tests -->
124
125 <dependency>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
128 <scope>test</scope>
129 </dependency>
130 </dependencies>
131
132 <build>
133 <pluginManagement>
134 <plugins>
135 <plugin>
136 <groupId>org.apache.rat</groupId>
137 <artifactId>apache-rat-plugin</artifactId>
138 <configuration>
139 <excludeSubProjects>false</excludeSubProjects>
140 <excludes>
141 <!-- MAVEN_DEFAULT_EXCLUDES -->
142 <exclude>**/target/**/*</exclude>
143 <!-- ECLIPSE_DEFAULT_EXCLUDES -->
144 <exclude>**/.classpath</exclude>
145 <exclude>**/.project</exclude>
146 <exclude>**/.settings/**/*</exclude>
147 <!-- IDEA_DEFAULT_EXCLUDES -->
148 <exclude>**/*.iml</exclude>
149 <exclude>**/*.ipr</exclude>
150 <exclude>**/*.iws</exclude>
151 <!-- MANIFEST_MF_EXCLUDES -->
152 <exclude>**/MANIFEST.MF</exclude>
153 <!-- Licences files -->
154 <exclude>**/LICENSE.*</exclude>
155 <exclude>**/NOTICE*.txt</exclude>
156 <!-- Images and binary files -->
157 <exclude>**/img/**/*</exclude>
158 </excludes>
159 </configuration>
160 </plugin>
161 </plugins>
162 </pluginManagement>
163
164 <plugins>
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-compiler-plugin</artifactId>
168 <configuration>
169 <source>1.6</source>
170 <target>1.6</target>
171 <optimize>true</optimize>
172 <debug>true</debug>
173 <showDeprecations>true</showDeprecations>
174 <encoding>UTF-8</encoding>
175 </configuration>
176 </plugin>
177
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-source-plugin</artifactId>
181 <executions>
182 <execution>
183 <id>attach-source</id>
184 <phase>verify</phase>
185 <goals>
186 <goal>jar-no-fork</goal>
187 </goals>
188 </execution>
189 </executions>
190 </plugin>
191
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-release-plugin</artifactId>
195 <configuration>
196 <tagNameFormat>
197 @{project.version}
198 </tagNameFormat>
199 <tagBase>
200 https://svn.apache.org/repos/asf/directory/mavibot/tags
201 </tagBase>
202 </configuration>
203 </plugin>
204
205 <plugin>
206 <groupId>org.apache.felix</groupId>
207 <artifactId>maven-bundle-plugin</artifactId>
208 <inherited>true</inherited>
209 <extensions>true</extensions>
210 <configuration>
211 <instructions>
212 <Bundle-SymbolicName>${project.groupId}</Bundle-SymbolicName>
213 <Export-Package>
214 {local-packages};version=${project.version};-noimport:=true
215 </Export-Package>
216 </instructions>
217 </configuration>
218 </plugin>
219
220 <plugin>
221 <groupId>org.codehaus.mojo</groupId>
222 <artifactId>findbugs-maven-plugin</artifactId>
223 <configuration>
224 <findbugsXmlOutput>true</findbugsXmlOutput>
225 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
226 <xmlOutput>true</xmlOutput>
227 </configuration>
228 </plugin>
229
230 <plugin>
231 <artifactId>maven-enforcer-plugin</artifactId>
232 <executions>
233 <execution>
234 <id>enforce-java-16</id>
235 <goals>
236 <goal>enforce</goal>
237 </goals>
238 <configuration>
239 <rules>
240 <requireJavaVersion>
241 <version>1.6.0</version>
242 </requireJavaVersion>
243 </rules>
244 </configuration>
245 </execution>
246 </executions>
247 </plugin>
248
249 <plugin>
250 <groupId>org.apache.geronimo.genesis.plugins</groupId>
251 <artifactId>tools-maven-plugin</artifactId>
252 <executions>
253 <execution>
254 <id>verify-legal-files</id>
255 <phase>verify</phase>
256 <goals>
257 <goal>verify-legal-files</goal>
258 </goals>
259 <configuration>
260 <!-- Fail the build if no legal files were found -->
261 <strict>false</strict>
262 </configuration>
263 </execution>
264 </executions>
265 </plugin>
266
267 <!-- The Javadoc and xref generation plugin -->
268 <plugin>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-site-plugin</artifactId>
271 <dependencies>
272 <!-- Add support for 'scp'/'sftp' -->
273 <dependency>
274 <groupId>org.apache.maven.wagon</groupId>
275 <artifactId>wagon-ssh</artifactId>
276 <version>2.1</version>
277 </dependency>
278
279 <!-- Add support for 'scpexe' -->
280 <dependency>
281 <groupId>org.apache.maven.wagon</groupId>
282 <artifactId>wagon-ssh-external</artifactId>
283 <version>2.1</version>
284 </dependency>
285 </dependencies>
286
287 <configuration>
288 <reportPlugins>
289 <!-- JXR plugin generates cross-references -->
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-jxr-plugin</artifactId>
293 <configuration>
294 <aggregate>true</aggregate>
295 </configuration>
296 </plugin>
297
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-surefire-report-plugin</artifactId>
301 <configuration>
302 <aggregate>true</aggregate>
303 <argLine>-Xmx1024m -XX:+UseConcMarkSweepGC</argLine>
304 </configuration>
305 </plugin>
306
307 <plugin>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-project-info-reports-plugin</artifactId>
310 </plugin>
311
312 <plugin>
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>taglist-maven-plugin</artifactId>
315 <configuration>
316 <tags>
317 <tag>TODO</tag>
318 <tag>@todo</tag>
319 <tag>@deprecated</tag>
320 <tag>FIXME</tag>
321 </tags>
322 </configuration>
323 </plugin>
324
325 <!-- The Javadoc generation plugin -->
326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-javadoc-plugin</artifactId>
329 <configuration>
330 <minmemory>512m</minmemory>
331 <maxmemory>1g</maxmemory>
332 <linksource>true</linksource>
333 <tags>
334 <tag>
335 <name>todo</name>
336 <!-- todo tag for all places -->
337 <placement>a</placement>
338 <head>To do:</head>
339 </tag>
340 </tags>
341 <source>1.6</source>
342 </configuration>
343 <reportSets>
344 <reportSet>
345 <reports>
346 <report>aggregate</report>
347 <report>test-aggregate</report>
348 </reports>
349 </reportSet>
350 </reportSets>
351 </plugin>
352
353 <plugin>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>versions-maven-plugin</artifactId>
356 <reportSets>
357 <reportSet>
358 <reports>
359 <report>dependency-updates-report</report>
360 <report>plugin-updates-report</report>
361 <report>property-updates-report</report>
362 </reports>
363 </reportSet>
364 </reportSets>
365 </plugin>
366
367 <plugin>
368 <groupId>org.apache.rat</groupId>
369 <artifactId>apache-rat-plugin</artifactId>
370 <!-- must add configuration here too, it isn't inherited from <pluginConfiguration> :-( -->
371 <configuration>
372 <excludeSubProjects>false</excludeSubProjects>
373 <excludes>
374 <!-- MAVEN_DEFAULT_EXCLUDES -->
375 <exclude>**/target/**/*</exclude>
376 <exclude>**/cobertura.ser</exclude>
377 <!-- ECLIPSE_DEFAULT_EXCLUDES -->
378 <exclude>**/.classpath</exclude>
379 <exclude>**/.project</exclude>
380 <exclude>**/.settings/**/*</exclude>
381 <!-- IDEA_DEFAULT_EXCLUDES -->
382 <exclude>**/*.iml</exclude>
383 <exclude>**/*.ipr</exclude>
384 <exclude>**/*.iws</exclude>
385 <!-- MANIFEST_MF_EXCLUDES -->
386 <exclude>**/MANIFEST.MF</exclude>
387 <!-- 3RD_PARTY_LICENSES -->
388 <exclude>distribution/src/main/release/licenses/*</exclude>
389 <exclude>src/main/release/licenses/*</exclude>
390 <!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 -->
391 <exclude>**/dependency-reduced-pom.xml</exclude>
392 <!-- Images files -->
393 <exclude>**/img/*.png</exclude>
394 <exclude>**/img/*.graphml</exclude>
395 </excludes>
396 </configuration>
397 </plugin>
398
399 <plugin>
400 <groupId>org.codehaus.mojo</groupId>
401 <artifactId>javancss-maven-plugin</artifactId>
402 </plugin>
403
404 <plugin>
405 <groupId>org.codehaus.mojo</groupId>
406 <artifactId>jdepend-maven-plugin</artifactId>
407 </plugin>
408
409 </reportPlugins>
410 </configuration>
411 </plugin>
412 </plugins>
413 </build>
414
415 <profiles>
416 <profile>
417 <id>apache-release</id>
418
419 <build>
420 <plugins>
421 <plugin>
422 <artifactId>maven-javadoc-plugin</artifactId>
423 <executions>
424 <execution>
425 <phase>install</phase>
426
427 <goals>
428 <goal>javadoc</goal>
429 </goals>
430 <configuration>
431 <aggregate>true</aggregate>
432 </configuration>
433 </execution>
434 </executions>
435 </plugin>
436
437 <plugin>
438 <artifactId>maven-jxr-plugin</artifactId>
439 <configuration>
440 <aggregate>true</aggregate>
441 </configuration>
442
443 <executions>
444 <execution>
445 <phase>install</phase>
446
447 <goals>
448 <goal>jxr</goal>
449 <goal>test-jxr</goal>
450 </goals>
451 </execution>
452 </executions>
453 </plugin>
454 </plugins>
455 </build>
456 </profile>
457 </profiles>
458 </project>
459