-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: JavaAppPackaging dependencies on Bash and Bat script plugins #1559
fix: JavaAppPackaging dependencies on Bash and Bat script plugins #1559
Conversation
Hi @jakubjanecek, Thank you for your contribution! We really value the time you've taken to put this together. We see that you have signed the Lightbend Contributors License Agreement before, however, the CLA has changed since you last signed it. |
I just signed the CLA. |
@muuki88 Can you please have a look at this PR so that we can merge it? Thanks. |
Thanks for the ping. Seems I have missed it. |
@muuki88 Thanks. The build does not pass and I think it's because the tests run on older versions of sbt (there is a cross compilation to sbt |
@jakubjanecek the new dependencies seem to cause an error
Maybe you also need to update the sbt version that is running the tests? |
So after all this won't work. I haven't noticed that BashStartScriptPlugin and its Bat counterpart both depend on JavaAppPackaging so there is a cycle and that's why the tests fail. This can be fixed in some external plugin that can force the initialization order (which is what we are doing in our internal plugins) but it can't be done here directly. @muuki88 I think we can close this PR (I don't have permission to do so) unless you have an idea how to resolve this. |
Oh no 😬 that's very unfortunate. I have no other idea on how to fix this, unfortunately 🥲 |
Use of
bashScriptExtraDefines
stopped working since sbt 1.9.7 which brought different order of auto plugins application (sbt/sbt@7beb23e). The reason seems to be thatJavaAppPackaing
plugin does not depend onBashStartScriptPlugin
directly. Similar issue as encountered here: sbt/sbt-javaagent#28 (comment)