You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1c3475
Browse filesBrowse the repository at this point in the historyBrowse files
Workflows, issue template link, release skill, issue triager and docs
now use main. README links to the sources are relative, so they no longer
point to the old fvarrui repo and package paths (404 since the 2.0.0
package rename).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/agents/issue-triager.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ You triage GitHub issues of `javapackager/JavaPackager` (local clone, normally o
8
8
9
9
## Context
10
10
11
-
JavaPackager is a hybrid Maven/Gradle plugin (Java 8) that packages Java apps as native Windows/macOS/GNU/Linux apps and installers. Before starting, read `.minispec/core/architecture.md` and `.minispec/core/conventions.md`. Released code is on `master`; unreleased work is on `devel`. List it with `git log --oneline origin/master..origin/devel` and inspect commits with `git show <sha>`.
11
+
JavaPackager is a hybrid Maven/Gradle plugin (Java 8) that packages Java apps as native Windows/macOS/GNU/Linux apps and installers. Before starting, read `.minispec/core/architecture.md` and `.minispec/core/conventions.md`. Released code is on `main`; unreleased work is on `devel`. List it with `git log --oneline origin/main..origin/devel` and inspect commits with `git show <sha>`.
Copy file name to clipboardExpand all lines: .claude/skills/release/SKILL.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@ description: Prepare and publish a JavaPackager release to Maven Central and Git
5
5
6
6
# Release
7
7
8
-
Publishing a release is irreversible (Maven Central never deletes versions), so confirm with the user before each outward step: pushing to `master`, `releaseToCentral`, publishing the GitHub release, and closing issues.
8
+
Publishing a release is irreversible (Maven Central never deletes versions), so confirm with the user before each outward step: pushing to `main`, `releaseToCentral`, publishing the GitHub release, and closing issues.
9
9
10
10
## 1. Release notes
11
11
12
-
- Source: `git log --oneline --no-merges origin/master..origin/devel`, the `fix-*` notes in `.minispec/features/`, the ADRs, and `release-*.md`.
12
+
- Source: `git log --oneline --no-merges origin/main..origin/devel`, the `fix-*` notes in `.minispec/features/`, the ADRs, and `release-*.md`.
13
13
- Audience: plugin users. In English, following the user's Markdown rules, in the style of earlier releases (`gh release view <tag> --repo javapackager/JavaPackager`).
14
14
- Sections, in this order: Breaking changes (with a "How to upgrade" section and ready-to-copy snippets), New features, Fixed issues (`#n` references), Maintenance.
15
15
- Leave out regressions that only existed in `devel` and never reached a release.
@@ -27,7 +27,7 @@ Publishing a release is irreversible (Maven Central never deletes versions), so
27
27
## 3. Publish
28
28
29
29
1. Set `version` in `build.gradle` to `X.Y.Z` (no `-SNAPSHOT`), update the sample's `javapackager.version`, commit.
30
-
2. Merge `devel` into `master` and push (ask first). Point the draft release's target to `master`.
30
+
2. Merge `devel` into `main` and push (ask first). Point the draft release's target to `main`.
31
31
3. The user runs `./gradlew releaseToCentral`. It uploads through the Portal OSSRH Staging API in `user_managed` mode; then they review the deployment at https://central.sonatype.com/publishing/deployments and click **Publish**.
32
32
4. Verify it's on Maven Central (it can take a while to appear):
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Use the wrapper (`./gradlew` or `gradlew.bat` on Windows).
20
20
|`./gradlew updateNativeJavaApplicationStub`| Re-download the native macOS launchers (`nativeJavaApplicationStub*`) into `src/main/resources/mac` from a [javapackager/nativeJavaApplicationStub](https://github.com/javapackager/nativeJavaApplicationStub) release |
21
21
|`./gradlew updateWhyJavaLauncher`| Re-download `JavaLauncher.exe` into `src/main/resources/windows`|
22
22
23
-
There are no unit tests, so there is no way to run a single test. Changes are verified by the smoke tests in `.github/workflows/smoke-tests.yml`, which run on every push to `devel`/`master`: they package `samples/hello-world` (one sample with both `pom.xml` and `build.gradle`) with Maven on GNU/Linux, Windows and macOS (each `macStartup`) and with Gradle on each platform, and run `.github/scripts/check-*-app.sh`. Build with a JDK 17+ (a JRE can't compile).
23
+
There are no unit tests, so there is no way to run a single test. Changes are verified by the smoke tests in `.github/workflows/smoke-tests.yml`, which run on every push to `devel`/`main`: they package `samples/hello-world` (one sample with both `pom.xml` and `build.gradle`) with Maven on GNU/Linux, Windows and macOS (each `macStartup`) and with Gradle on each platform, and run `.github/scripts/check-*-app.sh`. Build with a JDK 17+ (a JRE can't compile).
24
24
25
25
`compileJava` triggers `generatePluginDescriptor`, which runs an embedded Maven against the generated POM to produce `META-INF/maven/plugin.xml` from the `@Mojo`/`@Parameter` annotations.
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
JavaPackager is a hybrid plugin for **Maven** and **Gradle** which provides an easy way to package Java applications in native Windows, MacOS or GNU/Linux executables, and generate installers for them.
7
7
8
8
> [!IMPORTANT]
9
-
> See [JavaPackager changes and fixes](https://github.com/fvarrui/JavaPackager/releases).
9
+
> See [JavaPackager changes and fixes](https://github.com/javapackager/JavaPackager/releases).
10
10
11
11
> [!WARNING]
12
12
> Since 2.0.0 the plugin's `groupId` is `io.github.javapackager`, the Gradle plugin id is `io.github.javapackager` and the Gradle task type is `io.github.javapackager.gradle.PackageTask` (up to 1.7.6: `io.github.fvarrui`, `io.github.fvarrui.javapackager.plugin` and `io.github.fvarrui.javapackager.gradle.PackageTask`). Update them in your `pom.xml` or `build.gradle` when upgrading.
@@ -15,7 +15,7 @@ JavaPackager is a hybrid plugin for **Maven** and **Gradle** which provides an e
15
15
16
16
This project has been actively maintained for many years, but due to lack of time, I can no longer dedicate the attention it deserves. To keep it alive and evolving, I’m looking for contributors to help with its maintenance.
17
17
18
-
:point_right:**[Join the discussion](https://github.com/fvarrui/JavaPackager/discussions/460)**
18
+
:point_right:**[Join the discussion](https://github.com/javapackager/JavaPackager/discussions/460)**
19
19
20
20
Any help is welcome! Thank you for your support.
21
21
@@ -177,7 +177,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
177
177
|`displayName`|:x:|`${project.name}` or `${name}`| App name to show. |
178
178
|`envPath`|:x:|| Defines PATH environment variable in GNU/Linux and MacOS startup scripts. |
179
179
|`extra`|:x:|| Map with extra properties to be used in customized Velocity templates, accesible through `$info.extra` variable. |
180
-
|`fileAssociations`|:x:|[`FileAssociation[]`](https://github.com/fvarrui/JavaPackager/blob/master/src/main/java/io/github/fvarrui/javapackager/model/FileAssociation.java)| Associate file extensions or MIME types to the app. |
180
+
|`fileAssociations`|:x:|[`FileAssociation[]`](src/main/java/io/github/javapackager/model/FileAssociation.java)| Associate file extensions or MIME types to the app. |
181
181
|`forceInstaller`|:x:|`false`| If `true`, skips operating system check when generating installers. |
182
182
|`generateInstaller`|:x:|`true`| Generates an installer for the app. |
183
183
|`jdkPath`|:x:|`${java.home}`| JDK used to generate a customized JRE. It allows to bundle customized JREs for different platforms. |
@@ -219,7 +219,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
219
219
220
220
### Plugin assets
221
221
222
-
Any [asset used by JavaPackager](https://github.com/fvarrui/JavaPackager/tree/master/src/main/resources), such as application icons or templates, can be replaced just by placing a file with the same name in `${assetsDir}` folder organized by platform.
222
+
Any [asset used by JavaPackager](src/main/resources), such as application icons or templates, can be replaced just by placing a file with the same name in `${assetsDir}` folder organized by platform.
223
223
224
224
```bash
225
225
${assetsDir}/
@@ -243,7 +243,7 @@ ${assetsDir}/
243
243
```
244
244
245
245
> [!WARNING]
246
-
> If icon is not specified , it will use an [icon by default](https://raw.githubusercontent.com/fvarrui/JavaPackager/master/src/main/resources/linux/default-icon.png) for all platforms.
246
+
> If icon is not specified , it will use an [icon by default](src/main/resources/linux/default-icon.png) for all platforms.
247
247
248
248
#### Templates
249
249
@@ -276,9 +276,9 @@ ${assetsDir}/
276
276
└── wxs.vtl # WiX Toolset WXS template to generate MSI
277
277
```
278
278
279
-
An object called `info` of type [`PackagerSettings`](https://github.com/fvarrui/JavaPackager/blob/master/src/main/java/io/github/fvarrui/javapackager/packagers/PackagerSettings.java) is passed to all templates with all plugin properties.
279
+
An object called `info` of type [`PackagerSettings`](src/main/java/io/github/javapackager/packagers/PackagerSettings.java) is passed to all templates with all plugin properties.
280
280
281
-
You can use [default templates](https://github.com/fvarrui/JavaPackager/tree/master/src/main/resources) as examples to create your own templates, and use the `extra` map property to add your own properties in the plugin settings to use in your custom templates (e.g. `${info.extra["myProperty"]}`).
281
+
You can use [default templates](src/main/resources) as examples to create your own templates, and use the `extra` map property to add your own properties in the plugin settings to use in your custom templates (e.g. `${info.extra["myProperty"]}`).
282
282
283
283
### Additional JVM options at runtime
284
284
@@ -405,7 +405,7 @@ cd JavaPackager
405
405
> [!IMPORTANT]
406
406
> Build the plugin with a JDK 17 or newer (a JRE is not enough). The plugin itself targets Java 8.
407
407
408
-
Every push to `devel` and `master` runs the smoke tests (`.github/workflows/smoke-tests.yml`): they package [`samples/hello-world`](samples/hello-world) with the Maven and the Gradle plugin on GNU/Linux, Windows and macOS and check the generated apps and installers.
408
+
Every push to `devel` and `main` runs the smoke tests (`.github/workflows/smoke-tests.yml`): they package [`samples/hello-world`](samples/hello-world) with the Maven and the Gradle plugin on GNU/Linux, Windows and macOS and check the generated apps and installers.
0 commit comments