On 11/04/2016 12:28 AM, Christopher wrote:
On Fri, Nov 4, 2016 at 1:43 AM Christopher
<ctubbsii(a)fedoraproject.org
<mailto:ctubbsii@fedoraproject.org>> wrote:
On Thu, Nov 3, 2016 at 11:40 PM Orion Poplawski <orion(a)cora.nwra.com
<mailto: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
Thanks a lot!
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
http://www.nwra.com