-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpom.xml
More file actions
187 lines (168 loc) · 7.17 KB
/
Copy pathpom.xml
File metadata and controls
187 lines (168 loc) · 7.17 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
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-build</artifactId>
<version>2.1.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>graph-compose-examples</artifactId>
<name>GraphCompose Examples</name>
<description>Runnable file-render examples for GraphCompose templates.</description>
<properties>
<graphcompose.version>${project.version}</graphcompose.version>
<logback.version>1.6.0</logback.version>
<maven.compiler.release>17</maven.compiler.release>
<junit.bom.version>6.1.2</junit.bom.version>
<assertj.version>3.27.7</assertj.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose</artifactId>
<version>${graphcompose.version}</version>
</dependency>
<!--
Bundled Google fonts split out of the engine jar in v1.8.0. The
engine no longer ships them, so the examples (which render CVs and
showcases in those families) declare the companion artifact
explicitly at its own independent version.
-->
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-fonts</artifactId>
<version>${graphcompose.fonts.version}</version>
</dependency>
<!--
Colour-emoji glyphs for EmojiShortcodeExample. The engine resolves
emoji from the classpath, so the examples declare the companion
artifact explicitly at its own independent version (like fonts).
-->
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-emoji</artifactId>
<version>${graphcompose.emoji.version}</version>
</dependency>
<!-- DOCX export (WordExportExample): the semantic DOCX backend ships in
graph-compose-render-docx since 2.0, which brings Apache POI
transitively. -->
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-render-docx</artifactId>
<version>${graphcompose.version}</version>
</dependency>
<!-- The fixed-layout PPTX backend: the Engine Deck PPTX example renders
the flagship deck as a geometry-identical PowerPoint file. -->
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-render-pptx</artifactId>
<version>${graphcompose.version}</version>
</dependency>
<!-- The built-in CV / cover-letter / invoice / proposal templates that the
flagship + template examples render. -->
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-templates</artifactId>
<version>${graphcompose.version}</version>
</dependency>
<!-- Snapshot-regression demo (LayoutSnapshotRegressionExample) uses
LayoutSnapshotJson, which ships in graph-compose-testing since 2.0.
It also brings jackson-databind transitively, which EngineDeckData
uses to read the comparative-benchmark JSON — jackson left the
engine jar in 2.0. -->
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-testing</artifactId>
<version>${graphcompose.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<!-- Test scope for the smoke runner. -->
<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>
</dependencies>
<build>
<resources>
<!--
Only banner.properties is filtered (it carries @project.version@
so the README hero is stamped with the reactor version, never a
hand-bumped literal). Every other resource is copied verbatim so
binary assets (icons, fonts, sample data) stay byte-intact.
-->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>banner.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>banner.properties</exclude>
</excludes>
</resource>
<!--
The committed perf baseline, read straight from where the gate
keeps it. Examples that quote engine speed restate this file
rather than carrying literals, and pointing at the original
instead of copying it is what keeps the two from drifting.
-->
<resource>
<directory>${project.basedir}/../baselines</directory>
<targetPath>baselines</targetPath>
<filtering>false</filtering>
<includes>
<include>current-speed-full.json</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.6</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.6.3</version>
</plugin>
</plugins>
</build>
</project>