-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpom.xml
More file actions
692 lines (652 loc) · 30.7 KB
/
pom.xml
File metadata and controls
692 lines (652 loc) · 30.7 KB
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose</artifactId>
<version>1.6.9</version>
<name>GraphCompose</name>
<description>A declarative layout engine for programmatic document generation, implemented primarily in Java.</description>
<url>https://github.com/DemchaAV/GraphCompose</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>DemchaAV</id>
<name>Artem Demchyshyn</name>
<email>demchishynartem@gmail.com</email>
<url>https://github.com/DemchaAV</url>
<roles>
<role>Lead Developer</role>
<role>Architect</role>
</roles>
<timezone>UTC 0</timezone>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/DemchaAV/GraphCompose.git</connection>
<developerConnection>scm:git:ssh://git@github.com/DemchaAV/GraphCompose.git</developerConnection>
<url>https://github.com/DemchaAV/GraphCompose/tree/main</url>
</scm>
<properties>
<!-- Toolchain -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
<!-- Runtime / library dependencies -->
<flexmark.version>0.64.8</flexmark.version>
<jackson.bom.version>2.21.4</jackson.bom.version>
<logback.version>1.5.34</logback.version>
<lombok.version>1.18.46</lombok.version>
<pdfbox.version>3.0.7</pdfbox.version>
<poi.version>5.5.1</poi.version>
<javafx.version>21.0.2</javafx.version>
<slf4j.version>2.0.18</slf4j.version>
<zxing.version>3.5.4</zxing.version>
<!-- Test dependencies -->
<assertj.version>3.27.7</assertj.version>
<junit.bom.version>6.1.0</junit.bom.version>
<mockito.version>5.23.0</mockito.version>
<byteBuddy.version>1.18.9</byteBuddy.version>
<!-- Build plugins -->
<central.publishing.plugin.version>0.10.0</central.publishing.plugin.version>
<maven.compiler.plugin.version>3.15.0</maven.compiler.plugin.version>
<maven.enforcer.plugin.version>3.6.3</maven.enforcer.plugin.version>
<maven.gpg.plugin.version>3.2.8</maven.gpg.plugin.version>
<maven.javadoc.plugin.version>3.12.0</maven.javadoc.plugin.version>
<maven.source.plugin.version>3.4.0</maven.source.plugin.version>
<maven.surefire.plugin.version>3.5.6</maven.surefire.plugin.version>
<!-- Minimum toolchain (enforced by maven-enforcer-plugin) -->
<enforcer.requireMavenVersion>3.8.0</enforcer.requireMavenVersion>
<enforcer.requireJavaVersion>17</enforcer.requireJavaVersion>
<!-- Binary compatibility baseline (japicmp profile) -->
<japicmp.version>0.26.1</japicmp.version>
<japicmp.baseline>v1.6.8</japicmp.baseline>
<!--
GPG signing — opted in via -Dgpg.skip=false (the publish
workflow does this on tag pushes). Default true so a
maintainer running `mvn -P release package` locally does
not need a configured GPG key.
-->
<gpg.skip>true</gpg.skip>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Main dependencies -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!--
commons-logging → SLF4J bridge. PDFBox's static initializer
(`PDDocument.<clinit>`) still calls `org.apache.commons.logging.
LogFactory` directly. We exclude PDFBox's own `commons-logging`
artefact to keep a single logging facade and route those calls
through SLF4J via this drop-in replacement. Previously this
class was on the classpath transitively via `flexmark-all` —
F3 (v1.6.7) narrowed flexmark to its core modules and made
the bridge explicit so the build is reproducible.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>${pdfbox.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--
Flexmark markdown parser. F3 (v1.6.7) narrowed `flexmark-all`
down to the modules actually referenced by
`com.demcha.compose.engine.text.markdown.MarkDownParser`:
- `flexmark` — Parser + `com.vladsch.flexmark.ast.*`
(Heading, ListItem, Emphasis, etc.)
- `flexmark-util-ast` — Node, NodeVisitor, VisitHandler
- `flexmark-util-data` — MutableDataSet
No extension modules (tables, footnotes, gfm) are used.
-->
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark</artifactId>
<version>${flexmark.version}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-util-ast</artifactId>
<version>${flexmark.version}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-util-data</artifactId>
<version>${flexmark.version}</version>
</dependency>
<!--
Apache POI powers the canonical DOCX semantic backend. Marked
optional so library consumers that only render PDFs do not pull
in ~10MB of POI runtime; apps that call DocumentSession.export(new
DocxSemanticBackend()) must add poi-ooxml to their own classpath.
-->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${poi.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<!--
jackson-dataformat-yaml is consumed only by `ConfigLoader.
loadConfigWithEnv(...)` when the caller passes a *.yaml /
*.yml resource. Library consumers that load JSON configs
(or do not use ConfigLoader at all) should not pay the
~1.7MB SnakeYAML transitive cost. Marked optional in
v1.6.7 (F4), mirroring the existing `poi-ooxml` pattern.
Apps that load YAML configs must add this dependency to
their own classpath; without it `ConfigLoader` throws
`NoClassDefFoundError` when it tries to construct
`YAMLFactory`.
-->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${zxing.version}</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>${zxing.version}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byteBuddy.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>${javafx.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-swing</artifactId>
<version>${javafx.version}</version>
<scope>test</scope>
</dependency>
<!--
Benchmark-only comparison dependencies (iText, openHTMLToPDF,
JasperReports) live in the sibling `benchmarks/` Maven module
so the main project's test classpath stays free of foreign
comparison libraries that are not part of GraphCompose. Run
benchmarks via `mvnw -f benchmarks/pom.xml ...` or the
scripts/run-benchmarks.ps1 wrapper.
-->
</dependencies>
<build>
<!--
Pin the default-lifecycle plugins (clean / install / site /
resources / deploy) so requirePluginVersions in the enforcer
block below has nothing to flag. Versions match what Maven
3.9.x currently resolves out-of-the-box; the explicit pin
stops a future Maven upgrade from silently shifting the
plugin set we build against.
-->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.22.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!--
Build-time precondition enforcement. Three rules:
* requireJavaVersion: blocks builds on JDK < 17 (the
declared baseline). Catches "works on my Java 21,
silently breaks on the JDK 17 CI matrix" drift.
* requireMavenVersion: blocks Maven < 3.8.0 — the
oldest version that fully supports the resolver
features the central-publishing plugin (Track D3)
needs to ship Maven Central artefacts.
* requirePluginVersions: every plugin must declare an
explicit <version>. Stops the inherited "latest" or
reactor-default drift that broke the v1.6.0 release
(cf. PR-7.1 exec-plugin lesson). Tracked as 1.6.6 E2.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.plugin.version}</version>
<executions>
<execution>
<id>enforce-toolchain-and-plugin-versions</id>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[${enforcer.requireMavenVersion},)</version>
<message>GraphCompose requires Maven ${enforcer.requireMavenVersion} or newer.</message>
</requireMavenVersion>
<requireJavaVersion>
<version>[${enforcer.requireJavaVersion},)</version>
<message>GraphCompose requires JDK ${enforcer.requireJavaVersion} or newer.</message>
</requireJavaVersion>
<requirePluginVersions>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<banSnapshots>true</banSnapshots>
<message>Every plugin must declare an explicit non-LATEST/RELEASE version. See PR-7.1 (exec-plugin drift) for the lesson.</message>
</requirePluginVersions>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<!-- Java compilation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<release>${maven.compiler.release}</release>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<!-- Test execution -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<argLine>-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar</argLine>
</configuration>
</plugin>
<!--
Publish a tests-classifier jar so the sibling `benchmarks/`
module can reuse the test-only fixtures (com.demcha.mock.*,
etc.) without duplicating them. The artifact is
graph-compose-${version}-tests.jar in the local repository
after `mvn install`.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Public API Javadoc validation: canonical document API + public testing-support helpers (testing.layout / testing.visual) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<doclint>all</doclint>
<failOnError>true</failOnError>
<show>public</show>
<quiet>true</quiet>
<subpackages>com.demcha.compose.document:com.demcha.compose.testing</subpackages>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!--
Maven Central / release-publishing artefacts. Activated
with `-P release`. Produces the `*-sources.jar` and
`*-javadoc.jar` Maven Central requires alongside the main
`.jar`. Activated by `cut-release.ps1` (when the
central-publishing plugin lands in Track D3) and by the
publish workflow (Track D4); never activated by the default
local build so a maintainer's everyday `mvnw verify` does
not pay the extra ~30 s of source / javadoc packaging.
Tracked in v1.6.6 stabilization (Track D1).
-->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!--
Lombok-generated members and the
`@Internal` engine surface are not
part of the public Javadoc; skip
anything that would fail to resolve
rather than blocking the publish.
-->
<doclint>none</doclint>
<failOnError>false</failOnError>
<quiet>true</quiet>
</configuration>
</execution>
</executions>
</plugin>
<!--
GPG signing of the four published artefacts
(main jar + sources + javadoc + pom). Maven
Central rejects unsigned uploads.
Local default: `<gpg.skip>true</gpg.skip>` (set
in <properties>) so `mvn -P release package`
works without a configured GPG key. The publish
workflow (Track D4) flips it with
-Dgpg.skip=false.
The `gpgArguments` pinentry-mode=loopback is
required for non-interactive runs (CI), where
the passphrase arrives via
MAVEN_GPG_PASSPHRASE / -Dgpg.passphrase and
there is no TTY for gpg-agent to prompt on.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<skip>${gpg.skip}</skip>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<!--
Sonatype central-publishing-maven-plugin: the
modern replacement for the old `nexus-staging-maven-plugin`
+ manual staging-repository flow. Uploads the
signed artefacts (main + sources + javadoc + pom)
to the namespace verified at central.sonatype.com.
Configuration:
publishingServerId=central — matches the
<server id="central"> entry the publish
workflow (Track D4) writes into
~/.m2/settings.xml from the CENTRAL_USERNAME
/ CENTRAL_TOKEN repo secrets.
autoPublish=false — uploads to the validation
queue but does NOT auto-release. The
maintainer flips the switch on
central.sonatype.com after a sanity check
on the first publish; subsequent releases
can flip this to true in the workflow when
we are confident.
waitUntil=validated — block the Maven build
until Sonatype's validator confirms the
upload meets the Central requirements
(signed artefacts, sources/javadoc jars,
valid POM metadata, etc.). Surfaces errors
inside the workflow run rather than
silently leaving a stuck upload.
<extensions>true</extensions> — required so
the plugin participates in the build
lifecycle as a packaging extension.
Requires (configured by Track D4 workflow):
- CENTRAL_USERNAME / CENTRAL_TOKEN secrets
- namespace `io.github.demchaav` verified on
central.sonatype.com (one-time, via GitHub
auth or DNS TXT record).
-->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central.publishing.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>false</autoPublish>
<waitUntil>validated</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!--
Optional-deps regression: runs the canonical suite with
`poi-ooxml` (and its transitives) excluded from the test
classpath, so callers that don't render DOCX validate that
our DocxSemanticBackend is genuinely optional. Tests that
require POI carry @DisabledIfSystemProperty(named = "no.poi",
matches = "true") and skip cleanly under this profile.
Activate with `-P no-poi`. Tracked in v1.6.6 stabilization
(Track I1).
-->
<profile>
<id>no-poi</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<classpathDependencyExcludes>
<classpathDependencyExclude>org.apache.poi:poi-ooxml</classpathDependencyExclude>
<classpathDependencyExclude>org.apache.poi:poi</classpathDependencyExclude>
<classpathDependencyExclude>org.apache.poi:poi-ooxml-lite</classpathDependencyExclude>
</classpathDependencyExcludes>
<systemPropertyVariables>
<no.poi>true</no.poi>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!--
Binary-compatibility baseline against the last published
release. Activated with `-P japicmp`. Resolves the baseline
artifact from JitPack (kept profile-local so consumers do
NOT inherit a JitPack repository). Fails the build on any
binary-incompatible modification to the public surface;
source-incompatible changes are reported but do not fail
(yet) so the team can phase the policy in. Tracked in the
v1.6.6 stabilization (Track E1).
-->
<profile>
<id>japicmp</id>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>${japicmp.version}</version>
<executions>
<execution>
<id>japicmp-against-baseline</id>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
<configuration>
<oldVersion>
<dependency>
<groupId>com.github.DemchaAV</groupId>
<artifactId>GraphCompose</artifactId>
<version>${japicmp.baseline}</version>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.build.finalName}.jar</path>
</file>
</newVersion>
<parameter>
<onlyModified>true</onlyModified>
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<breakBuildOnSourceIncompatibleModifications>false</breakBuildOnSourceIncompatibleModifications>
<includeSynthetic>false</includeSynthetic>
<reportOnlyFilename>true</reportOnlyFilename>
<skipPomModules>true</skipPomModules>
</parameter>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>