Add immutables.value to annotationProcessorPaths 46/85546/5
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Nov 2019 10:52:22 +0000 (11:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Nov 2019 13:11:18 +0000 (14:11 +0100)
commitaecd81c7552fb173b5ccb002421820a37ab62f4d
tree7bc8fc48a3ea2e6413d7a2017b02221e2a06f9d6
parent831a177948e3a21d03503a0260699675f5cb8a24
Add immutables.value to annotationProcessorPaths

Immutables do not work in our setup with JPMS modules, as they
are not picked up from general dependency path. Also we do not need
the full dependency in each module, just the annotations package.

This is based on:
https://github.com/immutables/immutables/issues/713#issuecomment-419750206
https://github.com/immutables/immutables/issues/750
https://github.com/immutables/immutables/issues/745#issuecomment-375952158

JIRA: ODLPARENT-216
Change-Id: Ib1b6f89b537fe27dbf68bec166b7ebdab042c483
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
odlparent/pom.xml
pom.xml
tests/immutables-jpms/pom.xml [new file with mode: 0644]
tests/immutables-jpms/src/main/java/module-info.java [new file with mode: 0644]
tests/immutables-jpms/src/main/java/org/opendaylight/odlparent/test/immutables/jpms/JpmsInterface.java [new file with mode: 0644]
tests/immutables-jpms/src/test/java/org/opendaylight/odlparent/test/immutables/jpms/JmpsInterfaceTest.java [new file with mode: 0644]
tests/immutables-plain/pom.xml [new file with mode: 0644]
tests/immutables-plain/src/main/java/org/opendaylight/odlparent/test/immutables/plain/PlainInterface.java [new file with mode: 0644]
tests/immutables-plain/src/test/java/org/opendaylight/odlparent/test/immutables/plain/PlainInterfaceTest.java [new file with mode: 0644]
tests/pom.xml [new file with mode: 0644]