Skip to content

Added support for Solaris / illumos#1018

Merged
ascopes merged 1 commit into
ascopes:mainfrom
siepkes:solaris-support
Jun 22, 2026
Merged

Added support for Solaris / illumos#1018
ascopes merged 1 commit into
ascopes:mainfrom
siepkes:solaris-support

Conversation

@siepkes

@siepkes siepkes commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This change adds support for using the plugin on illumos and Solaris.

While there is no official protoc artifact in Maven central, it's quite easy to build protoc for Solaris and deploy it to a local repository. For example using a command like:

mvn deploy:deploy-file \
  -DrepositoryId=third-party \
  -Durl=https://reposilite.example.com/third-party/ \
  -Dfile="protoc-4.35.1-sunos-x86_64.exe" \
  -DgroupId="com.google.protobuf" \
  -DartifactId="protoc" \
  -Dversion="4.35.1" \
  -Dpackaging=exe \
  -Dclassifier="sunos-x86_64" \
  -DcreateChecksum=true

I've tested the plugin with this change on illumos.

@ascopes

ascopes commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Thanks for raising this.

Looks good to me!

Wonder if it is worth mentioning in https://github.com/ascopes/protobuf-maven-plugin/blob/main/protobuf-maven-plugin/src/site/markdown/changing-protoc-versions.md or the examples page in the same directory. What do you think, would that be useful do you think?

@codecov

codecov Bot commented Jun 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.10%. Comparing base (25529ac) to head (c932d26).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1018      +/-   ##
==========================================
+ Coverage   94.09%   94.10%   +0.02%     
==========================================
  Files          78       78              
  Lines        2044     2048       +4     
  Branches      129      131       +2     
==========================================
+ Hits         1923     1927       +4     
  Misses         85       85              
  Partials       36       36              
Flag Coverage Δ
maven-3.9.16-java-17-macos-26 92.39% <100.00%> (+0.02%) ⬆️
maven-3.9.16-java-17-ubuntu-24.04 93.36% <100.00%> (+0.02%) ⬆️
maven-3.9.16-java-17-ubuntu-24.04-arm 92.39% <100.00%> (+0.02%) ⬆️
maven-3.9.16-java-17-windows-2025 91.51% <100.00%> (+0.02%) ⬆️
maven-3.9.16-java-21-ubuntu-24.04 93.36% <100.00%> (+0.02%) ⬆️
maven-3.9.16-java-21-windows-11-arm 91.51% <100.00%> (+0.02%) ⬆️
maven-3.9.16-java-25-ubuntu-24.04 93.36% <100.00%> (+0.02%) ⬆️
maven-3.9.6-java-17-ubuntu-24.04 93.36% <100.00%> (+0.02%) ⬆️
maven-4.0.0-rc-5-java-17-ubuntu-24.04 93.36% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...plugin/dependencies/PlatformClassifierFactory.java 100.00% <100.00%> (ø)
...ascopes/protobufmavenplugin/system/HostSystem.java 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@siepkes

siepkes commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Always happy to document things! What kind of documentation were you thinking about? Some documentation about how to deloy self-built protoc binaries and how to use them with the plugin?

@ascopes

ascopes commented Jun 22, 2026

Copy link
Copy Markdown
Owner

@siepkes I was originally just thinking about the mention of the fact that platforms like Solaris are now supported so long as a custom build is provided... however, the idea of having a separate page that documents how to go about actually building that would be pretty cool too!

This change adds support for using the plugin on illumos and Solaris.

While there is no official protoc artifact in Maven central, it's quite easy to build protoc for Solaris.
@siepkes

siepkes commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

I've added some documentation. Let me know what you think about it!

@ascopes

ascopes commented Jun 22, 2026

Copy link
Copy Markdown
Owner

LGTM, thanks!

@ascopes ascopes merged commit f05fe86 into ascopes:main Jun 22, 2026
13 checks passed
@ascopes

ascopes commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Will push in a release in a few mins, should be on Maven Central for consumption in the next hour or so hopefully.

mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Jun 29, 2026
…to 5.1.6 [skip ci]

Bumps [io.github.ascopes:protobuf-maven-plugin](https://github.com/ascopes/protobuf-maven-plugin) from 5.1.5 to 5.1.6.
Release notes

*Sourced from [io.github.ascopes:protobuf-maven-plugin's releases](https://github.com/ascopes/protobuf-maven-plugin/releases).*

> v5.1.6
> ------
>
> What's Changed
> --------------
>
> * Forbid unused imports by [`@​ascopes`](https://github.com/ascopes) in [ascopes/protobuf-maven-plugin#1017](https://redirect.github.com/ascopes/protobuf-maven-plugin/pull/1017)
> * Bump actions/checkout from 6 to 7 by [`@​dependabot`](https://github.com/dependabot)[bot] in [ascopes/protobuf-maven-plugin#1019](https://redirect.github.com/ascopes/protobuf-maven-plugin/pull/1019)
> * Added support for Solaris / illumos by [`@​siepkes`](https://github.com/siepkes) in [ascopes/protobuf-maven-plugin#1018](https://redirect.github.com/ascopes/protobuf-maven-plugin/pull/1018)
>
> New Contributors
> ----------------
>
> * [`@​siepkes`](https://github.com/siepkes) made their first contribution in [ascopes/protobuf-maven-plugin#1018](https://redirect.github.com/ascopes/protobuf-maven-plugin/pull/1018)
>
> **Full Changelog**: <ascopes/protobuf-maven-plugin@v5.1.5...v5.1.6>


Commits

* [`7bf0941`](ascopes/protobuf-maven-plugin@7bf0941) [maven-release-plugin] prepare release v5.1.6
* [`f05fe86`](ascopes/protobuf-maven-plugin@f05fe86) Merge pull request [#1018](https://redirect.github.com/ascopes/protobuf-maven-plugin/issues/1018) from siepkes/solaris-support
* [`c932d26`](ascopes/protobuf-maven-plugin@c932d26) Added support for Solaris / illumos
* [`21bb21b`](ascopes/protobuf-maven-plugin@21bb21b) Merge pull request [#1019](https://redirect.github.com/ascopes/protobuf-maven-plugin/issues/1019) from ascopes/dependabot/github\_actions/main/actions/...
* [`3c22c18`](ascopes/protobuf-maven-plugin@3c22c18) Bump actions/checkout from 6 to 7
* [`25529ac`](ascopes/protobuf-maven-plugin@25529ac) Merge pull request [#1017](https://redirect.github.com/ascopes/protobuf-maven-plugin/issues/1017) from ascopes/task/forbid-unused-imports
* [`72c4cda`](ascopes/protobuf-maven-plugin@72c4cda) Forbid unused imports
* [`a9f9e6c`](ascopes/protobuf-maven-plugin@a9f9e6c) [maven-release-plugin] prepare for next development iteration
* See full diff in [compare view](ascopes/protobuf-maven-plugin@v5.1.5...v5.1.6)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=io.github.ascopes:protobuf-maven-plugin&package-manager=maven&previous-version=5.1.5&new-version=5.1.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants