On Fri, Nov 4, 2016 at 1:43 AM Christopher <ctubbsii@fedoraproject.org> wrote:
On Thu, Nov 3, 2016 at 11:40 PM Orion Poplawski <orion@cora.nwra.com> wrote:
I can't figure out why the protobuf maven java builds are failing.
Could some java/maven expert please take a look?

https://www.cora.nwra.com/~orion/fedora/protobuf-3.1.0-1.fc26.src.rpm

http://koji.fedoraproject.org/koji/taskinfo?taskID=16285661

Thanks!


Wow, protobuf build is messy!

In any case, the build breaks as of maven-compiler-plugin version 3.5.1 and later. I believe it's because of the change forĀ https://issues.apache.org/jira/browse/MCOMPILER-240

The proper way to add source directories to the compile classpath is to use the build-helper-maven-plugin.
In the core/pom.xml, replace the maven-compiler-plugin section with:
[snip]


I've created an upstream patch, if it helps. (Not yet accepted upstream.):
https://github.com/google/protobuf/pull/2327
https://github.com/google/protobuf/pull/2327.patch