Michael Musgrove created JBTM-3093:
--------------------------------------
Summary: maven site plugin fails on the LRA client module
Key: JBTM-3093
URL:
https://issues.jboss.org/browse/JBTM-3093
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.9.2.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.next
LRA relies on microprofile-lra-api snapshot builds but the site module appears to resolve
to the latest snapshot (rather than a particular snapshot build) and since
microprofile-lra-api regularly undergoes changes there is a compilation failure:
```
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/jenkins/workspace/narayana-codeCoverage/rts/lra/lra-client/src/main/java/io/narayana/lra/client/NarayanaLRAClient.java:[89,8]
io.narayana.lra.client.NarayanaLRAClient is not abstract and does not override abstract
method joinLRA(java.net.URL,java.lang.Class<?>,java.net.URI,java.lang.String) in
org.eclipse.microprofile.lra.client.LRAClient
[ERROR]
/home/jenkins/workspace/narayana-codeCoverage/rts/lra/lra-client/src/main/java/io/narayana/lra/client/NarayanaLRAClient.java:[545,19]
joinLRA(java.net.URL,java.lang.Class<?>,java.net.URI,java.lang.String) in
io.narayana.lra.client.NarayanaLRAClient cannot implement
joinLRA(java.net.URL,java.lang.Class<?>,java.net.URI,java.lang.String) in
org.eclipse.microprofile.lra.client.LRAClient
return type java.lang.String is not compatible with java.net.URL
```
--
This message was sent by Atlassian Jira
(v7.12.1#712002)