xolstice / protobuf-maven-plugin

Maven Plugin that executes the Protocol Buffers (protoc) compiler
https://www.xolstice.org/protobuf-maven-plugin/
Other
232 stars 76 forks source link

Upgrade to Java 8 and Maven 3.3.9 as a baseline #49

Closed sergei-ivanov closed 5 years ago

sergei-ivanov commented 5 years ago

Is your feature request related to a problem? Please describe.

It is 2019, and supporting really old versions of Java and Maven becomes more and more problematic. CI environments do not come with Java 6 and Java 7 pre-installed by default. The latest versions of protoc generate code that requires Java 8. There are some workarounds in this project's code to tackle breaking changes between Maven 3.0.x and Maven 3.3.x+. There are also Maven plugin compatibility warnings being shown at build time.

Describe the solution you'd like

Time to move on, upgrade all dependencies and CI configuration to use Java 8 for both compiling and running the plugin, as well as for running the integration tests. Also update the required Maven version to 3.3.9.

Describe alternatives you've considered

Do nothing and continue maintaining backward compatibility with old Java and old Maven. This will likely be only required for a very tiny fraction of user base. But any users still stuck on Java 6/7 and old versions of Maven will unlikely require any new features from this plugin, and can safely keep using the old plugin versions.

Additional context

http://maven.apache.org/docs/history.html