Skip to content
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

Closed
steveash opened this issue Dec 15, 2016 · 7 comments
Closed

Comments

@steveash
Copy link

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?

@eric-milles
Copy link
Member

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.

@PascalSchumacher
Copy link
Member

A release of the groovy-eclipse-batch plugin would be very nice indeed.

@astral303
Copy link

astral303 commented Jul 26, 2017

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.

@aclement
Copy link
Contributor

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.

@eric-milles
Copy link
Member

eric-milles commented Jul 29, 2017

@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.

@eric-milles
Copy link
Member

eric-milles commented Aug 10, 2017

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>

@DevInsanity
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants