Skip to content

Commit a75247a

Browse files
committed
[fix] CiFriendliesOnly
1 parent 2dcf2d9 commit a75247a

3 files changed

Lines changed: 38 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,41 @@ mvn test -pl exist-core -Ddependency-check.skip=true -Ddocker=false
4141
mvn test -pl exist-core -Dtest="org.exist.xquery.XPathQueryTest" -Ddependency-check.skip=true -Ddocker=false
4242
```
4343

44+
### Distribution artifacts (zip, tar.bz2, DMG)
45+
46+
Produces release archives and, on macOS, an unsigned DMG suitable for local testing.
47+
Output lands in `exist-distribution/target/`.
48+
49+
```bash
50+
JAVA_HOME=$(/usr/libexec/java_home -v 21) \
51+
mvn -T1.5C clean package \
52+
-pl exist-distribution -am \
53+
-DskipTests \
54+
-Ddependency-check.skip=true \
55+
-Ddocker=false \
56+
-Drevision=7.0.0-SNAPSHOT
57+
```
58+
59+
The DMG is unsigned. For the fully signed and notarized DMG used in releases, see `exist-versioning-release.md`.
60+
61+
### IzPack installer JAR
62+
63+
Produces the cross-platform installer JAR in `exist-installer/target/`.
64+
Maven will warn "could not be activated because it does not exist" for the `installer` profile — this is a Maven 3 multi-module quirk; the build is correct.
65+
66+
```bash
67+
JAVA_HOME=$(/usr/libexec/java_home -v 21) \
68+
mvn -T1.5C clean package \
69+
-Pinstaller \
70+
-pl exist-installer -am \
71+
-DskipTests \
72+
-Ddependency-check.skip=true \
73+
-Ddocker=false \
74+
-Drevision=7.0.0-SNAPSHOT
75+
```
76+
77+
Run the installer: `java -jar exist-installer/target/exist-installer-7.0.0-SNAPSHOT.jar`
78+
4479
### Docker image
4580

4681
```bash

exist-distribution/pom.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,11 +1064,8 @@
10641064
<os>
10651065
<family>mac</family>
10661066
</os>
1067-
<!-- Opt-in: only when mac-signing=true so local dev builds and CI test runs don't attempt DMG creation -->
1068-
<property>
1069-
<name>mac-signing</name>
1070-
<value>true</value>
1071-
</property>
1067+
<!-- Active on any macOS build. Negate with !mac-dmg-on-mac for quick builds.
1068+
Signing and notarization are gated separately by codesign-mac-dmg (mac-signing=true). -->
10721069
</activation>
10731070
<build>
10741071
<plugins>

exist-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@
12271227
<artifactId>flatten-maven-plugin</artifactId>
12281228
<configuration>
12291229
<updatePomFile>true</updatePomFile>
1230-
<flattenMode>resolveCiFriendlyVersions</flattenMode>
1230+
<flattenMode>resolveCiFriendliesOnly</flattenMode>
12311231
</configuration>
12321232
<executions>
12331233
<execution>

0 commit comments

Comments
 (0)