Known Issues

While every attempt is made to ensure this plugin is as functional and complete as possible, some known issues may exist. Any actively known issues will be documented on this page when they are found.

If you have found a problem. Please raise an issue on GitHub.

Note that any issues fixed in newer versions of both this software and other pieces of software will not be documented here. Please ensure you are using the latest version of dependencies and plugins where possible prior to raising an issue.


Windows path length issues

Microsoft Windows historically enforces that executables do not have an absolute path that is more than 260 characters in size. This has been lifted for Windows 11 but requires JDK changes to be compatible, and at the time of writing, this has not been implemented.

For users, this means that running builds within overly nested hierarchies, or using very long directory names on Windows may result in builds failing. This generally looks like the following error:

java.io.IOException: Cannot run program "C:\some\very\long\path\to\a\script-or-executable.exe": CreateProcess error=2, The system cannot find the file specified

At the time of writing, the only real workaround for this is to use a shorter absolute path, which means moving your build nearer to the root directory of your drive you are building from (e.g. C:\).

See:

If this blocks you, please mention it on the first bug to help bring further attention to it.

In the meantime, any further bugs relating to this on the protobuf-maven-plugin will not be fixed unless a suitable workaround is available.

This does not affect users on Linux or macOS.