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
Groovy eclipse compiler maven plugin and groovy-eclipse-batch for java8 #246
Comments
We are working towards a release. I'm hopeful that it will be before the end of the year. I will talk to Andy about releasing the batch compiler artifacts at that time as well. |
A release of the groovy-eclipse-batch plugin would be very nice indeed. |
Are there any updates on a release of the groovy-eclipse-batch artifact? There are compilation bugs fixed since 2.4.3 that make my IDE pass compilation (due to use of Groovy 2.4.12), but then fail in Maven due to groovy-eclipse-batch being 2.4.3-01. Is it possible to reconstruct a groovy-eclipse-batch JAR from the nightly Eclipse snapshots? The build process from scratch seemed fairly time consuming. |
If you mean you want to locally patch the maven jar with eclipse jar contents, that should be possible, shouldn't be too tricky. (unjar what you want to use, jar -uvf the batch jar in your mvn cache) - not exactly robust though. Unfortunately we've had no cycles to look at rebuilding/republishing the groovy-eclipse-batch artifact ourselves. |
@astral303 I managed to get the batch artifact build running locally. I don't have the steps to get it out to Maven Central yet, but you could install this to your local maven repository (under repository/org/codehaus/groovy/groovy-eclipse-batch). See next comment for instructions on getting the latest snapshot builds from bintray. |
I think I have the publishing into bintray working. Could you try out groovy-eclipse-batch 2.4.12-01 and 2.4.12-02 to see if either will compile your project properly? You can link to it by adding this to your POM: <pluginRepositories>
...
<pluginRepository>
<id>bintray</id>
<name>Groovy Bintray</name>
<url>https://dl.bintray.com/groovy/maven</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories> |
Can confirm that this solved the problem that I was having at least. It no longer chokes when compiling certain java parts of my code. |
Are there any plans to release a groovy eclipse compiler maven artifact (etc) so that we can use the maven compiler plugin to compile groovy 2.4.x and java 8 files at the same time?
The text was updated successfully, but these errors were encountered: