Skip to content

Commit 51d5a3b

Browse files
committed
DATAMONGO-1720 - Make sure benchmark module is not included by default.
The benchmarks module does not produce a JAR by default which let's our Maven Central deployment fail as a module has to produce one according to their rules. We're now only including the benchmark module when the benchmarks profile is active.
1 parent 2c193ec commit 51d5a3b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pom.xml

+11-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<module>spring-data-mongodb</module>
2323
<module>spring-data-mongodb-cross-store</module>
2424
<module>spring-data-mongodb-distribution</module>
25-
<module>spring-data-mongodb-benchmarks</module>
2625
</modules>
2726

2827
<properties>
@@ -161,6 +160,17 @@
161160
</build>
162161
</profile>
163162

163+
<profile>
164+
<id>benchmarks</id>
165+
<modules>
166+
<module>spring-data-mongodb</module>
167+
<module>spring-data-mongodb-cross-store</module>
168+
<module>spring-data-mongodb-log4j</module>
169+
<module>spring-data-mongodb-distribution</module>
170+
<module>spring-data-mongodb-benchmarks</module>
171+
</modules>
172+
</profile>
173+
164174
</profiles>
165175

166176
<dependencies>

0 commit comments

Comments
 (0)