File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 281
281
</build >
282
282
283
283
<profiles >
284
+ <!--
285
+ This profile is active by default and will disable the generation of the source jar.
286
+ When the native profile (see below) is active, the source jar will be generated.
287
+ If we don't do it like this, the source jar is created and attached twice, which
288
+ trips up Maven: "We have duplicated artifacts attached."
289
+ -->
290
+ <profile >
291
+ <id >non-native</id >
292
+ <activation >
293
+ <activeByDefault >true</activeByDefault >
294
+ </activation >
295
+ <properties >
296
+ <maven .source.skip>true</maven .source.skip>
297
+ </properties >
298
+ </profile >
299
+
284
300
<profile >
285
301
<id >native</id >
302
+ <properties >
303
+ <maven .source.skip>false</maven .source.skip>
304
+ </properties >
286
305
<build >
287
306
<plugins >
288
307
<plugin >
You can’t perform that action at this time.
0 commit comments