1

I tried to import a maven multimodule project that worked with eclipse luna into eclipse mars. This multi-module maven project has no source folder in eclipse mars, the dependencies are also not present:

Missing dependencies and source folder in eclipse mars

I can't add the src/main/java folder as a source folder:

No build path actions available

Other maven multi module projects do work. The difference with this project is that it uses the groovy-eclipse-compiler:

<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-eclipse-compiler</artifactId>
            <version>2.9.2-01</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-eclipse-batch</artifactId>
            <version>2.4.3-01</version>
            <scope>compile</scope>
          </dependency>
        </dependencies>
        <configuration>
          <compilerId>groovy-eclipse-compiler</compilerId>
          <fork>true</fork>
          <verbose>false</verbose>
          <source>1.7</source>
          <target>1.7</target>
          <encoding>UTF-8</encoding>
          <showDeprecation>true</showDeprecation>
          <verbose />
        </configuration>
      </plugin>

To have the correct groovy tooling in eclipse I installed groovy-eclipse from the update site:

Groovy Eclipse 2.9.2 snapshot builds for Eclipse 4.5 are available, update site http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/

What can I do so eclipse mars recognizes this maven project correctly?

Mark
  • 590
  • 7
  • 17
  • 1
    I did exactly that, but what do you mean by correct project type? It's a maven project, so import it as a maven project.. – Mark Aug 06 '15 at 08:59
  • 1
    After the import 'as maven project' I should be able to choose "configure->convert to groovy project" . But this option is not available! – Mark Aug 06 '15 at 09:19
  • 1
    I opened an issue for this on the groovy-eclipse github page: https://github.com/groovy/groovy-eclipse/issues/130 , but I guess the project has been orphaned. – Mark Aug 06 '15 at 09:27

1 Answers1

0

This seems to be a groovy-eclipse bug. I opened an issue on the github page: github.com/groovy/groovy-eclipse/issues/130 , but I guess the project has been orphaned, which is a real shame :( !

Mark
  • 590
  • 7
  • 17