File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,13 @@ name: Release
22
33# Triggered by an eXist-* tag (created by ci-release-prepare.yml).
44# Four jobs run in parallel then converge on a single GitHub Release:
5- # build-linux — Maven Central deploy + zip/tar archives (Ubuntu; installer excluded )
5+ # build-linux — Maven Central deploy + zip/tar archives (Ubuntu)
66# build-mac — signed + notarized DMG (macOS; installer excluded)
7- # build-windows — signed installer JAR + Authenticode .exe (Windows)
7+ # build-windows — jarsigner + Authenticode signed installer JAR + .exe (Windows)
88# publish-github-release — collects all artifacts, creates the GitHub Release
9+ #
10+ # The installer JAR is built and deployed to Maven Central from build-linux (GPG-signed).
11+ # The Windows job re-builds and jarsigner-signs it for the GitHub Release download.
912
1013on :
1114 push :
7881 -Ddependency-check.skip=true \
7982 -Dlicense.skip=true \
8083 -Dexistdb.release.key="$EXISTDB_RELEASE_KEY_ID" \
81- --projects '!exist-installer' \
8284 clean deploy
8385
8486 - name : Collect distribution archives
Original file line number Diff line number Diff line change 5353 <izpack .installation.info.appversion>${project.version} </izpack .installation.info.appversion>
5454 <izpack .installation.info.author.name>${project.organization.name} </izpack .installation.info.author.name>
5555 <izpack .installation.info.author.email>${contact.email} </izpack .installation.info.author.email>
56+
57+ <!-- This module has no Java sources. Suppress the real source/javadoc plugins
58+ activated by the release-build profile; placeholder JARs are produced
59+ instead to satisfy Maven Central requirements. -->
60+ <maven .source.skip>true</maven .source.skip>
61+ <maven .javadoc.skip>true</maven .javadoc.skip>
5662 </properties >
5763
5864 <dependencies >
124130 </configuration >
125131 </plugin >
126132
133+ <!-- Produce placeholder -sources.jar and -javadoc.jar for Maven Central.
134+ Central requires these for all non-pom artifacts; a README is
135+ sufficient when there are no Java sources to document. -->
127136 <plugin >
128137 <groupId >org.apache.maven.plugins</groupId >
129- <artifactId >maven-install-plugin</artifactId >
130- <configuration >
131- <skip >true</skip >
132- </configuration >
133- </plugin >
134-
135- <plugin >
136- <groupId >org.apache.maven.plugins</groupId >
137- <artifactId >maven-deploy-plugin</artifactId >
138- <configuration >
139- <skip >true</skip >
140- </configuration >
138+ <artifactId >maven-jar-plugin</artifactId >
139+ <executions >
140+ <execution >
141+ <id >placeholder-sources</id >
142+ <phase >package</phase >
143+ <goals >
144+ <goal >jar</goal >
145+ </goals >
146+ <configuration >
147+ <classifier >sources</classifier >
148+ <classesDirectory >${project.basedir} /src/main/resources</classesDirectory >
149+ </configuration >
150+ </execution >
151+ <execution >
152+ <id >placeholder-javadoc</id >
153+ <phase >package</phase >
154+ <goals >
155+ <goal >jar</goal >
156+ </goals >
157+ <configuration >
158+ <classifier >javadoc</classifier >
159+ <classesDirectory >${project.basedir} /src/main/resources</classesDirectory >
160+ </configuration >
161+ </execution >
162+ </executions >
141163 </plugin >
142164 </plugins >
143165 </build >
Original file line number Diff line number Diff line change 1+ This artifact contains no Java sources or Javadoc.
2+ The eXist-db IzPack installer is a self-contained cross-platform installer JAR.
3+ Project sources: https://github.com/eXist-db/exist
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ The `ci-release.yml` workflow runs four jobs in parallel then converges:
111111| Job | Runner | Output |
112112| -----| --------| --------|
113113| ` build-linux ` | ubuntu-latest | zip + tar.bz2 archives + installer JAR; deploy all to Maven Central (GPG-signed) |
114- | ` build-mac ` | macos-latest | signed + notarized DMG; installer JAR built (not deployed ) |
114+ | ` build-mac ` | macos-latest | signed + notarized DMG ( installer excluded ) |
115115| ` build-windows ` | windows-latest | jarsigner + Authenticode signed installer JAR + ` .exe ` for GitHub Release |
116116| ` publish-github-release ` | ubuntu-latest | GitHub Release with all assets attached |
117117
You can’t perform that action at this time.
0 commit comments