|
2 | 2 | <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/xsd/maven-4.0.0.xsd">
|
3 | 3 |
|
4 | 4 | <!--
|
5 |
| - |
| 5 | +
|
6 | 6 | Global parent pom.xml for Spring Data modules to inherit from.
|
7 |
| - |
| 7 | +
|
8 | 8 | - Shared resources are pulled in from the spring-data-build-resources dependency (images, CSS, XSLTs for documentation generation)
|
9 | 9 | - Renders reference documentation from Docbook file named index.xml within src/docbkx
|
10 | 10 | - In the "distribute" profile, two assemblies are generated:
|
11 | 11 | - one to be published on the download portal (incl. binaries, sources, javadoc (jarred and browsable), reference documentation in pdf, html and html single page)
|
12 | 12 | - one to be uploaded to static.springsource.org (incl. javadoc (browsable), reference docs as described before)
|
13 |
| - |
| 13 | +
|
14 | 14 | Preconfigures the following:
|
15 |
| - |
| 15 | +
|
16 | 16 | - Logging dependencies: SLF4j + Commons Logging bridge and Logback as test dependency
|
17 | 17 | - Test dependencies: JUnit / Hamcrest / Mockito
|
18 | 18 | - Dependency versions for commonly used dependencies
|
19 |
| - |
| 19 | +
|
20 | 20 | -->
|
21 | 21 |
|
22 | 22 | <modelVersion>4.0.0</modelVersion>
|
23 |
| - |
| 23 | + |
24 | 24 | <artifactId>spring-data-parent</artifactId>
|
25 | 25 | <packaging>pom</packaging>
|
26 |
| - |
| 26 | + |
27 | 27 | <parent>
|
28 | 28 | <groupId>org.springframework.data.build</groupId>
|
29 | 29 | <artifactId>spring-data-build</artifactId>
|
30 | 30 | <version>1.4.0.BUILD-SNAPSHOT</version>
|
31 |
| - <relativePath>../pom.xml</relativePath> |
| 31 | + <relativePath>../pom.xml</relativePath> |
32 | 32 | </parent>
|
33 | 33 |
|
34 | 34 | <name>Spring Data Build - General parent module</name>
|
35 | 35 | <description>Global parent pom.xml to be used by Spring Data modules</description>
|
36 | 36 | <url>http://www.spring.io/spring-data</url>
|
37 | 37 | <inceptionYear>2011-2014</inceptionYear>
|
38 |
| - |
| 38 | + |
39 | 39 | <organization>
|
40 | 40 | <name>Pivotal Software, Inc.</name>
|
41 | 41 | <url>http://www.spring.io</url>
|
42 | 42 | </organization>
|
43 |
| - |
| 43 | + |
44 | 44 | <developers>
|
45 | 45 | <developer>
|
46 | 46 | <id>ogierke</id>
|
|
54 | 54 | <timezone>+1</timezone>
|
55 | 55 | </developer>
|
56 | 56 | </developers>
|
57 |
| - |
| 57 | + |
58 | 58 | <licenses>
|
59 | 59 | <license>
|
60 | 60 | <name>Apache License, Version 2.0</name>
|
61 | 61 | <url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
62 | 62 | <comments>
|
63 | 63 | Copyright 2008-2013 the original author or authors.
|
64 |
| - |
| 64 | + |
65 | 65 | Licensed under the Apache License, Version 2.0 (the "License");
|
66 | 66 | you may not use this file except in compliance with the License.
|
67 | 67 | You may obtain a copy of the License at
|
68 |
| - |
| 68 | + |
69 | 69 | http://www.apache.org/licenses/LICENSE-2.0
|
70 |
| - |
| 70 | + |
71 | 71 | Unless required by applicable law or agreed to in writing, software
|
72 | 72 | distributed under the License is distributed on an "AS IS" BASIS,
|
73 | 73 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
77 | 77 | </comments>
|
78 | 78 | </license>
|
79 | 79 | </licenses>
|
80 |
| - |
| 80 | + |
81 | 81 | <properties>
|
82 |
| - |
| 82 | + |
83 | 83 | <bundlor.enabled>true</bundlor.enabled>
|
84 | 84 | <bundlor.failOnWarnings>true</bundlor.failOnWarnings>
|
85 | 85 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
102 | 102 | <!-- Additional properties required to be set in settings.xml -->
|
103 | 103 | <!-- dist.accessKey -->
|
104 | 104 | <!-- dist.secretKey -->
|
105 |
| - |
| 105 | + |
106 | 106 | <apt>1.1.1</apt>
|
107 | 107 | <aspectj>1.7.4</aspectj>
|
108 | 108 | <cdi>1.0</cdi>
|
|
118 | 118 | <webbeans>1.2.2</webbeans>
|
119 | 119 |
|
120 | 120 | </properties>
|
121 |
| - |
| 121 | + |
122 | 122 | <profiles>
|
123 | 123 |
|
124 | 124 | <profile>
|
|
157 | 157 | -->
|
158 | 158 |
|
159 | 159 | <id>distribute</id>
|
160 |
| - |
| 160 | + |
161 | 161 | <properties>
|
162 | 162 | <shared.resources>${project.build.directory}/shared-resources</shared.resources>
|
163 | 163 | </properties>
|
164 |
| - |
| 164 | + |
165 | 165 | <dependencies>
|
166 | 166 | <dependency>
|
167 | 167 | <groupId>org.springframework.data.build</groupId>
|
|
171 | 171 | <type>zip</type>
|
172 | 172 | </dependency>
|
173 | 173 | </dependencies>
|
174 |
| - |
| 174 | + |
175 | 175 | <build>
|
176 |
| - |
| 176 | + |
177 | 177 | <plugins>
|
178 |
| - |
| 178 | + |
179 | 179 | <!--
|
180 | 180 | Unpacks the content of spring-data-build-resources into the shared resources folder.
|
181 | 181 | -->
|
|
204 | 204 | <!--
|
205 | 205 | Configures JavaDoc generation.
|
206 | 206 | -->
|
207 |
| - |
| 207 | + |
208 | 208 | <plugin>
|
209 | 209 | <groupId>org.apache.maven.plugins</groupId>
|
210 | 210 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
218 | 218 | </execution>
|
219 | 219 | </executions>
|
220 | 220 | </plugin>
|
221 |
| - |
| 221 | + |
222 | 222 | <!--
|
223 | 223 | Renders reference documentation from Docbook sources.
|
224 | 224 | -->
|
225 |
| - |
| 225 | + |
226 | 226 | <plugin>
|
227 | 227 | <groupId>com.agilejava.docbkx</groupId>
|
228 | 228 | <artifactId>docbkx-maven-plugin</artifactId>
|
|
310 | 310 | </execution>
|
311 | 311 |
|
312 | 312 | </executions>
|
313 |
| - |
| 313 | + |
314 | 314 | <dependencies>
|
315 | 315 | <dependency>
|
316 | 316 | <groupId>org.docbook</groupId>
|
|
319 | 319 | <scope>runtime</scope>
|
320 | 320 | </dependency>
|
321 | 321 | </dependencies>
|
322 |
| - |
| 322 | + |
323 | 323 | <!-- Common Docbook configuration -->
|
324 | 324 | <configuration>
|
325 | 325 | <includes>index.xml</includes>
|
|
336 | 336 | </entities>
|
337 | 337 | </configuration>
|
338 | 338 | </plugin>
|
339 |
| - |
340 |
| - <!-- |
| 339 | + |
| 340 | + <!-- |
341 | 341 | Copies all namespaces schemas to target/schemas flatten the directory structure.
|
342 | 342 | Depended on by the site.xml assembly descriptor.
|
343 | 343 | -->
|
|
358 | 358 | </dependency>
|
359 | 359 | </dependencies>
|
360 | 360 | <executions>
|
361 |
| - |
| 361 | + |
362 | 362 | <execution>
|
363 | 363 | <id>copy-documentation-images</id>
|
364 | 364 | <phase>process-resources</phase>
|
|
378 | 378 | <goal>run</goal>
|
379 | 379 | </goals>
|
380 | 380 | </execution>
|
381 |
| - |
| 381 | + |
382 | 382 | <execution>
|
383 | 383 | <id>collect-schema-files</id>
|
384 | 384 | <phase>process-resources</phase>
|
|
416 | 416 | </plugin>
|
417 | 417 |
|
418 | 418 | </plugins>
|
419 |
| - |
| 419 | + |
420 | 420 | <pluginManagement>
|
421 | 421 | <plugins>
|
422 |
| - |
423 |
| - <!-- |
424 |
| - Creates two zip files for download as well as API and reference documentation distribution. |
| 422 | + |
| 423 | + <!-- |
| 424 | + Creates two zip files for download as well as API and reference documentation distribution. |
425 | 425 | -->
|
426 | 426 | <plugin>
|
427 | 427 | <groupId>org.apache.maven.plugins</groupId>
|
|
509 | 509 | </pluginManagement>
|
510 | 510 | </build>
|
511 | 511 | </profile>
|
512 |
| - |
| 512 | + |
513 | 513 | <profile>
|
514 | 514 | <id>milestone</id>
|
515 | 515 | <properties>
|
516 | 516 | <dist.releaseType>milestone</dist.releaseType>
|
517 | 517 | </properties>
|
518 | 518 | </profile>
|
519 |
| - |
| 519 | + |
520 | 520 | <profile>
|
521 | 521 | <id>release</id>
|
522 | 522 | <properties>
|
|
602 | 602 | </repository>
|
603 | 603 | </repositories>
|
604 | 604 | </profile>
|
605 |
| - |
| 605 | + |
606 | 606 | </profiles>
|
607 |
| - |
| 607 | + |
608 | 608 | <dependencyManagement>
|
609 | 609 | <dependencies>
|
610 | 610 | <dependency>
|
|
616 | 616 | </dependency>
|
617 | 617 | </dependencies>
|
618 | 618 | </dependencyManagement>
|
619 |
| - |
| 619 | + |
620 | 620 | <dependencies>
|
621 |
| - |
| 621 | + |
622 | 622 | <!-- Test -->
|
623 | 623 | <dependency>
|
624 | 624 | <groupId>org.hamcrest</groupId>
|
625 | 625 | <artifactId>hamcrest-library</artifactId>
|
626 | 626 | <version>${hamcrest}</version>
|
627 | 627 | <scope>test</scope>
|
628 | 628 | </dependency>
|
629 |
| - |
| 629 | + |
630 | 630 | <dependency>
|
631 | 631 | <groupId>org.hamcrest</groupId>
|
632 | 632 | <artifactId>hamcrest-core</artifactId>
|
633 | 633 | <version>${hamcrest}</version>
|
634 | 634 | <scope>test</scope>
|
635 | 635 | </dependency>
|
636 |
| - |
| 636 | + |
637 | 637 | <dependency>
|
638 | 638 | <groupId>junit</groupId>
|
639 | 639 | <artifactId>junit</artifactId>
|
640 | 640 | <version>${junit}</version>
|
641 | 641 | <scope>test</scope>
|
642 | 642 | </dependency>
|
643 |
| - |
| 643 | + |
644 | 644 | <dependency>
|
645 | 645 | <groupId>org.mockito</groupId>
|
646 | 646 | <artifactId>mockito-core</artifactId>
|
647 | 647 | <version>${mockito}</version>
|
648 | 648 | <scope>test</scope>
|
649 | 649 | </dependency>
|
650 |
| - |
| 650 | + |
651 | 651 | <dependency>
|
652 | 652 | <groupId>org.springframework</groupId>
|
653 | 653 | <artifactId>spring-test</artifactId>
|
654 | 654 | <scope>test</scope>
|
655 | 655 | </dependency>
|
656 |
| - |
| 656 | + |
657 | 657 | <!-- Logging -->
|
658 | 658 | <dependency>
|
659 | 659 | <groupId>org.slf4j</groupId>
|
|
674 | 674 | <version>${logback}</version>
|
675 | 675 | <scope>test</scope>
|
676 | 676 | </dependency>
|
677 |
| - |
| 677 | + |
678 | 678 | </dependencies>
|
679 |
| - |
| 679 | + |
680 | 680 | <build>
|
681 | 681 |
|
682 | 682 | <extensions>
|
|
694 | 694 | <artifactId>maven-dependency-plugin</artifactId>
|
695 | 695 | <version>2.8</version>
|
696 | 696 | </plugin>
|
697 |
| - |
| 697 | + |
698 | 698 | <plugin>
|
699 |
| - <groupId>org.apache.maven.plugins</groupId> |
| 699 | + <groupId>org.apache.maven.plugins</groupId> |
700 | 700 | <artifactId>maven-compiler-plugin</artifactId>
|
701 | 701 | <version>3.1</version>
|
702 | 702 | <configuration>
|
|
716 | 716 | </includes>
|
717 | 717 | </configuration>
|
718 | 718 | </plugin>
|
719 |
| - |
| 719 | + |
720 | 720 | <plugin>
|
721 | 721 | <groupId>org.apache.maven.plugins</groupId>
|
722 | 722 | <artifactId>maven-jar-plugin</artifactId>
|
|
725 | 725 | <useDefaultManifestFile>true</useDefaultManifestFile>
|
726 | 726 | </configuration>
|
727 | 727 | </plugin>
|
728 |
| - |
| 728 | + |
729 | 729 | <plugin>
|
730 | 730 | <artifactId>maven-source-plugin</artifactId>
|
731 | 731 | <version>2.1.2</version>
|
|
738 | 738 | </execution>
|
739 | 739 | </executions>
|
740 | 740 | </plugin>
|
741 |
| - |
| 741 | + |
742 | 742 | <plugin>
|
743 | 743 | <groupId>com.springsource.bundlor</groupId>
|
744 | 744 | <artifactId>com.springsource.bundlor.maven</artifactId>
|
|
778 | 778 | </links>
|
779 | 779 | </configuration>
|
780 | 780 | </plugin>
|
781 |
| - |
| 781 | + |
782 | 782 | <plugin>
|
783 | 783 | <groupId>org.apache.maven.plugins</groupId>
|
784 | 784 | <artifactId>maven-deploy-plugin</artifactId>
|
|
790 | 790 |
|
791 | 791 | </plugins>
|
792 | 792 | </build>
|
793 |
| - |
| 793 | + |
794 | 794 | <repositories>
|
795 | 795 | <repository>
|
796 | 796 | <id>spring-libs-release</id>
|
|
800 | 800 | </snapshots>
|
801 | 801 | </repository>
|
802 | 802 | </repositories>
|
803 |
| - |
| 803 | + |
804 | 804 | <pluginRepositories>
|
805 | 805 | <pluginRepository>
|
806 | 806 | <id>spring-plugins-release</id>
|
|
0 commit comments