Coder Social home page Coder Social logo

Comments (7)

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

try

<zincVerifyVersion>false</zincVerifyVersion>

https://random-maven.github.io/scalor-maven-plugin/2.12/compile-main-mojo.html#zincVerifyVersion

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

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.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024
  1. is it possible to pass a JVM parameter to the compiler
  • will be supported in 1.4.0
  • please file a separate issue
  1. 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.

m50d avatar m50d commented on June 23, 2024

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.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

@m50d

  1. please verify fix in fresh 1.4.0:
    https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12
  2. 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
  3. a way to test is:
  • delete ${project.basedir}/.settings/...
  • issue from menu: ${project} -> Maven -> Update Project ...

from scalor-maven-plugin.

m50d avatar m50d commented on June 23, 2024

Confirmed working in that 1.4.0 build, many thanks.

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

resolved https://github.com/random-maven/scalor-maven-plugin/releases/tag/1.4.0.20180329174003

from scalor-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.