-
Notifications
You must be signed in to change notification settings - Fork 242
/
pom.xml
155 lines (148 loc) · 6.57 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
146
147
148
149
150
151
152
153
154
155
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>hibernate-search-parent</artifactId>
<groupId>org.hibernate.search</groupId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<artifactId>hibernate-search-distribution</artifactId>
<name>Hibernate Search Distribution</name>
<description>Builds the distribution bundles</description>
<packaging>pom</packaging>
<properties>
<!-- Skip artifact deployment -->
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<!--
Add dependencies to the modules included in the assembly,
in order to make sure that these modules are built before the distribution module.
WARNING: All dependencies must have the "provided" scope, in order for the <moduleSet> mechanism
to work correctly.
If any of the dependencies has a "compile" or "runtime" scope, the maven-dependency plugin
will consider that this dependency should be added to every <dependencySet> in every <moduleSet>,
and we'll end up with a completely bloated assembly.
-->
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-engine</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-mapper-orm</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-backend-lucene</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-backend-elasticsearch</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-documentation</artifactId>
<scope>provided</scope>
<type>pom</type>
</dependency>
<!--
Need to list out optional/provided dependencies here again in order
to include them via assembly dependency set.
WARNING: All dependencies must have the "provided" scope, in order for the <moduleSet> mechanism
to work correctly. See the comment above for details.
-->
<dependency>
<groupId>org.jboss.spec.javax.annotation</groupId>
<artifactId>jboss-annotations-api_1.2_spec</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>javax.persistence-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec.javax.transaction</groupId>
<artifactId>jboss-transaction-api_1.2_spec</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.batch</groupId>
<artifactId>javax.batch-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<!--
Aggregate the javadocs of the selected modules.
We reuse the same id as in the parent pom to avoid calling the javadoc plugin twice.
-->
<id>generate-javadoc</id>
<configuration>
<sourcepath>
${basedir}/../engine/src/main/java;
${basedir}/../util/internal/common/src/main/java;
${basedir}/../mapper/pojo/src/main/java;
${basedir}/../mapper/orm/src/main/java;
${basedir}/../backend/elasticsearch/src/main/java;
${basedir}/../backend/lucene/src/main/java;
</sourcepath>
<docfilessubdirs>true</docfilessubdirs>
<packagesheader>Hibernate Search Packages</packagesheader>
<doctitle>Hibernate Search ${project.version}</doctitle>
<windowtitle>Hibernate Search ${project.version}</windowtitle>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>${basedir}/src/main/assembly/dist.xml</descriptor>
</descriptors>
<finalName>hibernate-search-${project.version}</finalName>
<tarLongFileMode>gnu</tarLongFileMode>
<outputDirectory>${project.build.directory}/dist/</outputDirectory>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>