Comments (7)
try
<zincVerifyVersion>false</zincVerifyVersion>
https://random-maven.github.io/scalor-maven-plugin/2.12/compile-main-mojo.html#zincVerifyVersion
from scalor-maven-plugin.
Thanks, my project builds with that.
A couple of small related questions (I'm happy to file separate issues if you prefer): 1. is it possible to pass a JVM parameter to the compiler? I'd like to use -Dkp:genAsciiNames=true
to configure kind-projector behaviour. 2. The eclipse scala compiler configuration doesn't seem to pick up the arguments from <zincCompileOptions>
, should it? e.g. I have -language:higherKinds
in the maven config but I had to manually add it to the "Additional command line parameters" box in the eclipse Scala Compiler page of the project settings, otherwise I get warnings in Eclipse.
from scalor-maven-plugin.
- is it possible to pass a JVM parameter to the compiler
- will be supported in 1.4.0
- please file a separate issue
- I have -language:higherKinds in the maven config
- looks like a bug, should pick up from
zincCompileOptions
- try to re-order entires in
zincCompileOptions
, see if makes any difference - please file a separate issue
- please attach content of
${project.basedir}/.settings/org.scala-ide.sdt.core.prefs
from scalor-maven-plugin.
For 2. the project settings seem to not be changed by a re-run of the plugin? So I don't think I can test the reordering or reproduce the problem consistently enough to make a usable bug report, but by the same token it's not a significant problem for me (was assuming I'd have to manually change it after every regenerate but it looks like I don't).
from scalor-maven-plugin.
- please verify fix in fresh 1.4.0:
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12 - working project example for reference:
https://github.com/random-maven/scalor-maven-plugin/blob/develop/demo/pom.xml#L240
https://github.com/random-maven/scalor-maven-plugin/blob/develop/demo/pom.xml#L316 - a way to test is:
- delete
${project.basedir}/.settings/...
- issue from menu:
${project} -> Maven -> Update Project ...
from scalor-maven-plugin.
Confirmed working in that 1.4.0 build, many thanks.
from scalor-maven-plugin.
resolved https://github.com/random-maven/scalor-maven-plugin/releases/tag/1.4.0.20180329174003
from scalor-maven-plugin.
Related Issues (20)
- work around nsc.Settings ignoring `-D` user-set state HOT 6
- proper implementation for `scala.compiler.additionalParams` HOT 3
- use separate source regex for compile and scaladoc HOT 14
- use constant default options for JavaC and ScalaC HOT 4
- validate compile phases HOT 3
- mysterious encoding during flatten:flatten HOT 13
- zinc server HOT 1
- document windows build setup HOT 3
- Problems compiling twirl-templates HOT 1
- Provide Scala.js sbt plugin to Maven translation guide
- Provide Scala.js sbt plugin to Scalor mapping guide
- Scala library doesn't get picked if it's in test scope HOT 3
- Plugin thinks default target is 1.8, but is 1.6 when compiling for Scala 2.11.12 HOT 1
- Better advanced usage link HOT 2
- Bloop support HOT 2
- Scala source code to javadoc HOT 5
- Scala 3 Support
- Build Not Working Due to Bintray
- how to use in idea for scala.js?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalor-maven-plugin.