Closed lukasfroehlich1 closed 3 years ago
@lukasfroehlich1 thanks for reporting the issue. I wonder if you've time to file a PR with the suggested fix (https://github.com/bazelbuild/bazel-integration-testing/pull/159)
Will this do? I made a fork with a release based on this PR and it works very well for my project on 2.2.0. (https://github.com/OpenAPITools/openapi-generator-bazel/pull/10)
Any updates on this PR?
I hit other issues on Java build, the code generation doesn't create a source jar. This creates issue with bazel dependency since bazel doesn't expand directory while evaluating dependencies. I made a fork on top of (https://github.com/acidmoose/openapi-generator-bazel) to fix this issue and has worked well for me -- my fork is at https://github.com/ajc-contribs/openapi-generator-bazel
Great work on #10 looks like solves this issue 🎉 I Can't wait for the release ❗
With Bazel 2.0.0 I get the following error when building after following the quickstart guide:
Looks like this is due to bazel 2.0.0 removing maven_jar, https://github.com/bazelbuild/bazel/pull/10237. Downgrading to version 1.2.1 of bazel fixed the issue.
An example migration to fix this: https://github.com/bazelbuild/bazel-integration-testing/pull/159