Skip to content
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

Update plugin to latest upstream release #11

Open
dotta opened this issue Jan 23, 2020 · 1 comment
Open

Update plugin to latest upstream release #11

dotta opened this issue Jan 23, 2020 · 1 comment

Comments

@dotta
Copy link
Member

dotta commented Jan 23, 2020

I had an exchange with a prospect who is using the latest (4.3.1) scala-maven-plugin and downgrading to 3.2.2 is too much effort (e.g., incremental compilation doesn't work when using Java9+ - davidB#217). We agreed I'd reach backthe moment we have an updated release.

@dotta
Copy link
Member Author

dotta commented Jan 24, 2020

And it turns out that the scala-maven-plugin 3.2.2 is incompatible with maven-compiler-plugin 3.1+ if a project has mixed Scala and Java sources. In this scenario, no binaries for the Java sources are produced. The workaround is to downgrade the version of the maven-compiler-plugin to 3.0 (or older). This can be seen in practice here: https://github.com/dotta/scala-maven-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant