Skip to content

Commit d1c3475

Browse files
fvarruiclaude
andcommitted
Rename master to main
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>
1 parent 1b3f2eb commit d1c3475

8 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎.claude/agents/issue-triager.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You triage GitHub issues of `javapackager/JavaPackager` (local clone, normally o
88

99
## Context
1010

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>`.
1212

1313
## For each issue
1414

‎.claude/skills/release/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ description: Prepare and publish a JavaPackager release to Maven Central and Git
55

66
# Release
77

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.
99

1010
## 1. Release notes
1111

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`.
1313
- Audience: plugin users. In English, following the user's Markdown rules, in the style of earlier releases (`gh release view <tag> --repo javapackager/JavaPackager`).
1414
- Sections, in this order: Breaking changes (with a "How to upgrade" section and ready-to-copy snippets), New features, Fixed issues (`#n` references), Maintenance.
1515
- 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
2727
## 3. Publish
2828

2929
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`.
3131
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**.
3232
4. Verify it's on Maven Central (it can take a while to appear):
3333

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Documentation
4-
url: https://github.com/javapackager/JavaPackager/blob/master/README.md
4+
url: https://github.com/javapackager/JavaPackager/blob/main/README.md
55
about: Check the documentation before opening an issue.

‎.github/workflows/dependency-submission.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Dependency submission
55

66
on:
77
push:
8-
branches: [ devel, master ]
8+
branches: [ devel, main ]
99
workflow_dispatch:
1010

1111
permissions:

‎.github/workflows/smoke-tests.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Smoke tests
22

33
on:
44
push:
5-
branches: [ devel, master ]
5+
branches: [ devel, main ]
66
pull_request:
7-
branches: [ devel, master ]
7+
branches: [ devel, main ]
88
workflow_dispatch:
99

1010
jobs:

‎.minispec/features/dependabot-alerts.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Goal
44

5-
Clear the Dependabot alerts on `master`: fix the ones that reach users, and fix or dismiss with a reason the ones only in the plugin's own build.
5+
Clear the Dependabot alerts on `main`: fix the ones that reach users, and fix or dismiss with a reason the ones only in the plugin's own build.
66

77
## Context
88

‎CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Use the wrapper (`./gradlew` or `gradlew.bat` on Windows).
2020
| `./gradlew updateNativeJavaApplicationStub` | Re-download the native macOS launchers (`nativeJavaApplicationStub*`) into `src/main/resources/mac` from a [javapackager/nativeJavaApplicationStub](https://github.com/javapackager/nativeJavaApplicationStub) release |
2121
| `./gradlew updateWhyJavaLauncher` | Re-download `JavaLauncher.exe` into `src/main/resources/windows` |
2222

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).
2424

2525
`compileJava` triggers `generatePluginDescriptor`, which runs an embedded Maven against the generated POM to produce `META-INF/maven/plugin.xml` from the `@Mojo`/`@Parameter` annotations.
2626

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
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.
77

88
> [!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).
1010
1111
> [!WARNING]
1212
> 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
1515

1616
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.
1717

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)**
1919

2020
Any help is welcome! Thank you for your support.
2121

@@ -177,7 +177,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
177177
| `displayName` | :x: | `${project.name}` or `${name}` | App name to show. |
178178
| `envPath` | :x: | | Defines PATH environment variable in GNU/Linux and MacOS startup scripts. |
179179
| `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. |
181181
| `forceInstaller` | :x: | `false` | If `true`, skips operating system check when generating installers. |
182182
| `generateInstaller` | :x: | `true` | Generates an installer for the app. |
183183
| `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:
219219
220220
### Plugin assets
221221

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.
223223

224224
```bash
225225
${assetsDir}/
@@ -243,7 +243,7 @@ ${assetsDir}/
243243
```
244244

245245
> [!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.
247247
248248
#### Templates
249249

@@ -276,9 +276,9 @@ ${assetsDir}/
276276
└── wxs.vtl # WiX Toolset WXS template to generate MSI
277277
```
278278

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.
280280

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"]}`).
282282

283283
### Additional JVM options at runtime
284284

@@ -405,7 +405,7 @@ cd JavaPackager
405405
> [!IMPORTANT]
406406
> Build the plugin with a JDK 17 or newer (a JRE is not enough). The plugin itself targets Java 8.
407407
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.
409409

410410
## How to publish the plugin to Maven Central
411411

0 commit comments

Comments
 (0)