-
Notifications
You must be signed in to change notification settings - Fork 6
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
definePluginList should be optional #7
Comments
@Andrei-Pozolotin I hope you don't mind all those feature requests, I thought some feedback might be helpful. Thanks a lot for this great work!!! |
|
@Andrei-Pozolotin I still have the NPE after upgrading to 1.2.4.20180216045618: |
|
Here are the logs with the NPE stacktrace. Please let me know if you need a pom.xml (I'll have to clean up mine). |
build section looks like this: <build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<skip>true</skip>
<skipMain>true</skipMain>
</configuration>
</plugin>
<plugin>
<groupId>com.carrotgarden.maven</groupId>
<artifactId>scalor-maven-plugin_2.12</artifactId>
<version>1.2.4.20180216045618</version>
<configuration>
<!-- Extra logging for demonstration purposes. -->
<zincLogSourcesList>true</zincLogSourcesList>
<zincLogProjectClassPath>true</zincLogProjectClassPath>
<zincLogCompilerClassPath>true</zincLogCompilerClassPath>
<zincLogCompilerPluginList>true</zincLogCompilerPluginList>
<!-- <linkerLogRuntime>true</linkerLogRuntime> -->
<!-- <linkerLogOptions>true</linkerLogOptions> -->
<!-- <linkerLogClassPath>true</linkerLogClassPath> -->
<linkerLogBuildStats>true</linkerLogBuildStats>
<linkerLogUpdateResult>true</linkerLogUpdateResult>
<envconfLogConfig>true</envconfLogConfig>
<!-- <eclipseLogBuildParticipant>true</eclipseLogBuildParticipant> -->
<defineBridge>
<dependency>
<groupId>org.scala-sbt</groupId>
<artifactId>compiler-bridge_${version.scala.major}</artifactId>
<version>${version.scala.zinc}</version>
</dependency>
</defineBridge>
<defineCompiler>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${version.scala.release}</version>
</dependency>
</defineCompiler>
<!-- <definePluginList></definePluginList> uncomment to remove NPE-->
</configuration>
<executions>
<execution>
<goals>
<goal>eclipse-config</goal>
<goal>eclipse-restart</goal>
<goal>eclipse-prescomp</goal>
<goal>register-main</goal>
<goal>register-test</goal>
<goal>compile-main</goal>
<goal>compile-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build> |
ok, fixing |
please try again 1.2.4 |
Looking good now, thanks a lot! |
Most projects won't compile any ScalaJs nor macros.
It would be convenient that the
<definePluginList>
configuration block isn't mandatory.Currently, it needs to be defined, even if it's empty (
<definePluginList></definePluginList>
) otherwise the plugin crashes with a NPE.The text was updated successfully, but these errors were encountered: