Comments (10)
@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!!!
from scalor-maven-plugin.
- ok, fixing
- your feedback is good, please keep sharing
from scalor-maven-plugin.
-
here is logic:
https://github.com/random-maven/scalor-maven-plugin/blob/develop/src/main/scala/com/carrotgarden/maven/scalor/base/Params.scala#L303 -
try 1.2.4
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12
from scalor-maven-plugin.
@Andrei-Pozolotin I still have the NPE after upgrading to 1.2.4.20180216045618:
from scalor-maven-plugin.
-
can not reproduce, need a trace
-
try to activate Eclipse Error Log view, see if trace is there
https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-error_log_view.htm -
try to activate Eclipse Maven Console, see if trace is there
https://www.ibm.com/support/knowledgecenter/SS8PJ7_9.1.0/com.ibm.etools.maven.doc/topics/troubleshooting.html -
try to attach here zip of fresh Eclipse session log with error trace
[workspace]/.metadata/.log
- ensure full trace is in fact enabled for Eclipse JVM
https://stackoverflow.com/questions/2411487/nullpointerexception-in-java-with-no-stacktrace
-XX:-OmitStackTraceInFastThrow
from scalor-maven-plugin.
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).
from scalor-maven-plugin.
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>
from scalor-maven-plugin.
ok, fixing
from scalor-maven-plugin.
please try again 1.2.4
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12
from scalor-maven-plugin.
Looking good now, thanks a lot!
from scalor-maven-plugin.
Related Issues (20)
- relax plugin version verification rules HOT 7
- 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.