Releases: ascopes/protobuf-maven-plugin
Releases · ascopes/protobuf-maven-plugin
v2.0.0
Breaking changes
-Dprotoc.version
is now named-Dprotobuf.compiler.version
- URL and path based plugins now are specified as objects with multiple attributes rather than strings. See the documentation for the new structural changes.
- Parameter aliases from v0.x and v1.x that were documented as "deprecated" have been completely removed.
- Dependency Resolution Depth cannot be overridden for protoc plugins anymore. This is done on purpose as it can lead to misconfigured builds and provides little end-user benefit.
Fixes
- Handling of non-resolvable file-based URLs has been improved and will give more meaningful error messages now.
- Turning off all languages and providing no plugins is now handled without calling protoc with erroneous arguments.
- URL resolution has been massively simplified internally, leading to fewer potential edge cases that may cause problems with usage on exotic protocols.
- Improvements to debug and info logging.
New features
- Protoc plugins can now be passed custom arguments via Maven configuration.
- The Maven plugin now has a
skip
parameter that can be set via-Dprotobuf.skip
to skip the plugin execution. - URL and path protoc plugins now take an optional
optional
attribute that can be set to true to prevent resolution errors failing the entire build. This enables having optional plugins that may only be able to be run during CI (such as Go-binaries that are on the CI server$PATH
). - All protoc plugins now can be marked as skipped. Users can bind property references to this if they wish to make it possible to turn individual protoc plugins on and off.
- Failure to resolve any languages or plugins can now result in the plugin being skipped if desired, rather than a build error. This compliments the optional protoc plugins functionality for people who only want to run optional plugins without any built-in language generation being run.
Merges
- Fix typos in Mojo parameter descriptions by @joh-ivu in #179
- GH-168: Support provisionally providing options to protoc plugins by @ascopes in #180
- Remove deprecated aliases for v2.0.0 by @ascopes in #181
- Bump org.apache.maven.resolver:maven-resolver-api from 1.9.19 to 1.9.20 by @dependabot in #185
- Bump com.puppycrawl.tools:checkstyle from 10.15.0 to 10.16.0 by @dependabot in #186
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.2 by @dependabot in #187
- Add reproduction for GH-172 to main branch by @ascopes in #188
- Simplify the URL resource fetcher mechanism by @ascopes in #191
- Make URL resolution optional by @ascopes in #192
- GH-182: Optional plugins by @ascopes in #189
- GH-184: Add parameter to skip plugin invocation. by @ascopes in #193
- Rename protoc.version to protobuf.compiler.version by @ascopes in #194
- Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.12.0 to 3.13.0 by @dependabot in #195
- Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.12.0 to 3.13.0 by @dependabot in #197
- Bump org.apache.maven.plugins:maven-plugin-plugin from 3.12.0 to 3.13.0 by @dependabot in #196
Full Changelog: v1.2.1...v2.0.0
v2.0.0-alpha2
What's Changed
- Bump org.apache.maven.resolver:maven-resolver-api from 1.9.19 to 1.9.20 by @dependabot in #185
- Bump com.puppycrawl.tools:checkstyle from 10.15.0 to 10.16.0 by @dependabot in #186
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.2 by @dependabot in #187
- Add reproduction for GH-172 to main branch by @ascopes in #188
- Simplify the URL resource fetcher mechanism by @ascopes in #191
- Make URL resolution optional by @ascopes in #192
- GH-182: Optional plugins by @ascopes in #189
Full Changelog: v2.0.0-alpha1...v2.0.0-alpha2
v2.0.0-alpha1
v1.2.1
What's Changed
- Restructure how the argline builder operates to defer creation. by @ascopes in #173
- Bump org.apache.maven.resolver:maven-resolver-api from 1.9.18 to 1.9.19 by @dependabot in #174
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.0 to 3.4.1 by @dependabot in #176
- Bump kotlin.version from 1.9.21 to 1.9.23 by @dependabot in #175
- Make Shlex emit line continutations to improve command line output visually by @ascopes in #177
- Fix invalid prerequisites declaration in parent POM. Minimum Maven version checks should operate correctly again now.
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.0 to 3.6.1 by @dependabot in #144
- Bump com.puppycrawl.tools:checkstyle from 10.14.2 to 10.15.0 by @dependabot in #145
- Build on Java 22 by @ascopes in #140
- Fix order of -classpath flag in JvmPluginResolver by @ascopes in #147
- Simplify project dependency resolution by @ascopes in #148
- GH-101: Use Aether artifact resolver directly by @ascopes in #149
- Move MavenArtifact class to base package since it is part of the public API by @ascopes in #150
- GH-134: Write test to check for duplicated dependencies when versions differ by @ascopes in #151
- Remove documentation for version ranges for protoc. by @ascopes in #152
- GH-135: Support building from archives hosted in Maven repositories by @ascopes in #153
- GH-135: Add ability to exclude project dependencies from import paths by @ascopes in #154
- GH-135: Add the ability to specify additional import dependencies explicitly by @ascopes in #155
- Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.11.0 to 3.12.0 by @dependabot in #157
- Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #158
- Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 by @dependabot in #156
- Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.11.0 to 3.12.0 by @dependabot in #159
- Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 by @dependabot in #160
- Require Maven to be running online during execution. by @ascopes in #161
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.0 by @dependabot in #163
- Bump slf4j.version from 2.0.12 to 2.0.13 by @dependabot in #162
- Use common parent POM for plugin and all ITs by @ascopes in #170
- GH-164: Do not drop individual artifacts with DIRECT dependency resolution scope. by @ascopes in #171
Full Changelog: v1.1.3...v1.2.0
v1.2.0-rc1
What's Changed
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.0 to 3.6.1 by @dependabot in #144
- Bump com.puppycrawl.tools:checkstyle from 10.14.2 to 10.15.0 by @dependabot in #145
- Build on Java 22 by @ascopes in #140
- Fix order of -classpath flag in JvmPluginResolver by @ascopes in #147
- Simplify project dependency resolution by @ascopes in #148
- GH-101: Use Aether artifact resolver directly by @ascopes in #149
- Move MavenArtifact class to base package since it is part of the public API by @ascopes in #150
- GH-134: Write test to check for duplicated dependencies when versions differ by @ascopes in #151
- Remove documentation for version ranges for protoc. by @ascopes in #152
- GH-135: Support building from archives hosted in Maven repositories by @ascopes in #153
- GH-135: Add ability to exclude project dependencies from import paths by @ascopes in #154
- GH-135: Add the ability to specify additional import dependencies explicitly by @ascopes in #155
- Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.11.0 to 3.12.0 by @dependabot in #157
- Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #158
- Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 by @dependabot in #156
- Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.11.0 to 3.12.0 by @dependabot in #159
- Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 by @dependabot in #160
Full Changelog: v1.1.2...v1.2.0-rc1
v1.1.3
- Addresses an issue with the classpath ordering of JVM plugins, resulting in exceptions in some cases during plugin execution.
Full Changelog: v1.1.2...v1.1.3
v1.1.2
v1.1.1
What's Changed
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 by @dependabot in #127
- BUGFIX: Custom paths failing to parse - fixes issue #129 by using File in the configuration by @joh-ivu in #130
New Contributors
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- GH-122: Bump to protoc 4.26.0 from 3.25.3 by @ascopes in #123
- Add support for additional languages by @ascopes in #121
- Bump com.puppycrawl.tools:checkstyle from 10.14.1 to 10.14.2 by @dependabot in #124
Full Changelog: v1.0.0...v1.1.0