/
pom.xml
145 lines (139 loc) · 7.5 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Hibernate Search, full-text search for your domain model
~
~ License: GNU Lesser General Public License (LGPL), version 2.1 or later
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-parent</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>hibernate-search-build-config</artifactId>
<name>Hibernate Search Build - Config</name>
<description>Hibernate Search common build configuration files</description>
<properties>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
<jqassistant.skip>true</jqassistant.skip>
<!--
This module generates the rules used in the Checkstyle and ForbiddenAPIs plugins,
so obviously we cannot use those rules while building this module.
-->
<checkstyle.skip>true</checkstyle.skip>
<forbiddenapis.skip>true</forbiddenapis.skip>
<tmpdir.dependencies-javadoc-packagelists>${project.build.directory}/dependencies-javadoc-packagelists</tmpdir.dependencies-javadoc-packagelists>
</properties>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${version.com.puppycrawl.tools.checkstyle}</version>
<exclusions>
<!-- Excluding com.sun:tools since it causes errors when importing this module into an IDE on Windows (HSEARCH-1374) -->
<exclusion>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- See https://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html -->
<execution>
<id>unpack-dependencies-javadoc-packagelists</id>
<phase>${javadoc.download.phase}</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<skip>${maven.javadoc.skip}</skip>
<artifactItems>
<artifactItem>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<classifier>javadoc</classifier>
<type>jar</type>
<version>${version.org.hibernate.orm}</version>
<outputDirectory>${tmpdir.dependencies-javadoc-packagelists}/hibernate-core</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<classifier>javadoc</classifier>
<type>jar</type>
<version>${version.org.apache.lucene}</version>
<outputDirectory>${tmpdir.dependencies-javadoc-packagelists}/lucene-core</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
<classifier>javadoc</classifier>
<type>jar</type>
<version>${version.org.apache.lucene}</version>
<outputDirectory>${tmpdir.dependencies-javadoc-packagelists}/lucene-analyzers-common</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-queryparser</artifactId>
<classifier>javadoc</classifier>
<type>jar</type>
<version>${version.org.apache.lucene}</version>
<outputDirectory>${tmpdir.dependencies-javadoc-packagelists}/lucene-queryparser</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>jakarta.batch</groupId>
<artifactId>jakarta.batch-api</artifactId>
<classifier>javadoc</classifier>
<type>jar</type>
<version>${version.javax.batch}</version>
<outputDirectory>${tmpdir.dependencies-javadoc-packagelists}/batch-api</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>jakarta.batch</groupId>
<artifactId>jakarta.batch-api</artifactId>
<classifier>javadoc</classifier>
<type>jar</type>
<version>${version.javax.batch}</version>
<outputDirectory>${tmpdir.dependencies-javadoc-packagelists}/batch-api</outputDirectory>
</artifactItem>
</artifactItems>
<includes>package-list</includes>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>package-dependencies-javadoc-packagelists</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<skipAssembly>${maven.javadoc.skip}</skipAssembly>
<descriptors>
<descriptor>src/main/assembly/dependencies-javadoc-packagelists.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>