0

I'm trying to get a project that uses gmaven-plugin to compile in Eclipse. When I import the project into Eclipse using the Maven Import I get the error shown below.

enter image description here

After the project finishes importing, I'm left with these Java compile errors (The errors persist if I select one of the MVN profiles):

enter image description here

(The errors persist if I select one of the MVN profiles.)

I’m not sure if the two are related???

I get errors if I try to install this:

http://dist.springsource.org/release/GRECLIPSE/e4.2/

This installs but I still get the same import and compile errors for my project:

https://marketplace.eclipse.org/category/free-tagging/groovy

Snippet from pom.xml is below.

Full project is at

https://github.com/OHDSI/WebAPI

  <plugin>
    <groupId>org.codehaus.gmaven</groupId>
    <artifactId>gmaven-plugin</artifactId>
    <version>1.5</version>
    <executions>
      <execution>
        <id>add-git-branch-info</id>
        <phase>generate-resources</phase>
        <goals>
          <goal>execute</goal>
        </goals>
        <configuration>
          <source>
            if (project.properties.getProperty("git.branch") == null) project.properties.setProperty("git.branch", "*");
            if (project.properties.getProperty("git.commit.id.abbrev") == null) project.properties.setProperty("git.commit.id.abbrev", "*");
          </source>
        </configuration>
      </execution>
    </executions>
  </plugin>

How can these issues be resolved?

John
  • 3,458
  • 4
  • 33
  • 54

0 Answers0