apache / pekko-connectors

Apache Pekko Connectors is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Apache Pekko.
https://pekko.apache.org/
Apache License 2.0
56 stars 27 forks source link

fix: disable -Werror for 'file' on Java 21 CI #714

Closed raboof closed 1 week ago

raboof commented 1 week ago

Possible alternative to https://github.com/apache/pekko-connectors/pull/713

pjfanning commented 5 days ago

@raboof this doesn't seem to work.

From last night: https://github.com/apache/pekko-connectors/actions/runs/9777462372

I ran this locally just now too. I used Java 21 and modified the build.sbt to get rid of the insideCI check. This insideCI check makes it awkward to test locally.

https://github.com/apache/pekko-connectors/blob/1ba7a18d266db9afa09c6e98a260727cd94b2558/project/Common.scala#L107

I used sbt file/test and it failed because the -Werror was still applied.

raboof commented 5 days ago

ugh, sorry about that, #723 should do it...