Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
246 lines (235 loc) · 10.7 KB
/
Copy pathpom.xml
File metadata and controls
246 lines (235 loc) · 10.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
<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>
<!--
Scratch for Java 7.0: the core library, the first-party extensions and
the fat jar, released together in one version.
mvn test all modules, headless
mvn package -Pall + target/scratch-<version>-all.jar in all/
mvn package -Pall,nrw + the NRW fat jar
The version is managed by .github/workflows/version.yml (mvn versions:set
on this pom carries every module along); do not edit it by hand.
-->
<groupId>org.openpatch</groupId>
<artifactId>scratch-parent</artifactId>
<version>7.1.1</version>
<packaging>pom</packaging>
<name>Scratch for Java (parent)</name>
<description>Scratch for Java is a Java library that replicates the functionality and concepts of Scratch, helping learners transition from block-based programming to text-based coding in Java.</description>
<url>https://scratch4j.openpatch.org</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>mikebarkmin</id>
<name>Mike Barkmin</name>
<email>mike@barkmin.eu</email>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/openpatch/scratch-for-java.git</connection>
<developerConnection>scm:git:ssh://github.com/openpatch/scratch-for-java.git</developerConnection>
<url>https://github.com/openpatch/scratch-for-java</url>
</scm>
<modules>
<module>core</module>
<module>desktop</module>
<module>web</module>
<module>extensions/tiled</module>
<module>extensions/save</module>
<module>extensions/recorder</module>
<module>extensions/drawing</module>
<module>extensions/gamepad</module>
<module>all</module>
<module>examples</module>
</modules>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<libs.lwjgl>3.4.3</libs.lwjgl>
<libs.jackson>3.2.3</libs.jackson>
<libs.junit>5.11.4</libs.junit>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl-bom</artifactId>
<version>${libs.lwjgl}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.openpatch</groupId>
<artifactId>scratch</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openpatch</groupId>
<artifactId>scratch-desktop</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openpatch</groupId>
<artifactId>scratch-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${libs.jackson}</version>
</dependency>
<dependency>
<groupId>tools.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>${libs.jackson}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.22</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${libs.junit}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<!-- LWJGL loads natives; FFM backend on Java 25 (see core's Natives) -->
<argLine>--enable-native-access=ALL-UNNAMED</argLine>
<!-- tests run on the classpath, as learners' programs do; module-info is
checked by the build (javac) and by a modular smoke run -->
<useModulePath>false</useModulePath>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<tags>
<tag><name>index-in-docs</name><placement>X</placement><head>Index in documentation</head></tag>
<tag><name>name-in-docs</name><placement>X</placement><head>Name in documentation</head></tag>
<tag><name>ignore-in-docs</name><placement>X</placement><head>Ignored in documentation</head></tag>
<tag><name>scratchblock</name><placement>a</placement><head>Scratch Block:</head></tag>
<tag><name>example.preview</name><placement>X</placement><head>Example:</head></tag>
<tag><name>example.folder</name><placement>X</placement><head>Example:</head></tag>
<tag><name>example.files</name><placement>X</placement><head>Example:</head></tag>
<tag><name>example.1.files</name><placement>X</placement><head>Example:</head></tag>
<tag><name>desktop-only</name><placement>X</placement><head>Desktop only</head></tag>
</tags>
<excludePackageNames>org.openpatch.scratch.internal:org.openpatch.scratch.internal.*</excludePackageNames>
<doclint>all,-missing</doclint>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>central</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Central wants sources and Javadoc next to every published jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<checksums>required</checksums>
<autoPublish>true</autoPublish>
<!-- the fat jar goes to the GitHub release, not to Central -->
<excludeArtifacts>scratch-all,scratch-examples</excludeArtifacts>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>